From f1ef8c64cb5f8939b8cf2eaba1bdba592ee8c40e Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Mon, 7 Sep 2020 22:36:24 +1000 Subject: [PATCH] Make *.ReflectionCache.Asm props private --- src/BizHawk.Client.Common/ReflectionCache.cs | 2 +- src/BizHawk.Client.EmuHawk/ReflectionCache.cs | 2 +- src/BizHawk.Emulation.Common/ReflectionCache.cs | 2 +- src/BizHawk.Emulation.Cores/ReflectionCache.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BizHawk.Client.Common/ReflectionCache.cs b/src/BizHawk.Client.Common/ReflectionCache.cs index 9d15954685..d9c1d21370 100644 --- a/src/BizHawk.Client.Common/ReflectionCache.cs +++ b/src/BizHawk.Client.Common/ReflectionCache.cs @@ -7,7 +7,7 @@ namespace BizHawk.Client.Common { private static readonly Lazy _types = new Lazy(() => Asm.GetTypes()); - public static readonly Assembly Asm = typeof(ReflectionCache).Assembly; + private static readonly Assembly Asm = typeof(ReflectionCache).Assembly; public static Type[] Types => _types.Value; } diff --git a/src/BizHawk.Client.EmuHawk/ReflectionCache.cs b/src/BizHawk.Client.EmuHawk/ReflectionCache.cs index c34d5f73a6..5d0da14365 100644 --- a/src/BizHawk.Client.EmuHawk/ReflectionCache.cs +++ b/src/BizHawk.Client.EmuHawk/ReflectionCache.cs @@ -11,7 +11,7 @@ namespace BizHawk.Client.EmuHawk { private static readonly Lazy _types = new Lazy(() => 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; diff --git a/src/BizHawk.Emulation.Common/ReflectionCache.cs b/src/BizHawk.Emulation.Common/ReflectionCache.cs index 49f091642e..f10d87347c 100644 --- a/src/BizHawk.Emulation.Common/ReflectionCache.cs +++ b/src/BizHawk.Emulation.Common/ReflectionCache.cs @@ -7,7 +7,7 @@ namespace BizHawk.Emulation.Common { private static readonly Lazy _types = new Lazy(() => Asm.GetTypes()); - public static readonly Assembly Asm = typeof(ReflectionCache).Assembly; + private static readonly Assembly Asm = typeof(ReflectionCache).Assembly; public static Type[] Types => _types.Value; } diff --git a/src/BizHawk.Emulation.Cores/ReflectionCache.cs b/src/BizHawk.Emulation.Cores/ReflectionCache.cs index 1528cbec50..669d8aa775 100644 --- a/src/BizHawk.Emulation.Cores/ReflectionCache.cs +++ b/src/BizHawk.Emulation.Cores/ReflectionCache.cs @@ -8,7 +8,7 @@ namespace BizHawk.Emulation.Cores { private static readonly Lazy _types = new Lazy(() => Asm.GetTypes()); - public static readonly Assembly Asm = typeof(ReflectionCache).Assembly; + private static readonly Assembly Asm = typeof(ReflectionCache).Assembly; public static Type[] Types => _types.Value;