chore: ignore CA1810

This commit is contained in:
Timothy Schenk 2024-03-02 14:49:54 +01:00
parent d203c0bbe4
commit 4c87d4f429
Signed by: rainote
SSH key fingerprint: SHA256:pnkNSDwpAnaip00xaZlVFHKKsS7T8UtOomMzvs0yITE

View file

@ -8,9 +8,9 @@ public static class BinaryReader<T> where T : new()
{
public static readonly Func<BinaryReader, T> 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);