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)
{
using (var stream = storage?.GetStream(filename))