1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 15:12:57 +08:00

Annotate potentially null parameters in protected ctor of LegacySkin

This commit is contained in:
Dean Herbert 2020-12-22 12:08:40 +09:00
parent 85518b4d99
commit 13ef097a53

View File

@ -58,7 +58,7 @@ namespace osu.Game.Skinning
{ {
} }
protected LegacySkin(SkinInfo skin, IResourceStore<byte[]> storage, IStorageResourceProvider resources, string filename) protected LegacySkin(SkinInfo skin, [CanBeNull] IResourceStore<byte[]> storage, [CanBeNull] IStorageResourceProvider resources, string filename)
: base(skin) : base(skin)
{ {
using (var stream = storage?.GetStream(filename)) using (var stream = storage?.GetStream(filename))