Make *.ReflectionCache.Asm props private

This commit is contained in:
YoshiRulz 2020-09-07 22:36:24 +10:00
parent f7ccb7dfca
commit f1ef8c64cb
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
4 changed files with 4 additions and 4 deletions
src
BizHawk.Client.Common
BizHawk.Client.EmuHawk
BizHawk.Emulation.Common
BizHawk.Emulation.Cores

View File

@ -7,7 +7,7 @@ namespace BizHawk.Client.Common
{
private static readonly Lazy<Type[]> _types = new Lazy<Type[]>(() => Asm.GetTypes());
public static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
private static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
public static Type[] Types => _types.Value;
}

View File

@ -11,7 +11,7 @@ namespace BizHawk.Client.EmuHawk
{
private static readonly Lazy<Type[]> _types = new Lazy<Type[]>(() => Asm.GetTypesWithoutLoadErrors().ToArray());
public static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
private static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
public static Type[] Types => _types.Value;

View File

@ -7,7 +7,7 @@ namespace BizHawk.Emulation.Common
{
private static readonly Lazy<Type[]> _types = new Lazy<Type[]>(() => Asm.GetTypes());
public static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
private static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
public static Type[] Types => _types.Value;
}

View File

@ -8,7 +8,7 @@ namespace BizHawk.Emulation.Cores
{
private static readonly Lazy<Type[]> _types = new Lazy<Type[]>(() => Asm.GetTypes());
public static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
private static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
public static Type[] Types => _types.Value;