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:
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)
|
: base(skin)
|
||||||
{
|
{
|
||||||
using (var stream = storage?.GetStream(filename))
|
using (var stream = storage?.GetStream(filename))
|
||||||
|
Loading…
Reference in New Issue
Block a user