-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.globalconfig
More file actions
602 lines (602 loc) · 69.5 KB
/
Copy path.globalconfig
File metadata and controls
602 lines (602 loc) · 69.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
# Maintain in repo: funfair-server-template
csharp_prefer_braces = true:warning
csharp_preferred_modifier_order = public, private, protected, internal, file, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, required, volatile, async:error
csharp_style_var_elsewhere = false:error
csharp_style_var_for_built_in_types = false:error
csharp_style_var_when_type_is_apparent = false:error
dotnet_code_quality.PH2092.max_operators = 10 # Code Quality Settings
dotnet_diagnostic.CA1001.severity = none # Microsoft.Design - CA1001 - Types that own disposable fields should be disposable
dotnet_diagnostic.CA1002.severity = none # Microsoft.Design - CA1002 - Do not expose generic lists
dotnet_diagnostic.CA1003.severity = error # Microsoft.Design - CA1003 - Use generic event handler instances
dotnet_diagnostic.CA1005.severity = none # Microsoft.Design - CA1005 - Avoid excessive parameters on generic types
dotnet_diagnostic.CA1008.severity = none # Microsoft.Design - C1A008 - Flags Enum should have an enum called 'None' with a value 0
dotnet_diagnostic.CA1009.severity = error # Microsoft.Design - CA1009 - Declare event handlers correctly
dotnet_diagnostic.CA1012.severity = error # Microsoft.Design - CA1012 - Abstract types should not have public constructors
dotnet_diagnostic.CA1014.severity = none # Microsoft.Design - CA1014 - Mark assemblies with CLSCompliant
dotnet_diagnostic.CA1016.severity = error # Microsoft.Design - CA1016 - Mark assemblies with AssemblyVersionAttribute
dotnet_diagnostic.CA1018.severity = error # Microsoft.Design - CA1018 - Mark attributes with AttributeUsageAttribute
dotnet_diagnostic.CA1019.severity = none # Microsoft.Design - CA1019 - Define accessors for attribute arguments
dotnet_diagnostic.CA1025.severity = error # Microsoft.Design - CA1025 - Replace repetitive arguments with params array
dotnet_diagnostic.CA1027.severity = none # Microsoft.Design - CA1027 - Mark enums with FlagsAttribute
dotnet_diagnostic.CA1028.severity = error # Microsoft.Design - CA1028 - Enum storage should be Int32
dotnet_diagnostic.CA1030.severity = none # Microsoft.Design - CA1030 - Use events where appropriate
dotnet_diagnostic.CA1031.severity = none # Microsoft.Design - CA1031 - Do not catch general exception types
dotnet_diagnostic.CA1033.severity = none # Microsoft.Design - CA1033 - Interface methods should be callable by child types
dotnet_diagnostic.CA1034.severity = error # Microsoft.Design - CA1034 - Nested types should not be visible
dotnet_diagnostic.CA1036.severity = error # Microsoft.Design - CA1036 - Override methods on comparable types
dotnet_diagnostic.CA1040.severity = none # Microsoft.Design - CA1040 - Avoid empty interfaces
dotnet_diagnostic.CA1041.severity = error # Microsoft.Design - CA1041 - Provide ObsoleteAttribute message
dotnet_diagnostic.CA1043.severity = error # Microsoft.Design - CA1043 - Use Integral or String argument for indexers
dotnet_diagnostic.CA1044.severity = error # Microsoft.Design - CA1044 - Properties should not be write only
dotnet_diagnostic.CA1047.severity = error # Microsoft.Design - CA1047 - Do not declare protected member in sealed type
dotnet_diagnostic.CA1048.severity = error # Microsoft.Design - CA1048 - Do not declare virtual members in sealed types
dotnet_diagnostic.CA1049.severity = error # Microsoft.Design - CA1049 - Types that own native resources should be disposable
dotnet_diagnostic.CA1050.severity = error # Microsoft.Design - CA1050 - Declare types in namespaces
dotnet_diagnostic.CA1051.severity = error # Microsoft.Design - CA1051 - Do not declare visible instance fields
dotnet_diagnostic.CA1052.severity = error # Microsoft.Design - CA1052 - Static holder types should be Static or NotInheritable
dotnet_diagnostic.CA1053.severity = error # Microsoft.Design - CA1053 - Static holder types should not have constructors
dotnet_diagnostic.CA1054.severity = none # Microsoft.Design - CA1054 - URI parameters should not be strings
dotnet_diagnostic.CA1055.severity = error # Microsoft.Design - CA1055 - URI return values should not be strings
dotnet_diagnostic.CA1056.severity = error # Microsoft.Design - CA1056 - URI properties should not be strings
dotnet_diagnostic.CA1057.severity = error # Microsoft.Design - CA1057 - String URI overloads call System.Uri overloads
dotnet_diagnostic.CA1058.severity = error # Microsoft.Design - CA1058 - Types should not extend certain base types
dotnet_diagnostic.CA1059.severity = error # Microsoft.Design - CA1059 - Members should not expose certain concrete types
dotnet_diagnostic.CA1060.severity = error # Microsoft.Design - CA1060 - Move P/Invokes to NativeMethods class
dotnet_diagnostic.CA1061.severity = error # Microsoft.Design - CA1061 - Do not hide base class methods
dotnet_diagnostic.CA1062.severity = none # Microsoft.Design - CA1062 - Validate arguments of public methods
dotnet_diagnostic.CA1063.severity = error # Microsoft.Design - CA1063 - Implement IDisposable correctly
dotnet_diagnostic.CA1064.severity = error # Microsoft.Design - CA1064 - Exceptions should be public
dotnet_diagnostic.CA1065.severity = error # Microsoft.Design - CA1065 - Do not raise exceptions in unexpected locations
dotnet_diagnostic.CA1301.severity = error # Microsoft.Globalization - CA1301 - Avoid duplicate accelerators
dotnet_diagnostic.CA1303.severity = none # Microsoft.Globalization - CA1303 - Do not pass literals as localized parameters
dotnet_diagnostic.CA1305.severity = none # Microsoft.Globalization - CA1305 - Specify IFormatProvider
dotnet_diagnostic.CA1306.severity = error # Microsoft.Globalization - CA1306 - Set locale for data types
dotnet_diagnostic.CA1307.severity = none # Microsoft.Globalization - CA1307 - Specify StringComparison for clarity
dotnet_diagnostic.CA1308.severity = none # Microsoft.Globalization - CA1308 - Normalize strings to uppercase
dotnet_diagnostic.CA1309.severity = error # Microsoft.Globalization - CA1309 - Use ordinal StringComparison
dotnet_diagnostic.CA1400.severity = error # Microsoft.Interoperability - CA1400 - P/Invoke entry points should exist
dotnet_diagnostic.CA1401.severity = error # Microsoft.Interoperability - CA1401 - P/Invokes should not be visible
dotnet_diagnostic.CA1403.severity = error # Microsoft.Interoperability - CA1403 - Auto layout types should not be COM visible
dotnet_diagnostic.CA1404.severity = error # Microsoft.Interoperability - CA1404 - Call GetLastWin32Error immediately after P/Invoke
dotnet_diagnostic.CA1405.severity = error # Microsoft.Interoperability - CA1405 - COM visible type base types should be COM visible
dotnet_diagnostic.CA1410.severity = error # Microsoft.Interoperability - CA1410 - COM registration methods should be matched
dotnet_diagnostic.CA1415.severity = error # Microsoft.Interoperability - CA1415 - Declare P/Invokes correctly
dotnet_diagnostic.CA1501.severity = none # Microsoft.Maintainability - CA1501 - Avoid excessive inheritance
dotnet_diagnostic.CA1502.severity = error # Microsoft.Maintainability - CA1502 - Avoid excessive complexity
dotnet_diagnostic.CA1504.severity = error # Microsoft.Maintainability - CA1504 - Review misleading field names
dotnet_diagnostic.CA1505.severity = error # Microsoft.Maintainability - CA1505 - Avoid unmaintainable code
dotnet_diagnostic.CA1506.severity = none # Microsoft.Maintainability - CA1506 - Avoid excessive class coupling
dotnet_diagnostic.CA1515.severity = suggestion # Microsoft.Maintainability CA1515 - Because an application's API isn't typically referenced from outside the assembly, types can be made internal
dotnet_diagnostic.CA1600.severity = error # Microsoft.Performance - CA1600 - Do not use idle process priority
dotnet_diagnostic.CA1601.severity = error # Microsoft.Performance - CA1601 - Do not use timers that prevent power state changes
dotnet_diagnostic.CA1700.severity = error # Microsoft.Naming - CA1700 - Do not name enum values 'Reserved'
dotnet_diagnostic.CA1707.severity = none # Microsoft.Naming - CA1707 - Identifiers should not contain underscores
dotnet_diagnostic.CA1710.severity = none # Microsoft.Naming - CA1710 - Identifiers should have correct suffix
dotnet_diagnostic.CA1712.severity = none # Microsoft.Naming - CA1712 - Do not prefix enum values with type name
dotnet_diagnostic.CA1716.severity = none # Microsoft.Naming - CA1716 - Identifiers should not match keywords
dotnet_diagnostic.CA1717.severity = none # Microsoft.Naming - CA1717 - Only FlagsAttribute enums should have plural names
dotnet_diagnostic.CA1724.severity = none # Microsoft.Naming - CA1724 - Type names should not match namespaces
dotnet_diagnostic.CA1800.severity = error # Microsoft.Performance - CA1800 - Do not cast unnecessarily
dotnet_diagnostic.CA1801.severity = error # Microsoft.Usage - CA1801 - Review unused parameters
dotnet_diagnostic.CA1802.severity = error # Microsoft.Performance - CA1802 - Use literals where appropriate
dotnet_diagnostic.CA1803.severity = error # Microsoft.Performance - CA1803 - Use Task.CompletedTask instead of Task.FromResult
dotnet_diagnostic.CA1804.severity = error # Microsoft.Performance - CA1804 - Remove unused locals
dotnet_diagnostic.CA1805.severity = error # Microsoft.Performance - CA1805 - Do not initialize unnecessarily
dotnet_diagnostic.CA1806.severity = error # Microsoft.Usage - CA1806 - Do not ignore method results
dotnet_diagnostic.CA1807.severity = error # Microsoft.Performance - CA1807 - Review unused fields
dotnet_diagnostic.CA1808.severity = error # Microsoft.Performance - CA1808 - Review unused properties
dotnet_diagnostic.CA1809.severity = error # Microsoft.Performance - CA1809 - Avoid excessive locals
dotnet_diagnostic.CA1810.severity = error # Microsoft.Performance - CA1810 - Initialize reference type static fields inline
dotnet_diagnostic.CA1811.severity = error # Microsoft.Performance - CA1811 - Avoid uncalled private code
dotnet_diagnostic.CA1812.severity = error # Microsoft.Performance - CA1812 - Avoid uninstantiated internal classes
dotnet_diagnostic.CA1813.severity = error # Microsoft.Performance - CA1813 - Avoid unsealed attributes
dotnet_diagnostic.CA1814.severity = error # Microsoft.Performance - CA1814 - Prefer jagged arrays over multidimensional
dotnet_diagnostic.CA1815.severity = error # Microsoft.Performance - CA1815 - Override equals and operator equals on value types
dotnet_diagnostic.CA1816.severity = error # Microsoft.Usage - CA1816 - Call GC.SuppressFinalize correctly
dotnet_diagnostic.CA1819.severity = none # Microsoft.Performance - CA1819 - Properties should not return arrays
dotnet_diagnostic.CA1820.severity = error # Microsoft.Performance - CA1820 - Test for empty strings using string length
dotnet_diagnostic.CA1821.severity = error # Microsoft.Performance - CA1821 - Remove empty Finalizers
dotnet_diagnostic.CA1822.severity = error # Microsoft.Performance - CA1822 - Mark members as static
dotnet_diagnostic.CA1823.severity = error # Microsoft.Performance - CA1823 - Avoid unused private fields
dotnet_diagnostic.CA1826.severity = none # Microsoft.Performance - CA1826 - Do not use Enumerable methods on indexable collections
dotnet_diagnostic.CA1848.severity = none # Microsoft.Performance - CA1848 - For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogXXX(ILogger, string?, params object?[])' #TODO: Review
dotnet_diagnostic.CA1859.severity = none # Microsoft.Performance - CA1859 - For improved performance, use the concrete type X instead of base class or interface'
dotnet_diagnostic.CA1900.severity = error # Microsoft.Portability - CA1900 - Value type fields should be portable
dotnet_diagnostic.CA1901.severity = error # Microsoft.Portability - CA1901 - P/Invoke declarations should be portable
dotnet_diagnostic.CA2000.severity = error # Microsoft.Reliability - CA2000 - Dispose objects before losing scope
dotnet_diagnostic.CA2001.severity = error # Microsoft.Reliability - CA2001 - Avoid calling problematic methods
dotnet_diagnostic.CA2002.severity = error # Microsoft.Reliability - CA2002 - Do not lock on objects with weak identity
dotnet_diagnostic.CA2003.severity = error # Microsoft.Reliability - CA2003 - Do not re-throw to possibly lose stack trace
dotnet_diagnostic.CA2004.severity = error # Microsoft.Reliability - CA2004 - Remove calls to GC.KeepAlive
dotnet_diagnostic.CA2006.severity = error # Microsoft.Reliability - CA2006 - Use SafeHandle to encapsulate native resources
dotnet_diagnostic.CA2007.severity = none # Microsoft.Reliability - CA2007 - Do not directly await a Task
dotnet_diagnostic.CA2008.severity = none # Microsoft.Reliability - CA2008 - Do not create tasks without passing a TaskScheduler
dotnet_diagnostic.CA2100.severity = error # Microsoft.Security - CA2100 - Review SQL queries for security vulnerabilities
dotnet_diagnostic.CA2101.severity = error # Microsoft.Security - CA2101 - Specify marshaling for P/Invoke string arguments
dotnet_diagnostic.CA2108.severity = error # Microsoft.Security - CA2108 - Review declarative security on value types
dotnet_diagnostic.CA2111.severity = error # Microsoft.Security - CA2111 - Pointers should not be visible
dotnet_diagnostic.CA2112.severity = error # Microsoft.Security - CA2112 - Secured types should not expose fields
dotnet_diagnostic.CA2114.severity = error # Microsoft.Security - CA2114 - Method security should be a superset of type
dotnet_diagnostic.CA2116.severity = error # Microsoft.Security - CA2116 - APTCA methods should only call APTCA methods
dotnet_diagnostic.CA2117.severity = error # Microsoft.Security - CA2117 - APTCA types should only extend APTCA base types
dotnet_diagnostic.CA2119.severity = error # Microsoft.Security - CA2119 - Seal methods that satisfy private interfaces
dotnet_diagnostic.CA2121.severity = error # Microsoft.Security - CA2121 - Static constructors should be private
dotnet_diagnostic.CA2122.severity = error # Microsoft.Security - CA2122 - Do not indirectly expose methods with link demands
dotnet_diagnostic.CA2123.severity = error # Microsoft.Security - CA2123 - Override link demands should be identical to base
dotnet_diagnostic.CA2124.severity = error # Microsoft.Security - CA2124 - Wrap vulnerable finally clauses in outer try block
dotnet_diagnostic.CA2126.severity = error # Microsoft.Security - CA2126 - Type link demands should be identical to base
dotnet_diagnostic.CA2131.severity = error # Microsoft.Security - CA2131 - Security critical types may not participate in type equivalence
dotnet_diagnostic.CA2132.severity = error # Microsoft.Security - CA2132 - Default constructors must be at least as critical as base
dotnet_diagnostic.CA2133.severity = error # Microsoft.Security - CA2133 - Delegates must bind to methods with consistent transparency
dotnet_diagnostic.CA2134.severity = error # Microsoft.Security - CA2134 - Methods must keep consistent transparency when overriding
dotnet_diagnostic.CA2137.severity = error # Microsoft.Security - CA2137 - Transparent methods must contain only verifiable IL
dotnet_diagnostic.CA2138.severity = error # Microsoft.Security - CA2138 - Transparent methods must not call methods with SuppressUnmanagedCodeSecurity
dotnet_diagnostic.CA2140.severity = error # Microsoft.Security - CA2140 - Transparent code must not reference security critical items
dotnet_diagnostic.CA2141.severity = error # Microsoft.Security - CA2141 - Transparent methods must not satisfy LinkDemands
dotnet_diagnostic.CA2146.severity = error # Microsoft.Security - CA2146 - Types must be at least as critical as their base types and interfaces
dotnet_diagnostic.CA2147.severity = error # Microsoft.Security - CA2147 - Transparent methods may not use security asserts
dotnet_diagnostic.CA2149.severity = error # Microsoft.Security - CA2149 - Transparent methods must not call into native code
dotnet_diagnostic.CA2200.severity = error # Microsoft.Usage - CA2200 - Rethrow to preserve stack details
dotnet_diagnostic.CA2201.severity = error # Microsoft.Usage - CA2201 - Do not raise reserved exception types
dotnet_diagnostic.CA2202.severity = error # Microsoft.Usage - CA2202 - Do not dispose objects multiple times
dotnet_diagnostic.CA2205.severity = error # Microsoft.Usage - CA2205 - Use managed equivalents of Win32 API
dotnet_diagnostic.CA2207.severity = error # Microsoft.Usage - CA2207 - Initialize value type static fields inline
dotnet_diagnostic.CA2208.severity = error # Microsoft.Usage - CA2208 - Instantiate argument exceptions correctly
dotnet_diagnostic.CA2211.severity = error # Microsoft.Usage - CA2211 - Non-constant fields should not be visible
dotnet_diagnostic.CA2212.severity = error # Microsoft.Usage - CA2212 - Do not mark serviced components with WebMethod
dotnet_diagnostic.CA2213.severity = error # Microsoft.Usage - CA2213 - Disposable fields should be disposed
dotnet_diagnostic.CA2214.severity = error # Microsoft.Usage - CA2214 - Do not call overridable members in constructors
dotnet_diagnostic.CA2215.severity = error # Microsoft.Usage - CA2215 - Dispose methods should call base class dispose
dotnet_diagnostic.CA2216.severity = error # Microsoft.Usage - CA2216 - Disposable types should declare finalizer
dotnet_diagnostic.CA2217.severity = none # Microsoft.Usage - CA2217 - Do not mark enums with FlagsAttribute
dotnet_diagnostic.CA2218.severity = error # Microsoft.Usage - CA2218 - Override GetHashCode on overriding Equals
dotnet_diagnostic.CA2219.severity = error # Microsoft.Usage - CA2219 - Do not raise exceptions in finally clauses
dotnet_diagnostic.CA2220.severity = error # Microsoft.Usage - CA2220 - Finalizers should call base class finalizer
dotnet_diagnostic.CA2221.severity = error # Microsoft.Usage - CA2221 - Finalizers should be protected
dotnet_diagnostic.CA2224.severity = error # Microsoft.Usage - CA2224 - Override Equals on overloading operator equals
dotnet_diagnostic.CA2225.severity = none # Microsoft.Usage - CA2225 - Operator overloads have named alternates
dotnet_diagnostic.CA2226.severity = error # Microsoft.Usage - CA2226 - Operators should have symmetrical overloads
dotnet_diagnostic.CA2227.severity = none # Microsoft.Usage - CA2227 - Collection properties should be read only
dotnet_diagnostic.CA2229.severity = error # Microsoft.Usage - CA2229 - Implement serialization constructors
dotnet_diagnostic.CA2230.severity = error # Microsoft.Usage - CA2230 - Use params for variable arguments
dotnet_diagnostic.CA2231.severity = error # Microsoft.Usage - CA2231 - Overload operator equals on overriding value type Equals
dotnet_diagnostic.CA2232.severity = error # Microsoft.Usage - CA2232 - Mark Windows Forms entry points with STAThread
dotnet_diagnostic.CA2233.severity = error # Microsoft.Usage - CA2233 - Operations should not overflow
dotnet_diagnostic.CA2234.severity = error # Microsoft.Usage - CA2234 - Pass system uri objects instead of strings
dotnet_diagnostic.CA2235.severity = error # Microsoft.Usage - CA2235 - Mark all non-serializable fields
dotnet_diagnostic.CA2236.severity = error # Microsoft.Usage - CA2236 - Call base class methods on ISerializable types
dotnet_diagnostic.CA2237.severity = error # Microsoft.Usage - CA2237 - Mark ISerializable types with SerializableAttribute
dotnet_diagnostic.CA2238.severity = error # Microsoft.Usage - CA2238 - Implement serialization methods correctly
dotnet_diagnostic.CA2240.severity = error # Microsoft.Usage - CA2240 - Implement ISerializable correctly
dotnet_diagnostic.CA2241.severity = error # Microsoft.Usage - CA2241 - Provide correct arguments to formatting methods
dotnet_diagnostic.CA2242.severity = error # Microsoft.Usage - CA2242 - Test for NaN correctly
dotnet_diagnostic.CA2254.severity = none # Microsoft.Usage - CA2242 - The logging message template should not vary between calls to 'LoggerExtensions.LogXXX(ILogger, string?, params object?[])
dotnet_diagnostic.CC0001.severity = none # codecracker.CSharp - CC0001 - Use var instead of specifying type name
dotnet_diagnostic.CC0021.severity = none # codecracker.CSharp - CC0021 - use nameof(X) rather than "X"
dotnet_diagnostic.CC0022.severity = none # codecracker.CSharp - CC0022 - X should be disposed
dotnet_diagnostic.CC0031.severity = none # codecracker.CSharp - CC0031 - Validate delegates for null before using
dotnet_diagnostic.CC0057.severity = none # codecracker.CSharp - CC0057 - Review unused parameters
dotnet_diagnostic.CC0072.severity = none # codecracker.CSharp - CC0072 - Remove 'Async' suffix
dotnet_diagnostic.CC0105.severity = none # codecracker.CSharp - CC0105 - Use var instead of specifying type name
dotnet_diagnostic.CSE001.severity = error # SmartAnalyzers.CSharpExtensions.Annotations - CSE001 - Required properties initialization
dotnet_diagnostic.CSE002.severity = error # SmartAnalyzers.CSharpExtensions.Annotations - CSE002 - InitOnly member modification
dotnet_diagnostic.CSE003.severity = error # SmartAnalyzers.CSharpExtensions.Annotations - CSE003 - Type should have the same fields as twin type
dotnet_diagnostic.CSE004.severity = error # SmartAnalyzers.CSharpExtensions.Annotations - CSE004 - Member with InitOnlyOptional requires default value
dotnet_diagnostic.CSE005.severity = suggestion # SmartAnalyzers.CSharpExtensions.Annotations - CSE005 - Use the return value or discard it explicitly
dotnet_diagnostic.CSE006.severity = suggestion # SmartAnalyzers.CSharpExtensions.Annotations - CSE006 - Expression too complex
dotnet_diagnostic.CSE007.severity = error # SmartAnalyzers.CSharpExtensions.Annotations - CSE007 - Return disposable value unused
dotnet_diagnostic.CSE008.severity = error # SmartAnalyzers.CSharpExtensions.Annotations - CSE008 - Return async result unused
dotnet_diagnostic.CSE009.severity = error # SmartAnalyzers.CSharpExtensions.Annotations - CSE009 - Task variable not awaited
dotnet_diagnostic.CSIsNull001.severity = error # CSharpIsNull - CSIsNull001 - catch uses of == null
dotnet_diagnostic.CSIsNull002.severity = error # CSharpIsNull - CSIsNull002 to catch uses of != null
dotnet_diagnostic.FFS0001.severity = error # FunFair.CodeAnalysis - FFS0001 - Avoid using DateTime.Now - Use an injected System.TimeProvider.GetLocalNow().LocalDateTime
dotnet_diagnostic.FFS0002.severity = error # FunFair.CodeAnalysis - FFS0002 - Avoid using DateTime.UtcNow - Use an injected System.TimeProvider.GetUtcNow().UtcDateTime
dotnet_diagnostic.FFS0003.severity = error # FunFair.CodeAnalysis - FFS0003 - Avoid using DateTime.Today - Use an injected System.TimeProvider.GetLocalNow().Date
dotnet_diagnostic.FFS0004.severity = error # FunFair.CodeAnalysis - FFS0004 - Avoid using DateTimeOffset.Now - Use an injected System.TimeProvider.GetLocalNow()
dotnet_diagnostic.FFS0005.severity = error # FunFair.CodeAnalysis - FFS0005 - Avoid using DateTimeOffset.UtcNow - Use an injected System.TimeProvider.GetUtcNow()
dotnet_diagnostic.FFS0006.severity = error # FunFair.CodeAnalysis - FFS0006 - Avoid using arbitrary SQL for updates
dotnet_diagnostic.FFS0007.severity = error # FunFair.CodeAnalysis - FFS0007 - Avoid using arbitrary SQL for queries
dotnet_diagnostic.FFS0008.severity = error # FunFair.CodeAnalysis - FFS0008 - Do not disable warnings
dotnet_diagnostic.FFS0009.severity = error # FunFair.CodeAnalysis - FFS0009 - Do not use Assert.True without specifying a message
dotnet_diagnostic.FFS0010.severity = error # FunFair.CodeAnalysis - FFS0010 - Do not use Assert.False without specifying a message
dotnet_diagnostic.FFS0011.severity = error # FunFair.CodeAnalysis - FFS0011 - Make structs readonly
dotnet_diagnostic.FFS0012.severity = error # FunFair.CodeAnalysis - FFS0012 - Classes should be static, sealed or abstract
dotnet_diagnostic.FFS0013.severity = error # FunFair.CodeAnalysis - FFS0013 - Test Classes should be sealed or abstract and derived from TestBase
dotnet_diagnostic.FFS0014.severity = error # FunFair.CodeAnalysis - FFS0014 - Do not use JsonSerialiser without specifying JsonOptions
dotnet_diagnostic.FFS0015.severity = error # FunFair.CodeAnalysis - FFS0015 - Do not use JsonDeserialiser without specifying JsonOptions
dotnet_diagnostic.FFS0016.severity = error # FunFair.CodeAnalysis - FFS0016 - Pass parameter name to ArgumentExceptions
dotnet_diagnostic.FFS0017.severity = error # FunFair.CodeAnalysis - FFS0017 - Pass inner exception to exceptions thrown in catch block
dotnet_diagnostic.FFS0018.severity = error # FunFair.CodeAnalysis - FFS0018 - Don't use NSubstitute's Received() without specifying the number of calls
dotnet_diagnostic.FFS0019.severity = error # FunFair.CodeAnalysis - FFS0019 - ILogger parameters should be called logger
dotnet_diagnostic.FFS0020.severity = error # FunFair.CodeAnalysis - FFS0020 - Parameters should be in a specified order
dotnet_diagnostic.FFS0021.severity = error # FunFair.CodeAnalysis - FFS0021 - Don't use NSubstitute's Received(0) - use DidNotReceive() instead
dotnet_diagnostic.FFS0022.severity = error # FunFair.CodeAnalysis - FFS0022 - Don't configure nullable in code - should be a project level.
dotnet_diagnostic.FFS0023.severity = error # FunFair.CodeAnalysis - FFS0023 - Logger parameters on base classes should be ILogger not ILogger<ClassName>
dotnet_diagnostic.FFS0024.severity = error # FunFair.CodeAnalysis - FFS0024 - Logger parameters on leaf classes should be ILogger<ClassName> not ILogger
dotnet_diagnostic.FFS0025.severity = error # FunFair.CodeAnalysis - FFS0025 - Mismatch of generic type
dotnet_diagnostic.FFS0026.severity = error # FunFair.CodeAnalysis - FFS0026 - Do not read IPAddress from Connection - use an abstraction
dotnet_diagnostic.FFS0027.severity = error # FunFair.CodeAnalysis - FFS0027 - SuppressMessage must specify a justification
dotnet_diagnostic.FFS0028.severity = error # FunFair.CodeAnalysis - FFS0028 - Records should be sealed
dotnet_diagnostic.FFS0029.severity = error # FunFair.CodeAnalysis - FFS0029 - Classes derived from MockBase<T> should be internal
dotnet_diagnostic.FFS0030.severity = error # FunFair.CodeAnalysis - FFS0030 - Classes derived from MockBase<T> should be sealed
dotnet_diagnostic.FFS0031.severity = error # FunFair.CodeAnalysis - FFS0031 - Avoid using System.Collections.Concurrent.ConcurrentDictionary<,> - Use NonBlocking.ConcurrentDictionary<,>
dotnet_diagnostic.FFS0032.severity = error # FunFair.CodeAnalysis - FFS0032 - Avoid using NonBlocing.ConcurrentDictionary<,>.AddOrUpdate - Use FunFair.Common.Extensions.ConcurrentDictionaryExtensions.AddOrUpdate
dotnet_diagnostic.FFS0033.severity = error # FunFair.CodeAnalysis - FFS0033 - Avoid using NonBlocing.ConcurrentDictionary<,>.GetOrAdd - Use FunFair.Common.Extensions.ConcurrentDictionaryExtensions.GetOrAdd
dotnet_diagnostic.FFS0034.severity = error # FunFair.CodeAnalysis - FFS0034 - Avoid using Microsoft.Extensions.Configuration.ConfigurationBuilder.AddJsonFile with reload set to true
dotnet_diagnostic.FFS0035.severity = error # FunFair.CodeAnalysis - FFS0035 - Checks that test classes do not define mutable fields
dotnet_diagnostic.FFS0036.severity = error # FunFair.CodeAnalysis - FFS0036 - Checks that test classes do not define mutable properties
dotnet_diagnostic.FFS0037.severity = error # FunFair.CodeAnalysis - FFS0037 - Checks that Guid.Parse is not used and that new Guid or Guid.TryParse is used instead
dotnet_diagnostic.FFS0038.severity = error # FunFair.CodeAnalysis - FFS0038 - Records should have DebuggerDisplay attribute on them.
dotnet_diagnostic.FFS0039.severity = error # FunFair.CodeAnalysis - FFS0039 - Only one type should be defined per file. (note class T and class T{T1} are considered ok)
dotnet_diagnostic.FFS0040.severity = suggestion # FunFair.CodeAnalysis - FFS0040 - File should have the same name as the type that is defined in it
dotnet_diagnostic.FFS0041.severity = error # FunFair.CodeAnalysis - FFS0041 - Do not use System.Console in test assemblies
dotnet_diagnostic.FFS0042.severity = suggestion # FunFair.CodeAnalysis - FFS0042 - Do not have TODO's in SuppressMessage justifications.
dotnet_diagnostic.FFS0043.severity = error # FunFair.CodeAnalysis - FFS0043 - Do not use ``StringComparer.InvariantCulture`` use ``StringComparer.Ordinal`` instead.
dotnet_diagnostic.FFS0044.severity = error # FunFair.CodeAnalysis - FFS0044 - Do not use ``StringComparer.InvariantCultureIgnoreCase`` use ``StringComparer.OrdinalIgnoreCase`` instead.
dotnet_diagnostic.FFS0045.severity = error # FunFair.CodeAnalysis - FFS0045 - Do not use ``StringCompaison.InvariantCulture`` use ``StringCompaison.Ordinal`` instead.
dotnet_diagnostic.FFS0046.severity = error # FunFair.CodeAnalysis - FFS0046 - Do not use ``StringCompaison.InvariantCultureIgnoreCase`` use ``StringCompaison.OrdinalIgnoreCase`` instead.
dotnet_diagnostic.FFS0047.severity = error # FunFair.CodeAnalysis - FFS0047 - Do not use ``StringCompaison.CurrentCulture`` use ``StringCompaison.Ordinal`` instead.
dotnet_diagnostic.FFS0048.severity = error # FunFair.CodeAnalysis - FFS0048 - Do not use ``StringCompaison.CurrentCultureIgnoreCase`` use ``StringCompaison.OrdinalIgnoreCase`` instead.
dotnet_diagnostic.FFS0049.severity = suggestion # FunFair.CodeAnalysis - FFS0049 - ``SuppressMessage`` is not permitted for this warning.
dotnet_diagnostic.FFS0050.severity = error # Do not use ``string.Equals(x, y, StringComparison.<type>)`` - use ``StringComparer.<type>.Equals(x, y)`` instead. |
dotnet_diagnostic.FFS0051.severity = error # Do not use ``InternalsVisibleTo`` - internal types should not be exposed to other assemblies. |
dotnet_diagnostic.FFS0052.severity = error # Avoid direct use of ``Substitute.For<T>()`` in classes derived from ``TestBase`` - use ``GetSubstitute<T>()`` instead. |
dotnet_diagnostic.FFS0053.severity = error # Avoid direct use of ``Substitute.For<ILogger<T>>()`` in classes derived from ``TestBase`` - use ``this.GetTypedLogger<T>()`` instead. |
dotnet_diagnostic.FFS0054.severity = error # Avoid registering ``Substitute.For<T>()`` with ``IServiceCollection.AddSingleton<T>()`` in classes derived from ``TestBase`` - use ``serviceCollection.AddMockedService<T>()`` instead. |
dotnet_diagnostic.IDE0001.severity = error # Microsoft.IDE - IDE0001 - Simplify name
dotnet_diagnostic.IDE0002.severity = error # Microsoft.IDE - IDE0002 - Simplify member access
dotnet_diagnostic.IDE0004.severity = error # Microsoft.IDE - IDE0004 - Remove unnecessary cast
dotnet_diagnostic.IDE0005.severity = none # Microsoft.IDE - IDE0005 - Enable GenerateDocumentationFile to enable Remove unnecessary usings/imports on build.. except this turns on xmlDocs
dotnet_diagnostic.IDE0010.severity = none # Microsoft.IDE - IDE0010 - Populate all cases of switch
dotnet_diagnostic.IDE0016.severity = none # Microsoft.IDE - IDE0016 - Use throw expression
dotnet_diagnostic.IDE0018.severity = none # Microsoft.IDE - IDE0018 - Inline variable declaration
dotnet_diagnostic.IDE0027.severity = none # Microsoft.IDE - IDE0027 - Use expression body for accessors
dotnet_diagnostic.IDE0028.severity = error # Microsoft.IDE - IDE0028 - Use collection initializers
dotnet_diagnostic.IDE0029.severity = error # Microsoft.IDE - IDE0029 - Null check can be simplified
dotnet_diagnostic.IDE0030.severity = error # Microsoft.IDE - IDE0030 - Null check can be simplified
dotnet_diagnostic.IDE0031.severity = error # Microsoft.IDE - IDE0031 - Use null propagation (IDE0031)
dotnet_diagnostic.IDE0032.severity = error # Microsoft.IDE - IDE0032 - Use auto-implemented property
dotnet_diagnostic.IDE0033.severity = error # Microsoft.IDE - IDE0033 - Use explicitly provided tuple name
dotnet_diagnostic.IDE0034.severity = error # Microsoft.IDE - IDE0034 - Simplify 'default' expression
dotnet_diagnostic.IDE0035.severity = error # Microsoft.IDE - IDE0035 - Remove unreachable code
dotnet_diagnostic.IDE0037.severity = error # Microsoft.IDE - IDE0037 - Use inferred member names
dotnet_diagnostic.IDE0039.severity = error # Microsoft.IDE - IDE0039 - Use local function instead of lambda
dotnet_diagnostic.IDE0041.severity = suggestion # Microsoft.IDE - IDE0041 - Use 'is null' check
dotnet_diagnostic.IDE0042.severity = error # Microsoft.IDE - IDE0042 - Deconstruct variable declaration
dotnet_diagnostic.IDE0045.severity = suggestion # Microsoft.IDE - IDE0045 - Use conditional expression for assignment
dotnet_diagnostic.IDE0046.severity = suggestion # Microsoft.IDE - IDE0046 - Use conditional expression for return
dotnet_diagnostic.IDE0050.severity = suggestion # Microsoft.IDE - IDE0050 - Convert anonymous type to tuple
dotnet_diagnostic.IDE0051.severity = suggestion # Microsoft.IDE - IDE0051 - Remove unused private member
dotnet_diagnostic.IDE0052.severity = suggestion # Microsoft.IDE - IDE0052 - Remove unread private member
dotnet_diagnostic.IDE0054.severity = suggestion # Microsoft.IDE - IDE0054 - Use compound assignment
dotnet_diagnostic.IDE0055.severity = none # Microsoft.IDE - IDE0055 - Fix Formatting
dotnet_diagnostic.IDE0056.severity = error # Microsoft.IDE - IDE0056 - Use index operator
dotnet_diagnostic.IDE0057.severity = error # Microsoft.IDE - IDE0057 - Use range operator
dotnet_diagnostic.IDE0058.severity = suggestion # Microsoft.IDE - IDE0058 - Remove unnecessary expression value
dotnet_diagnostic.IDE0059.severity = suggestion # Microsoft.IDE - IDE0059 - Remove unnecessary value assignment
dotnet_diagnostic.IDE0060.severity = suggestion # Microsoft.IDE - IDE0060 - Remove unused parameter
dotnet_diagnostic.IDE0063.severity = none # Microsoft.IDE - IDE0063 - Using statement can be simplified
dotnet_diagnostic.IDE0070.severity = error # Microsoft.IDE - IDE0070 - Use 'System.HashCode.Combine'
dotnet_diagnostic.IDE0071.severity = error # Microsoft.IDE - IDE0071 - Simplify interpolation
dotnet_diagnostic.IDE0072.severity = none # Microsoft.IDE - IDE0072 - Add missing cases to switch expression
dotnet_diagnostic.IDE0074.severity = error # Microsoft.IDE - IDE0074 - Use compound assignment
dotnet_diagnostic.IDE0075.severity = error # Microsoft.IDE - IDE0075 - Simplify conditional expression
dotnet_diagnostic.IDE0078.severity = error # Microsoft.IDE - IDE0078 - Use pattern matching
dotnet_diagnostic.IDE0079.severity = error # Microsoft.IDE - IDE0079 - Remove unnecessary suppression (doesn't always work)
dotnet_diagnostic.IDE0080.severity = error # Microsoft.IDE - IDE0080 - Remove unnecessary suppression operator
dotnet_diagnostic.IDE0082.severity = error # Microsoft.IDE - IDE0082 - Convert typeof to nameof
dotnet_diagnostic.IDE0090.severity = error # Microsoft.IDE - IDE0090 - Simplify new expression
dotnet_diagnostic.IDE0100.severity = error # Microsoft.IDE - IDE0100 - Remove unnecessary equality operator
dotnet_diagnostic.IDE0110.severity = error # Microsoft.IDE - IDE0110 - Remove unnecessary discard
dotnet_diagnostic.IDE0120.severity = error # Microsoft.IDE - IDE0120 - Simplify LINQ expression
dotnet_diagnostic.IDE0121.severity = error # Microsoft.IDE - IDE0121 - Simplify LINQ type check and cast
dotnet_diagnostic.IDE0130.severity = error # Microsoft.IDE - IDE0130 - Namespace does not match folder structure
dotnet_diagnostic.IDE0150.severity = error # Microsoft.IDE - IDE0150 - Prefer 'null' check over type check
dotnet_diagnostic.IDE0160.severity = none # Microsoft.IDE - IDE0160 - Use block scoped namespace
dotnet_diagnostic.IDE0180.severity = error # Microsoft.IDE - IDE0180 - Use tuple to swap values
dotnet_diagnostic.IDE0200.severity = error # Microsoft.IDE - IDE0200 - Remove unnecessary lambda expression
dotnet_diagnostic.IDE0210.severity = none # Microsoft.IDE - IDE0210 - Convert to top level statements (Program.Main)
dotnet_diagnostic.IDE0220.severity = error # Microsoft.IDE - IDE0220 - Add explicit cast in foreach loop
dotnet_diagnostic.IDE0230.severity = error # Microsoft.IDE - IDE0230 - Use UTF-8 string literal
dotnet_diagnostic.IDE0240.severity = error # Microsoft.IDE - IDE0240 - Nullable directive is redundant
dotnet_diagnostic.IDE0241.severity = error # Microsoft.IDE - IDE0241 - Nullable directive is unnecessary
dotnet_diagnostic.IDE0270.severity = error # Microsoft.IDE - IDE0270 - Null check can be simplified (IDE0270)
dotnet_diagnostic.IDE0290.severity = none # Microsoft.IDE - IDE0290 - Use Primary constructor
dotnet_diagnostic.IDE0300.severity = error # Microsoft.IDE - IDE0300 - Use collection expression for array
dotnet_diagnostic.IDE0301.severity = error # Microsoft.IDE - IDE0301 - Use collection expression for empty
dotnet_diagnostic.IDE0302.severity = error # Microsoft.IDE - IDE0302 - Use collection expression for stack alloc
dotnet_diagnostic.IDE0303.severity = error # Microsoft.IDE - IDE0303 - Use collection expression for Create()
dotnet_diagnostic.IDE0304.severity = error # Microsoft.IDE - IDE0304 - Use collection expression for builder
dotnet_diagnostic.IDE0305.severity = error # Microsoft.IDE - IDE0305 - Use collection expression for fluent
dotnet_diagnostic.IDE0306.severity = error # Microsoft.IDE - IDE0306 - Use collection expression for new
dotnet_diagnostic.IDE0340.severity = error # Microsoft.IDE - IDE0340 - Use unbound generic type
dotnet_diagnostic.IDE0350.severity = error # Microsoft.IDE - IDE0350 - Use implicitly typed lambda
dotnet_diagnostic.MA0001.severity = error # Meziantou.Analyzer - MA0001 - StringComparison is missing information_source
dotnet_diagnostic.MA0002.severity = error # Meziantou.Analyzer - MA0002 - IEqualityComparer<string> or IComparer<string> is missing warning
dotnet_diagnostic.MA0003.severity = none # Meziantou.Analyzer - MA0003 -Add parameter name to improve readability
dotnet_diagnostic.MA0004.severity = none # Meziantou.Analyzer - MA0004 - Use ConfigureAwait(false) as the current SynchronizationContext is not needed
dotnet_diagnostic.MA0005.severity = error # Meziantou.Analyzer - MA0005 - Use Array.Empty<T>()
dotnet_diagnostic.MA0006.severity = error # Meziantou.Analyzer - MA0006 - Use string.Equals instead of the comparison operator
dotnet_diagnostic.MA0007.severity = none # Meziantou.Analyzer - MA0007 - Add a comma after the last value
dotnet_diagnostic.MA0008.severity = error # Meziantou.Analyzer - MA0008 - Add StructLayoutAttribute
dotnet_diagnostic.MA0009.severity = error # Meziantou.Analyzer - MA0009 - Add regex evaluation timeout
dotnet_diagnostic.MA0010.severity = error # Meziantou.Analyzer - MA0010 - Mark attributes with AttributeUsageAttribute
dotnet_diagnostic.MA0011.severity = error # Meziantou.Analyzer - MA0011 - IFormatProvider is missing
dotnet_diagnostic.MA0012.severity = error # Meziantou.Analyzer - MA0012 - Do not raise reserved exception type
dotnet_diagnostic.MA0013.severity = error # Meziantou.Analyzer - MA0013 - Types should not extend System.ApplicationException
dotnet_diagnostic.MA0014.severity = error # Meziantou.Analyzer - MA0014 - Do not raise System.ApplicationException
dotnet_diagnostic.MA0015.severity = error # Meziantou.Analyzer - MA0015 - Specify the parameter name in ArgumentException
dotnet_diagnostic.MA0016.severity = suggestion # Meziantou.Analyzer - MA0016 - Prefer using collection abstraction instead of implementation
dotnet_diagnostic.MA0017.severity = error # Meziantou.Analyzer - MA0017 - Abstract types should not have public or internal constructors
dotnet_diagnostic.MA0018.severity = none # Meziantou.Analyzer - MA0018 - Do not declare static members on generic types (note Use CA1000 instead)
dotnet_diagnostic.MA0019.severity = error # Meziantou.Analyzer - MA0019 - Use EventArgs.Empty warning heavy_check_mark
dotnet_diagnostic.MA0020.severity = error # Meziantou.Analyzer - MA0020 - Use direct methods instead of LINQ methods
dotnet_diagnostic.MA0021.severity = error # Meziantou.Analyzer - MA0021 - Use StringComparer.GetHashCode instead of string.GetHashCode
dotnet_diagnostic.MA0022.severity = error # Meziantou.Analyzer - MA0022 - Return Task.FromResult instead of returning null
dotnet_diagnostic.MA0023.severity = error # Meziantou.Analyzer - MA0023 - Add RegexOptions.ExplicitCapture
dotnet_diagnostic.MA0024.severity = error # Meziantou.Analyzer - MA0024 - Use an explicit StringComparer when possible
dotnet_diagnostic.MA0025.severity = error # Meziantou.Analyzer - MA0025 - Implement the functionality instead of throwing NotImplementedException
dotnet_diagnostic.MA0026.severity = suggestion # Meziantou.Analyzer - MA0026 - Don't leave TODO's scattered around
dotnet_diagnostic.MA0027.severity = error # Meziantou.Analyzer - MA0027 - Prefer rethrowing an exception implicitly
dotnet_diagnostic.MA0028.severity = error # Meziantou.Analyzer - MA0028 - Optimize StringBuilder usage
dotnet_diagnostic.MA0029.severity = error # Meziantou.Analyzer - MA0029 - Combine LINQ methods
dotnet_diagnostic.MA0030.severity = error # Meziantou.Analyzer - MA0030 - Remove useless OrderBy call
dotnet_diagnostic.MA0031.severity = error # Meziantou.Analyzer - MA0031 - Optimize Enumerable.Count() usage
dotnet_diagnostic.MA0032.severity = error # Meziantou.Analyzer - MA0032 - Use an overload with a CancellationToken argument
dotnet_diagnostic.MA0033.severity = error # Meziantou.Analyzer - MA0033 - Do not tag instance fields with ThreadStaticAttribute
dotnet_diagnostic.MA0035.severity = error # Meziantou.Analyzer - MA0035 - Do not use dangerous threading methods
dotnet_diagnostic.MA0036.severity = error # Meziantou.Analyzer - MA0036 - Make class static
dotnet_diagnostic.MA0037.severity = error # Meziantou.Analyzer - MA0037 - Remove empty statement
dotnet_diagnostic.MA0038.severity = none # Meziantou.Analyzer - MA0038 - Make method static
dotnet_diagnostic.MA0039.severity = error # Meziantou.Analyzer - MA0039 - Do not write your own certificate validation method
dotnet_diagnostic.MA0040.severity = error # Meziantou.Analyzer - MA0040 - Forward the CancellationToken parameter to methods that take one
dotnet_diagnostic.MA0041.severity = none # Meziantou.Analyzer - MA0041 - Make property static
dotnet_diagnostic.MA0042.severity = error # Meziantou.Analyzer - MA0042 - Do not use blocking calls in an async method
dotnet_diagnostic.MA0043.severity = error # Meziantou.Analyzer - MA0043 - Use nameof operator in ArgumentException
dotnet_diagnostic.MA0044.severity = error # Meziantou.Analyzer - MA0044 - Remove useless ToString call
dotnet_diagnostic.MA0045.severity = error # Meziantou.Analyzer - MA0045 - Do not use blocking calls in a sync method (need to make calling method async)
dotnet_diagnostic.MA0046.severity = error # Meziantou.Analyzer - MA0046 - Use EventHandler<T> to declare events
dotnet_diagnostic.MA0047.severity = error # Meziantou.Analyzer - MA0047 - Declare types in namespaces
dotnet_diagnostic.MA0048.severity = error # Meziantou.Analyzer - MA0048 - File name must match type name
dotnet_diagnostic.MA0049.severity = error # Meziantou.Analyzer - MA0049 - Type name should not match containing namespace
dotnet_diagnostic.MA0050.severity = error # Meziantou.Analyzer - MA0050 - Validate arguments correctly in iterator methods
dotnet_diagnostic.MA0051.severity = error # Meziantou.Analyzer - MA0051 - Method is too long
dotnet_diagnostic.MA0052.severity = error # Meziantou.Analyzer - MA0052 - Replace constant Enum.ToString with nameof
dotnet_diagnostic.MA0053.severity = error # Meziantou.Analyzer - MA0053 - Make class sealed
dotnet_diagnostic.MA0054.severity = error # Meziantou.Analyzer - MA0054 - Embed the caught exception as innerException
dotnet_diagnostic.MA0055.severity = error # Meziantou.Analyzer - MA0055 - Do not use finalizer
dotnet_diagnostic.MA0056.severity = error # Meziantou.Analyzer - MA0056 - Do not call overridable members in constructor
dotnet_diagnostic.MA0057.severity = error # Meziantou.Analyzer - MA0057 - Class name should end with 'Attribute'
dotnet_diagnostic.MA0058.severity = error # Meziantou.Analyzer - MA0058 - Class name should end with 'Exception'
dotnet_diagnostic.MA0059.severity = error # Meziantou.Analyzer - MA0059 - Class name should end with 'EventArgs'
dotnet_diagnostic.MA0060.severity = error # Meziantou.Analyzer - MA0060 - The value returned by Stream.Read/Stream.ReadAsync is not used
dotnet_diagnostic.MA0061.severity = error # Meziantou.Analyzer - MA0061 - Method overrides should not change default values
dotnet_diagnostic.MA0062.severity = error # Meziantou.Analyzer - MA0062 - Non-flags enums should not be marked with "FlagsAttribute"
dotnet_diagnostic.MA0063.severity = error # Meziantou.Analyzer - MA0063 - Use Where before OrderBy
dotnet_diagnostic.MA0064.severity = error # Meziantou.Analyzer - MA0064 - Avoid locking on publicly accessible instance
dotnet_diagnostic.MA0065.severity = error # Meziantou.Analyzer - MA0065 - Default ValueType.Equals or HashCode is used for struct equality
dotnet_diagnostic.MA0066.severity = error # Meziantou.Analyzer - MA0066 - Hash table unfriendly type is used in a hash table
dotnet_diagnostic.MA0067.severity = error # Meziantou.Analyzer - MA0067 - Use Guid.Empty
dotnet_diagnostic.MA0068.severity = error # Meziantou.Analyzer - MA0068 - Invalid parameter name for nullable attribute
dotnet_diagnostic.MA0069.severity = error # Meziantou.Analyzer - MA0069 - Non-constant static fields should not be visible
dotnet_diagnostic.MA0070.severity = error # Meziantou.Analyzer - MA0070 - Obsolete attributes should include explanations
dotnet_diagnostic.MA0071.severity = error # Meziantou.Analyzer - MA0071 - Avoid using redundant else
dotnet_diagnostic.MA0072.severity = error # Meziantou.Analyzer - MA0072 - Do not throw from a finally block
dotnet_diagnostic.MA0073.severity = error # Meziantou.Analyzer - MA0073 - Avoid comparison with bool constant
dotnet_diagnostic.MA0074.severity = error # Meziantou.Analyzer - MA0074 - Avoid implicit culture-sensitive methods
dotnet_diagnostic.MA0075.severity = error # Meziantou.Analyzer - MA0075 - Do not use implicit culture-sensitive ToString
dotnet_diagnostic.MA0076.severity = none # Meziantou.Analyzer - MA0076 - Do not use implicit culture-sensitive ToString in interpolated strings
dotnet_diagnostic.MA0077.severity = error # Meziantou.Analyzer - MA0077 - A class that provides Equals(T) should implement IEquatable<T>
dotnet_diagnostic.MA0078.severity = error # Meziantou.Analyzer - MA0078 - Use 'Cast' instead of 'Select' to cast
dotnet_diagnostic.MA0079.severity = error # Meziantou.Analyzer - MA0079 - Forward the CancellationToken using .WithCancellation()
dotnet_diagnostic.MA0080.severity = error # Meziantou.Analyzer - MA0080 - Use a cancellation token using .WithCancellation()
dotnet_diagnostic.MA0081.severity = error # Meziantou.Analyzer - MA0081 - Method overrides should not omit params keyword
dotnet_diagnostic.MA0082.severity = error # Meziantou.Analyzer - MA0082 - NaN should not be used in comparisons
dotnet_diagnostic.MA0083.severity = error # Meziantou.Analyzer - MA0083 - ConstructorArgument parameters should exist in constructors
dotnet_diagnostic.MA0084.severity = error # Meziantou.Analyzer - MA0084 - Local variables should not hide other symbols
dotnet_diagnostic.MA0085.severity = error # Meziantou.Analyzer - MA0085 - Anonymous delegates should not be used to unsubscribe from Events
dotnet_diagnostic.MA0086.severity = error # Meziantou.Analyzer - MA0086 - Do not throw from a finalizer
dotnet_diagnostic.MA0087.severity = error # Meziantou.Analyzer - MA0087 - Parameters with [DefaultParameterValue] attributes should also be marked [Optional]
dotnet_diagnostic.MA0088.severity = error # Meziantou.Analyzer - MA0088 - Use [DefaultParameterValue] instead of [DefaultValue]
dotnet_diagnostic.MA0089.severity = error # Meziantou.Analyzer - MA0089 - Optimize string method usage
dotnet_diagnostic.MA0090.severity = error # Meziantou.Analyzer - MA0090 - Remove empty else/finally block information_source
dotnet_diagnostic.MA0091.severity = error # Meziantou.Analyzer - MA0091 - Sender should be 'this' for instance events
dotnet_diagnostic.MA0092.severity = error # Meziantou.Analyzer - MA0092 - Sender should be 'null' for static events
dotnet_diagnostic.MA0093.severity = error # Meziantou.Analyzer - MA0093 - EventArgs should not be null
dotnet_diagnostic.MA0094.severity = error # Meziantou.Analyzer - MA0094 - A class that provides CompareTo(T) should implement IComparable<T>
dotnet_diagnostic.MA0095.severity = error # Meziantou.Analyzer - MA0095 - A class that implements IEquatable<T> should override Equals(object)
dotnet_diagnostic.MA0096.severity = error # Meziantou.Analyzer - MA0096 - A class that implements IComparable<T> should also implement IEquatable<T>
dotnet_diagnostic.MA0097.severity = error # Meziantou.Analyzer - MA0097 - A class that implements IComparable<T> or IComparable should override comparison operators
dotnet_diagnostic.MA0098.severity = error # Meziantou.Analyzer - MA0098 - Use indexer instead of LINQ methods information_source
dotnet_diagnostic.MA0099.severity = error # Meziantou.Analyzer - MA0099 - Use Explicit enum value instead of 0
dotnet_diagnostic.MA0100.severity = error # Meziantou.Analyzer - MA0100 - Await task before disposing of resources
dotnet_diagnostic.MA0101.severity = none # Meziantou.Analyzer - MA0101 - String contains an implicit end of line character
dotnet_diagnostic.MA0102.severity = error # Meziantou.Analyzer - MA0102 - Make member readonly
dotnet_diagnostic.MA0103.severity = error # Meziantou.Analyzer - MA0103 - Use SequenceEqual instead of equality operator
dotnet_diagnostic.MA0104.severity = suggestion # Meziantou.Analyzer - MA0104 - Do not create a type with a name from the BCL
dotnet_diagnostic.MA0105.severity = error # Meziantou.Analyzer - MA0105 - Use the lambda parameters instead of using a closure
dotnet_diagnostic.MA0106.severity = error # Meziantou.Analyzer - MA0106 - Avoid closure by using an overload with the 'factoryArgument' parameter
dotnet_diagnostic.MA0107.severity = none # Meziantou.Analyzer - MA0107 - Do not use culture-sensitive object.ToString
dotnet_diagnostic.MA0108.severity = error # Meziantou.Analyzer - MA0108 - Remove redundant argument value
dotnet_diagnostic.MA0109.severity = error # Meziantou.Analyzer - MA0109 - Consider adding an overload with a Span<T> or Memory<T>
dotnet_diagnostic.MA0110.severity = error # Meziantou.Analyzer - MA0110 - Use the Regex source generator
dotnet_diagnostic.MA0111.severity = error # Meziantou.Analyzer - MA0111 - Use string.Create instead of FormattableString
dotnet_diagnostic.MA0112.severity = error # Meziantou.Analyzer - MA0112 - Use 'Count > 0' instead of 'Any()'
dotnet_diagnostic.MA0113.severity = error # Meziantou.Analyzer - MA0113 - Use DateTime.UnixEpoch
dotnet_diagnostic.MA0114.severity = error # Meziantou.Analyzer - MA0114 - Use DateTimeOffset.UnixEpoch
dotnet_diagnostic.MA0115.severity = error # Meziantou.Analyzer - MA0115 - Unknown component parameter
dotnet_diagnostic.MA0116.severity = error # Meziantou.Analyzer - MA0116 - Parameters with [SupplyParameterFromQuery] attributes should also be marked as [Parameter]
dotnet_diagnostic.MA0117.severity = error # Meziantou.Analyzer - MA0117 - Parameters with [EditorRequired] attributes should also be marked as [Parameter]
dotnet_diagnostic.MA0118.severity = error # Meziantou.Analyzer - MA0118 - [JSInvokable] methods must be public
dotnet_diagnostic.MA0119.severity = error # Meziantou.Analyzer - MA0119 - JSRuntime must not be used in OnInitialized or OnInitializedAsync
dotnet_diagnostic.MA0120.severity = error # Meziantou.Analyzer - MA0120 - Use InvokeVoidAsync when the returned value is not used
dotnet_diagnostic.MA0121.severity = error # Meziantou.Analyzer - MA0121 - Do not overwrite parameter value
dotnet_diagnostic.MA0122.severity = error # Meziantou.Analyzer - MA0122 - Parameters with [SupplyParameterFromQuery] attributes are only valid in routable components (@page)
dotnet_diagnostic.MA0123.severity = error # Meziantou.Analyzer - MA0123 - Sequence number must be a constant
dotnet_diagnostic.MA0124.severity = error # Meziantou.Analyzer - MA0124 - Log Parameter type is not valid
dotnet_diagnostic.MA0125.severity = error # Meziantou.Analyzer - MA0125 - The list of log parameter types contains an invalid type
dotnet_diagnostic.MA0126.severity = error # Meziantou.Analyzer - MA0126 - The list of log parameter types contains a duplicate
dotnet_diagnostic.MA0127.severity = error # Meziantou.Analyzer - MA0127 - Use String.Equals instead of is pattern
dotnet_diagnostic.MA0128.severity = error # Meziantou.Analyzer - MA0128 - Use 'is' operator instead of SequenceEqual
dotnet_diagnostic.MA0159.severity = error # Meziantou.Analyzer - MA0159 - Opimise LINQ Usage
dotnet_diagnostic.NX0001.severity = error # Nullable.Extended.Analyzer - NX0001 - Instance of NullForgiving operator without justification (GeneralDiagnosticId)
dotnet_diagnostic.NX0002.severity = error # Nullable.Extended.Analyzer - NX0002 - Instance of NullForgiving operator without justification (NullOrDefaultDiagnosticId)
dotnet_diagnostic.NX0003.severity = error # Nullable.Extended.Analyzer - NX0003 - Instance of NullForgiving operator without justification (LambdaDiagnosticId)
dotnet_diagnostic.NX0004.severity = error # Nullable.Extended.Analyzer - NX0004 - Instance of NullForgiving operator without justification (InitDiagnosticId)
dotnet_diagnostic.PH2001.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2001 - Avoid empty XML Summary comments
dotnet_diagnostic.PH2006.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2006 - Match namespace, path, assembly, and project
dotnet_diagnostic.PH2020.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2020 - Avoid Thread.Sleep
dotnet_diagnostic.PH2021.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2021 - Avoid inline new
dotnet_diagnostic.PH2026.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2026 - Avoid SuppressMessage attribute
dotnet_diagnostic.PH2027.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2027 - Avoid static methods
dotnet_diagnostic.PH2028.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2028 - File should start with a copyright statement
dotnet_diagnostic.PH2029.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2029 - Avoid #pragma
dotnet_diagnostic.PH2030.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2030 - Variable naming conventions
dotnet_diagnostic.PH2031.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2031 - Avoid TryParse without Culture
dotnet_diagnostic.PH2032.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2032 - Avoid Empty Type Initializer
dotnet_diagnostic.PH2040.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2040 - ServiceContracts have InterfaceContracts
dotnet_diagnostic.PH2042.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2042 - WinForms InitalizeComponent
dotnet_diagnostic.PH2044.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2044 - Avoid dynamic keyword
dotnet_diagnostic.PH2045.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2045 - Avoid static classes
dotnet_diagnostic.PH2047.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2047 - Avoid public member variables
dotnet_diagnostic.PH2051.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2051 - Avoid unnecessary range checks
dotnet_diagnostic.PH2060.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2060 - Bool naming conventions
dotnet_diagnostic.PH2061.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2061 Public/Private #regions
dotnet_diagnostic.PH2064.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2064 - Avoid duplicate #regions
dotnet_diagnostic.PH2066.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2066 - Readonly lock
dotnet_diagnostic.PH2067.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2067 - Avoid nested string.Format
dotnet_diagnostic.PH2068.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2068 - Avoid goto
dotnet_diagnostic.PH2069.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2069 - Avoid unnecessary string.Format
dotnet_diagnostic.PH2070.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2070 - Avoid protected fields
dotnet_diagnostic.PH2072.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2072 - Require local editorconfig
dotnet_diagnostic.PH2073.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2073 - Call extension method as instance
dotnet_diagnostic.PH2074.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2074 - Avoid register in Dispose
dotnet_diagnostic.PH2075.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2075 - Avoid AssemblyVersion change
dotnet_diagnostic.PH2077.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2077 - Avoid Switch statement with no cases
dotnet_diagnostic.PH2078.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2078 - Avoid PrivateKey Property
dotnet_diagnostic.PH2079.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2079 - Namespace prefix
dotnet_diagnostic.PH2080.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2080 - Avoid hardcoded absolute paths
dotnet_diagnostic.PH2081.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2081 - Avoid #regions within methods
dotnet_diagnostic.PH2082.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2082 - Positive naming
dotnet_diagnostic.PH2083.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2083 - Avoid Pass By Reference
dotnet_diagnostic.PH2084.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2084 - Don't lock on "new x()"
dotnet_diagnostic.PH2085.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2085 - Order property accessors
dotnet_diagnostic.PH2086.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2086 - Avoid calling Task.Result
dotnet_diagnostic.PH2087.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2087 - Do not use spaces in filenames
dotnet_diagnostic.PH2088.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2088 - Paths should not exceed 260 characters
dotnet_diagnostic.PH2089.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2089 - Avoid assignments in conditions
dotnet_diagnostic.PH2090.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2090 - Log Exception
dotnet_diagnostic.PH2091.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2091 - Throw Inner Exception
dotnet_diagnostic.PH2092.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2092 - Limit Condition Complexity
dotnet_diagnostic.PH2093.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2093 - Prefer creating tuples with named fields
dotnet_diagnostic.PH2094.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2094 - Prefer using the named tuple field, not ItemX
dotnet_diagnostic.PH2096.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2096 - Prefer async Task methods over async void methods
dotnet_diagnostic.PH2097.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2097 - Avoid Empty Statement Blocks
dotnet_diagnostic.PH2098.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2098 - Avoid Empty Catch Block
dotnet_diagnostic.PH2099.severity = none # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2099 - Enforce FileVersion to be same as PackageVersion
dotnet_diagnostic.PH2101.severity = error # Philips.CodeAnalysis.MaintainabilityAnalyzers - PH2101 - Detect Null Dereference after "as"
dotnet_diagnostic.RCS1020.severity = error # Roslynator.Analyzers - RCS1020 - Simplify Nullable<T> to T?
dotnet_diagnostic.RCS1033.severity = error # Roslynator.Analyzers - RCS1033 - Remove redundant boolean literal
dotnet_diagnostic.RCS1038.severity = error # Roslynator.Analyzers - RCS1038 - RemoveEmptyStatement
dotnet_diagnostic.RCS1056.severity = suggestion # Roslynator.Analyzers - RCS1056 - Avoid usage of using alias directive
dotnet_diagnostic.RCS1060.severity = suggestion # Roslynator.Analyzers - RCS1060 - DeclareEachTypeInSeparateFile n.b. this is too aggressive as it wants Type and Type{T} to be in different files.
dotnet_diagnostic.RCS1077.severity = error # Roslynator.Analyzers - RCS1077 - Optimize Linq Method Call
dotnet_diagnostic.RCS1080.severity = error # Roslynator.Analyzers - RCS1080 - UseCountOrLengthPropertyInsteadOfAnyMethod
dotnet_diagnostic.RCS1089.severity = error # Roslynator.Analyzers - RCS1089 - Use ++ or \-\- instead of assignment
dotnet_diagnostic.RCS1090.severity = none # Roslynator.Analyzers - RCS1090 - AddCallToConfigureAwaitOrViceVersa
dotnet_diagnostic.RCS1091.severity = error # Roslynator.Analyzers - RCS1091 - Remove empty region
dotnet_diagnostic.RCS1093.severity = error # Roslynator.Analyzers - RCS1093 - RemoveFileWithNoCode
dotnet_diagnostic.RCS1097.severity = error # Roslynator.Analyzers - RCS1097 - RemoveRedundantToStringCall
dotnet_diagnostic.RCS1105.severity = error # Roslynator.Analyzers - RCS1105 - Unnecessary interpolation
dotnet_diagnostic.RCS1106.severity = error # Roslynator.Analyzers - RCS1106 - Remove empty destructor
dotnet_diagnostic.RCS1112.severity = error # Roslynator.Analyzers - RCS1112 - Combine 'Enumerable.Where' method chain
dotnet_diagnostic.RCS1118.severity = error # Roslynator.Analyzers - RCS1118 - Mark local variable as const
dotnet_diagnostic.RCS1126.severity = error # Roslynator.Analyzers - RCS1126 - Add braces to if-else
dotnet_diagnostic.RCS1134.severity = error # Roslynator.Analyzers - RCS1134 - Remove redundant statement
dotnet_diagnostic.RCS1136.severity = error # Roslynator.Analyzers - RCS1136 - Merge switch sections with equivalent content
dotnet_diagnostic.RCS1143.severity = error # Roslynator.Analyzers - RCS1143 - Simplify coalesce expression
dotnet_diagnostic.RCS1159.severity = error # Roslynator.Analyzers - RCS1159 - Use EventHandler<T>/
dotnet_diagnostic.RCS1163.severity = none # Roslynator.Analyzers - RCS1163 - Unused parameter
dotnet_diagnostic.RCS1168.severity = error # Roslynator.Analyzers - RCS1168 - Parameter name differs from base name
dotnet_diagnostic.RCS1170.severity = error # Roslynator.Analyzers - RCS1170 - Use read-only auto-implemented property
dotnet_diagnostic.RCS1171.severity = error # Roslynator.Analyzers - RCS1171 - Simplify lazy initialization
dotnet_diagnostic.RCS1197.severity = error # Roslynator.Analyzers - RCS1197 - OptimizeStringBuilderAppendCall
dotnet_diagnostic.RCS1198.severity = none # Roslynator.Analyzers - RCS1198 - Avoid unnecessary boxing of value type
dotnet_diagnostic.RCS1205.severity = error # Roslynator.Analyzers - RCS1205 - Order named arguments according to the order of parameters
dotnet_diagnostic.RCS1214.severity = error # Roslynator.Analyzers - RCS1214 - Unnecessary interpolated string
dotnet_diagnostic.RCS1217.severity = error # Roslynator.Analyzers - RCS1217 - Convert interpolated string to concatenation
dotnet_diagnostic.RCS1220.severity = error # Roslynator.Analyzers - RCS1220 - Use pattern matching instead of combination of 'is' operator and cast operator
dotnet_diagnostic.RCS1221.severity = error # Roslynator.Analyzers - RCS1221 - Use pattern matching instead of combination of 'as' operator and null check
dotnet_diagnostic.RCS1231.severity = error # Roslynator.Analyzers - RCS1231 - Make parameter ref read-only
dotnet_diagnostic.RCS1233.severity = error # Roslynator.Analyzers - RCS1233 - Use short-circuiting operator
dotnet_diagnostic.RCS1234.severity = error # Roslynator.Analyzers - RCS1234 - Duplicate enum value
dotnet_diagnostic.RCS1235.severity = error # Roslynator.Analyzers - RCS1235 - Optimize method call
dotnet_diagnostic.RCS1236.severity = error # Roslynator.Analyzers - RCS1236 - Use Exception filter
dotnet_diagnostic.RCS1238.severity = error # Roslynator.Analyzers - RCS1238 - Avoid nested ?: operators
dotnet_diagnostic.RCS1240.severity = error # Roslynator.Analyzers - RCS1240 - Operator is unnecessary
dotnet_diagnostic.RCS1242.severity = error # Roslynator.Analyzers - RCS1242 - Do not pass non-read-only struct by read-only reference
dotnet_diagnostic.RCS1261.severity = error # Roslynator.Analyzers - RCS1261 - Resource can be disposed asynchronously
dotnet_diagnostic.S1066.severity = none # SonarAnalyzer.CSharp - S1066 - Collapsible "if" statements should be merged
dotnet_diagnostic.S1075.severity = none # SonarAnalyzer.CSharp - S1075 - URIs should not be hardcoded
dotnet_diagnostic.S1118.severity = none # SonarAnalyzer.CSharp - S1118 - Utility classes should not have public constructors
dotnet_diagnostic.S1133.severity = error # SonarAnalyzer.CSharp - S1133 - Remove deprecated code
dotnet_diagnostic.S1135.severity = suggestion # SonarAnalyzer.CSharp - S1135 - Track uses of "TODO" tags
dotnet_diagnostic.S1168.severity = none # SonarAnalyzer.CSharp - S1168 - Returning <code>null</code> instead of an actual array or collection forces callers of the method to explicitly test for nullity, making them more complex and less readable.
dotnet_diagnostic.S1172.severity = error # SonarAnalyzer.CSharp - S1172 - Remove Unused method parameter
dotnet_diagnostic.S125.severity = none # SonarAnalyzer.CSharp - S125 - Commented out code
dotnet_diagnostic.S1313.severity = error # SonarAnalyzer.CSharp - S1313 - IP addresses should not be hardcoded
dotnet_diagnostic.S1450.severity = none # SonarAnalyzer.CSharp - S1450 - Private fields only used as local variables in methods should become local variables
dotnet_diagnostic.S1764.severity = none # SonarAnalyzer.CSharp - S1764 - Identical expressions should not be used on both sides of a binary operator
dotnet_diagnostic.S1854.severity = none # SonarAnalyzer.CSharp - S1854 - Dead stores should be removed
dotnet_diagnostic.S2190.severity = error # SonarAnalyzer.CSharp - S2190 - Add a way to break out of this methods recursion
dotnet_diagnostic.S2326.severity = none # SonarAnalyzer.CSharp - S2326 - Type parameters that are not used in a method or type definition
dotnet_diagnostic.S2344.severity = error # SonarAnalyzer.CSharp - S2344 - Enumeration type names should not have "Flags" or "Enum" suffixes
dotnet_diagnostic.S2346.severity = none # SonarAnalyzer.CSharp - S2346 - Flags Enum should have an enum called 'None' with a value 0
dotnet_diagnostic.S2365.severity = error # SonarAnalyzer.CSharp - S2365 - Properties should not copy collections
dotnet_diagnostic.S2368.severity = none # SonarAnalyzer.CSharp - S2368 - Public methods should not have multidimensional array parameters
dotnet_diagnostic.S2583.severity = error # SonarAnalyzer.CSharp - S2583 - Conditionally executed blocks should be reachable
dotnet_diagnostic.S2699.severity = none # SonarAnalyzer.CSharp - S2699 - Tests should include assertion
dotnet_diagnostic.S3063.severity = error # SonarAnalyzer.CSharp - S3063 - Remove this "StringBuilder"; ".ToString()" is never called.
dotnet_diagnostic.S3218.severity = none # SonarAnalyzer.CSharp - S3218 - Inner class members should not shadow outer class "static" or type members
dotnet_diagnostic.S3329.severity = error # SonarAnalyzer.CSharp - S3329 - Use a dynamically-generated, random IV.
dotnet_diagnostic.S3442.severity = none # SonarAnalyzer.CSharp - S3442 - "abstract" classes should not have "public" constructors
dotnet_diagnostic.S3459.severity = none # SonarAnalyzer.CSharp - S3459 - Unassigned members should be removed
dotnet_diagnostic.S3925.severity = none # SonarAnalyzer.CSharp - S3925 - "ISerializable" should be implemented correctly
dotnet_diagnostic.S3963.severity = none # SonarAnalyzer.CSharp - S3963 - "static" fields should be initialized inline
dotnet_diagnostic.S4035.severity = none # SonarAnalyzer.CSharp - S4035 - Classes implementing "IEquatable<T>" should be sealed
dotnet_diagnostic.S4070.severity = none # SonarAnalyzer.CSharp - S4070 - Non-flags enums should not be marked with "FlagsAttribute"
dotnet_diagnostic.S4136.severity = none # SonarAnalyzer.CSharp - S4136 - Method overloads should be grouped together
dotnet_diagnostic.S4275.severity = none # SonarAnalyzer.CSharp - S4275 - Getters and setters should access the expected fields
dotnet_diagnostic.S4457.severity = none # SonarAnalyzer.CSharp - S4457 - Parameter validation in "async"/"await" methods should be wrapped
dotnet_diagnostic.SA1305.severity = error # StyleCop.Analyzers - SA1305 - Field Names Must Not Use Hungarian Notation
dotnet_diagnostic.SA1412.severity = error # StyleCop.Analyzers - SA1412 - Files should be in UTF-8 with BOM
dotnet_diagnostic.SA1600.severity = none # StyleCop.Analyzers - SA1600 - Code elements should be documented
dotnet_diagnostic.SA1609.severity = error # StyleCop.Analyzers - SA1609 - Property documentation should be written
dotnet_diagnostic.SCS0019.severity = error # SecurityCodeScan.VS2019 - SCS0019 - Controller method is potentially Vulnerable to Cross Site Request Forgery CSRF
dotnet_naming_rule.private_constants_rule.severity = error
dotnet_naming_rule.private_constants_rule.style = all_upper_style
dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols
dotnet_naming_style.all_upper_style.capitalization = all_upper
dotnet_naming_style.all_upper_style.word_separator = _
dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field
dotnet_naming_symbols.private_constants_symbols.required_modifiers = const
dotnet_remove_unnecessary_suppression_exclusions = none # Remove Unnecessary suppressions
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:error
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:error
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:error
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion
dotnet_style_qualification_for_event = true:error
dotnet_style_qualification_for_field = true:error
dotnet_style_qualification_for_method = true:error
dotnet_style_qualification_for_property = true:error
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
roslynator_accessibility_modifiers = explicit # Applicable to: rcs1018
roslynator_accessor_braces_style = multi_line|single_line_when_expression_is_on_single_line # Applicable to: rcs0020 # Default: multi_line
roslynator_array_creation_type_style = implicit_when_type_is_obvious # Applicable to: rcs1014
roslynator_block_braces_style = multi_line # Applicable to: rcs0021 # Default: multi_line
roslynator_configure_await = false # Applicable to: rcs1090
roslynator_enum_has_flag_style = operator # Applicable to: rcs1096
roslynator_object_creation_type_style = implicit_when_type_is_obvious # Applicable to: rcs1250
roslynator_use_var_instead_of_implicit_object_creation = false # Applicable to: rcs1250