diff --git a/Wonderking/Game/Reader/BinaryReader.cs b/Wonderking/Game/Reader/BinaryReader.cs index 8709336..24330aa 100644 --- a/Wonderking/Game/Reader/BinaryReader.cs +++ b/Wonderking/Game/Reader/BinaryReader.cs @@ -8,9 +8,9 @@ public static class BinaryReader where T : new() { public static readonly Func Read; -#pragma warning disable MA0051 +#pragma warning disable MA0051, CA1810 static BinaryReader() -#pragma warning restore MA0051 +#pragma warning restore MA0051, CA1810 { var type = typeof(T);