@@ -92,6 +92,18 @@ dotnet_diagnostic.CA1305.severity = warning
92
92
# CA1507: Use nameof to express symbol names
93
93
dotnet_diagnostic.CA1507.severity = warning
94
94
95
+ # CA1510: Use ArgumentNullException throw helper
96
+ dotnet_diagnostic.CA1510.severity = warning
97
+
98
+ # CA1511: Use ArgumentException throw helper
99
+ dotnet_diagnostic.CA1511.severity = warning
100
+
101
+ # CA1512: Use ArgumentOutOfRangeException throw helper
102
+ dotnet_diagnostic.CA1512.severity = warning
103
+
104
+ # CA1513: Use ObjectDisposedException throw helper
105
+ dotnet_diagnostic.CA1513.severity = warning
106
+
95
107
# CA1725: Parameter names should match base declaration
96
108
dotnet_diagnostic.CA1725.severity = suggestion
97
109
@@ -187,6 +199,18 @@ dotnet_diagnostic.CA1852.severity = warning
187
199
# CA1854: Prefer the IDictionary.TryGetValue(TKey, out TValue) method
188
200
dotnet_diagnostic.CA1854.severity = warning
189
201
202
+ # CA1855: Prefer 'Clear' over 'Fill'
203
+ dotnet_diagnostic.CA1855.severity = warning
204
+
205
+ # CA1856: Incorrect usage of ConstantExpected attribute
206
+ dotnet_diagnostic.CA1856.severity = error
207
+
208
+ # CA1857: A constant is expected for the parameter
209
+ dotnet_diagnostic.CA1857.severity = warning
210
+
211
+ # CA1858: Use 'StartsWith' instead of 'IndexOf'
212
+ dotnet_diagnostic.CA1858.severity = warning
213
+
190
214
# CA2007: Consider calling ConfigureAwait on the awaited task
191
215
dotnet_diagnostic.CA2007.severity = warning
192
216
@@ -295,6 +319,14 @@ dotnet_diagnostic.IDE2000.severity = warning
295
319
dotnet_diagnostic.CA1018.severity = suggestion
296
320
# CA1507: Use nameof to express symbol names
297
321
dotnet_diagnostic.CA1507.severity = suggestion
322
+ # CA1510: Use ArgumentNullException throw helper
323
+ dotnet_diagnostic.CA1510.severity = suggestion
324
+ # CA1511: Use ArgumentException throw helper
325
+ dotnet_diagnostic.CA1511.severity = suggestion
326
+ # CA1512: Use ArgumentOutOfRangeException throw helper
327
+ dotnet_diagnostic.CA1512.severity = suggestion
328
+ # CA1513: Use ObjectDisposedException throw helper
329
+ dotnet_diagnostic.CA1513.severity = suggestion
298
330
# CA1802: Use literals where appropriate
299
331
dotnet_diagnostic.CA1802.severity = suggestion
300
332
# CA1805: Do not initialize unnecessarily
@@ -333,6 +365,14 @@ dotnet_diagnostic.CA1847.severity = suggestion
333
365
dotnet_diagnostic.CA1852.severity = suggestion
334
366
# CA1854: Prefer the IDictionary.TryGetValue(TKey, out TValue) method
335
367
dotnet_diagnostic.CA1854.severity = suggestion
368
+ # CA1855: Prefer 'Clear' over 'Fill'
369
+ dotnet_diagnostic.CA1855.severity = suggestion
370
+ # CA1856: Incorrect usage of ConstantExpected attribute
371
+ dotnet_diagnostic.CA1856.severity = suggestion
372
+ # CA1857: A constant is expected for the parameter
373
+ dotnet_diagnostic.CA1857.severity = suggestion
374
+ # CA1858: Use 'StartsWith' instead of 'IndexOf'
375
+ dotnet_diagnostic.CA1858.severity = suggestion
336
376
# CA2007: Consider calling ConfigureAwait on the awaited task
337
377
dotnet_diagnostic.CA2007.severity = suggestion
338
378
# CA2008: Do not create tasks without passing a TaskScheduler
0 commit comments