We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 506869c commit d043df0Copy full SHA for d043df0
.globalconfig
@@ -558,6 +558,10 @@ dotnet_diagnostic.CA2015.severity = warning
558
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016
559
dotnet_diagnostic.CA2016.severity = suggestion
560
561
+# CA2021: Do not call Enumerable.Cast<T> or Enumerable.OfType<T> with incompatible types
562
+# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021
563
+dotnet_diagnostic.CA2021.severity = warning
564
+
565
# CA2100: Review SQL queries for security vulnerabilities
566
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100
567
dotnet_diagnostic.CA2100.severity = none
0 commit comments