mirror of
https://github.com/ppy/osu
synced 2025-01-02 12:22:13 +00:00
Annotate potentially null parameters in protected ctor of LegacySkin
This commit is contained in:
parent
85518b4d99
commit
13ef097a53
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user