Fix CA1865
This commit is contained in:
committed by
Pavel Penev
parent
9f526610dd
commit
2ea2106eca
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user