From 4c87d4f42935f2f359c2749832675a0dcfd89e00 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Sat, 2 Mar 2024 14:49:54 +0100 Subject: [PATCH] chore: ignore CA1810 --- Wonderking/Game/Reader/BinaryReader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);