diff options
author | Stephen Toub <stoub@microsoft.com> | 2022-05-01 13:22:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-01 13:22:11 +0300 |
commit | 71a73fb24c604818ce0a8d9a23659ebfe96431ad (patch) | |
tree | b1a812dc5779ee985dca689801849df5b9ef58f5 /eng/CodeAnalysis.test.globalconfig | |
parent | 9299bc47f060b822807a88f729b5c1944104417a (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.test.globalconfig')
-rw-r--r-- | eng/CodeAnalysis.test.globalconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eng/CodeAnalysis.test.globalconfig b/eng/CodeAnalysis.test.globalconfig index 7f9e5c481f3..97bf6113e88 100644 --- a/eng/CodeAnalysis.test.globalconfig +++ b/eng/CodeAnalysis.test.globalconfig @@ -405,6 +405,9 @@ dotnet_diagnostic.CA1851.severity = none # CA1852: Seal internal types dotnet_diagnostic.CA1852.severity = none +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + # CA2000: Dispose objects before losing scope dotnet_diagnostic.CA2000.severity = none @@ -792,7 +795,7 @@ dotnet_diagnostic.CA5383.severity = none # CA5384: Do Not Use Digital Signature Algorithm (DSA) dotnet_diagnostic.CA5384.severity = none -# CA5385: Use Rivest–Shamir–Adleman (RSA) Algorithm With Sufficient Key Size +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size dotnet_diagnostic.CA5385.severity = none # CA5386: Avoid hardcoding SecurityProtocolType value |