diff --git a/BinaryObjectScanner.Protection/_DUMMY.cs b/BinaryObjectScanner.Protection/_DUMMY.cs new file mode 100644 index 00000000..55785198 --- /dev/null +++ b/BinaryObjectScanner.Protection/_DUMMY.cs @@ -0,0 +1,7 @@ +namespace BinaryObjectScanner.Protection +{ + /// + /// This class exists for reflection purposes and should not be used + /// + public sealed class _DUMMY { } +} diff --git a/BurnOutSharp/ScanningClasses.cs b/BurnOutSharp/ScanningClasses.cs index 26e43a84..e8173b3c 100644 --- a/BurnOutSharp/ScanningClasses.cs +++ b/BurnOutSharp/ScanningClasses.cs @@ -9,7 +9,6 @@ namespace BurnOutSharp /// /// Statically-generated lists of scanning classes /// - /// TODO: Create a dummy class to use instead of Zzxzz internal static class ScanningClasses { #region Public Collections @@ -121,7 +120,7 @@ namespace BurnOutSharp /// Initialize all implementations of a type /// private static IEnumerable InitCheckClasses() - => InitCheckClasses(Assembly.GetExecutingAssembly()).Concat(InitCheckClasses(typeof(BinaryObjectScanner.Protection.Zzxzz).Assembly)); + => InitCheckClasses(Assembly.GetExecutingAssembly()).Concat(InitCheckClasses(typeof(BinaryObjectScanner.Protection._DUMMY).Assembly)); /// /// Initialize all implementations of a type