chore: ignore CA1810
This commit is contained in:
parent
d203c0bbe4
commit
4c87d4f429
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ public static class BinaryReader<T> where T : new()
|
||||||
{
|
{
|
||||||
public static readonly Func<BinaryReader, T> Read;
|
public static readonly Func<BinaryReader, T> Read;
|
||||||
|
|
||||||
#pragma warning disable MA0051
|
#pragma warning disable MA0051, CA1810
|
||||||
static BinaryReader()
|
static BinaryReader()
|
||||||
#pragma warning restore MA0051
|
#pragma warning restore MA0051, CA1810
|
||||||
{
|
{
|
||||||
var type = typeof(T);
|
var type = typeof(T);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue