Make *.ReflectionCache.Asm props private
This commit is contained in:
parent
f7ccb7dfca
commit
f1ef8c64cb
src
BizHawk.Client.Common
BizHawk.Client.EmuHawk
BizHawk.Emulation.Common
BizHawk.Emulation.Cores
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue