Fix CA2263

This commit is contained in:
RoosterDragon
2024-11-13 19:03:26 +00:00
committed by Pavel Penev
parent 332ab244a7
commit e2296ad2d1
6 changed files with 8 additions and 5 deletions

View File

@@ -1043,6 +1043,9 @@ dotnet_diagnostic.CA2251.severity = warning
# Ensure ThreadStatic is only used with static fields.
dotnet_diagnostic.CA2259.severity = suggestion # TODO: Change to warning once using .NET 7 or later.
# Prefer generic overload when type is known.
dotnet_diagnostic.CA2263.severity = none # TODO: Change to warning once mono is dropped.
# Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull'.
dotnet_diagnostic.CA2264.severity = warning