Fix CA1864

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

View File

@@ -858,6 +858,9 @@ dotnet_diagnostic.CA1858.severity = warning
# Avoid using 'Enumerable.Any()' extension method.
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.
# Cache and reuse 'JsonSerializerOptions' instances.
dotnet_diagnostic.CA1869.severity = suggestion # TODO: Change to warning once using .NET 8 or later.