@@ -395,6 +395,16 @@ dotnet_diagnostic.CA1512.severity = warning
395395# Enabled: True, Severity: suggestion
396396dotnet_diagnostic.CA1513.severity = warning
397397
398+ # CA1514: Avoid redundant length argument
399+ # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1514
400+ # Enabled: True, Severity: suggestion
401+ dotnet_diagnostic.CA1514.severity = suggestion
402+
403+ # CA1515: Consider making public types internal
404+ # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515
405+ # Enabled: False, Severity: warning
406+ dotnet_diagnostic.CA1515.severity = none
407+
398408# CA1700: Do not name enum values 'Reserved'
399409# Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700
400410# Enabled: False, Severity: warning
@@ -781,6 +791,16 @@ dotnet_diagnostic.CA1869.severity = warning
781791# Enabled: True, Severity: suggestion
782792dotnet_diagnostic.CA1870.severity = warning
783793
794+ # CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull'
795+ # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1871
796+ # Enabled: True, Severity: suggestion
797+ dotnet_diagnostic.CA1871.severity = suggestion
798+
799+ # CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString'
800+ # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1872
801+ # Enabled: True, Severity: suggestion
802+ dotnet_diagnostic.CA1872.severity = suggestion
803+
784804# CA2000: Dispose objects before losing scope
785805# Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000
786806# Enabled: False, Severity: warning
@@ -864,6 +884,11 @@ dotnet_diagnostic.CA2020.severity = warning
864884# Enabled: True, Severity: warning
865885dotnet_diagnostic.CA2021.severity = warning
866886
887+ # CA2022: Avoid inexact read with 'Stream.Read'
888+ # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022
889+ # Enabled: True, Severity: warning
890+ dotnet_diagnostic.CA2022.severity = warning
891+
867892# CA2100: Review SQL queries for security vulnerabilities
868893# Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100
869894# Enabled: False, Severity: warning
@@ -1091,6 +1116,26 @@ dotnet_diagnostic.CA2260.severity = warning
10911116# Enabled: True, Severity: warning
10921117dotnet_diagnostic.CA2261.severity = warning
10931118
1119+ # CA2262: Set 'MaxResponseHeadersLength' properly
1120+ # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2262
1121+ # Enabled: True, Severity: suggestion
1122+ dotnet_diagnostic.CA2262.severity = suggestion
1123+
1124+ # CA2263: Prefer generic overload when type is known
1125+ # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263
1126+ # Enabled: True, Severity: suggestion
1127+ dotnet_diagnostic.CA2263.severity = suggestion
1128+
1129+ # CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull'
1130+ # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2264
1131+ # Enabled: True, Severity: warning
1132+ dotnet_diagnostic.CA2264.severity = warning
1133+
1134+ # CA2265: Do not compare Span<T> to 'null' or 'default'
1135+ # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265
1136+ # Enabled: True, Severity: warning
1137+ dotnet_diagnostic.CA2265.severity = warning
1138+
10941139# CA2300: Do not use insecure deserializer BinaryFormatter
10951140# Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2300
10961141# Enabled: False, Severity: warning
0 commit comments