Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2022-05-01 13:22:11 +0300
committerGitHub <noreply@github.com>2022-05-01 13:22:11 +0300
commit71a73fb24c604818ce0a8d9a23659ebfe96431ad (patch)
treeb1a812dc5779ee985dca689801849df5b9ef58f5 /eng/CodeAnalysis.src.globalconfig
parent9299bc47f060b822807a88f729b5c1944104417a (diff)
Update Microsoft.CodeAnalysis.NetAnalyzers version (#68724)
- Delete some now unnecessary pragmas - Enable the new Dictionary.ContainsKey guard rule - Address on violation of the new rule
Diffstat (limited to 'eng/CodeAnalysis.src.globalconfig')
-rw-r--r--eng/CodeAnalysis.src.globalconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/eng/CodeAnalysis.src.globalconfig b/eng/CodeAnalysis.src.globalconfig
index 28c477315bb..839a4e0f4a1 100644
--- a/eng/CodeAnalysis.src.globalconfig
+++ b/eng/CodeAnalysis.src.globalconfig
@@ -408,6 +408,9 @@ dotnet_diagnostic.CA1851.severity = suggestion
# CA1852: Seal internal types
dotnet_diagnostic.CA1852.severity = warning
+# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)'
+dotnet_diagnostic.CA1853.severity = warning
+
# CA2000: Dispose objects before losing scope
dotnet_diagnostic.CA2000.severity = none