Skip to content

Commit f1ef8c6

Browse files
committed
Make *.ReflectionCache.Asm props private
1 parent f7ccb7d commit f1ef8c6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/BizHawk.Client.Common/ReflectionCache.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public static class ReflectionCache
77
{
88
private static readonly Lazy<Type[]> _types = new Lazy<Type[]>(() => Asm.GetTypes());
99

10-
public static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
10+
private static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
1111

1212
public static Type[] Types => _types.Value;
1313
}

src/BizHawk.Client.EmuHawk/ReflectionCache.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public static class ReflectionCache
1111
{
1212
private static readonly Lazy<Type[]> _types = new Lazy<Type[]>(() => Asm.GetTypesWithoutLoadErrors().ToArray());
1313

14-
public static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
14+
private static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
1515

1616
public static Type[] Types => _types.Value;
1717

src/BizHawk.Emulation.Common/ReflectionCache.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public static class ReflectionCache
77
{
88
private static readonly Lazy<Type[]> _types = new Lazy<Type[]>(() => Asm.GetTypes());
99

10-
public static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
10+
private static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
1111

1212
public static Type[] Types => _types.Value;
1313
}

src/BizHawk.Emulation.Cores/ReflectionCache.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public static class ReflectionCache
88
{
99
private static readonly Lazy<Type[]> _types = new Lazy<Type[]>(() => Asm.GetTypes());
1010

11-
public static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
11+
private static readonly Assembly Asm = typeof(ReflectionCache).Assembly;
1212

1313
public static Type[] Types => _types.Value;
1414

0 commit comments

Comments
 (0)