mirror of https://github.com/dotnet/runtime
Add CA 2021 into CodeAnalysis config (#82649)
This commit is contained in:
parent
07c2ea0646
commit
e26e33f98a
|
@ -516,6 +516,9 @@ dotnet_diagnostic.CA2019.severity = warning
|
|||
# CA2020: Prevent behavioral changes
|
||||
dotnet_diagnostic.CA2020.severity = warning
|
||||
|
||||
# CA2021: Do not call Enumerable.Cast<T> or Enumerable.OfType<T> with incompatible types
|
||||
dotnet_diagnostic.CA2021.severity = warning
|
||||
|
||||
# CA2100: Review SQL queries for security vulnerabilities
|
||||
dotnet_diagnostic.CA2100.severity = none
|
||||
|
||||
|
|
|
@ -513,6 +513,9 @@ dotnet_diagnostic.CA2019.severity = none
|
|||
# CA2020: Prevent behavioral changes
|
||||
dotnet_diagnostic.CA2020.severity = none
|
||||
|
||||
# CA2021: Do not call Enumerable.Cast<T> or Enumerable.OfType<T> with incompatible types
|
||||
dotnet_diagnostic.CA2021.severity = none
|
||||
|
||||
# CA2100: Review SQL queries for security vulnerabilities
|
||||
dotnet_diagnostic.CA2100.severity = none
|
||||
|
||||
|
|
Loading…
Reference in New Issue