Fix CA1865

This commit is contained in:
RoosterDragon
2023-11-15 19:09:09 +00:00
committed by Pavel Penev
parent 9f526610dd
commit 2ea2106eca
4 changed files with 8 additions and 3 deletions

View File

@@ -861,6 +861,11 @@ dotnet_diagnostic.CA1860.severity = warning
# Prefer the 'IDictionary.TryAdd(TKey, TValue)' method.
dotnet_diagnostic.CA1864.severity = suggestion # TODO: Change to warning once using .NET 8 or later.
# Use 'string.Method(char)' instead of 'string.Method(string)' for string with single char.
dotnet_diagnostic.CA1865.severity = suggestion # TODO: Change to warning once using .NET 8 or later.
dotnet_diagnostic.CA1866.severity = suggestion # TODO: Change to warning once using .NET 8 or later.
dotnet_diagnostic.CA1867.severity = suggestion # TODO: Change to warning once using .NET 8 or later.
# Cache and reuse 'JsonSerializerOptions' instances.
dotnet_diagnostic.CA1869.severity = suggestion # TODO: Change to warning once using .NET 8 or later.