forked from dotnet/extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
6403 lines (5187 loc) · 276 KB
/
.editorconfig
File metadata and controls
6403 lines (5187 loc) · 276 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
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Created by DiagConfig, the diagnostic config generator
# Generated : 2024-03-07 23:40:36Z
# Max Tier : 2147483647
# Attributes: api, general, performance, production
# Analyzers : ILLink.RoslynAnalyzer, Microsoft.Analyzers.Extra, Microsoft.Analyzers.Local, Microsoft.AspNetCore.App.Analyzers, Microsoft.AspNetCore.Components.Analyzers, Microsoft.CodeAnalysis.CodeStyle, Microsoft.CodeAnalysis.CSharp.CodeStyle, Microsoft.CodeAnalysis.CSharp.NetAnalyzers, Microsoft.CodeAnalysis.NetAnalyzers, Microsoft.VisualStudio.Threading.Analyzers, Microsoft.VisualStudio.Threading.Analyzers.CSharp, SonarAnalyzer.CSharp, StyleCop.Analyzers
[*.cs]
# Title : Do not use model binding attributes with route handlers
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0003.severity = warning
# Title : Do not use action results with route handlers
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0004.severity = warning
# Title : Do not place attribute on method called by route handler lambda
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0005.severity = warning
# Title : Do not use non-literal sequence numbers
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0006.severity = warning
# Title : Route parameter and argument optionality is mismatched
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0007.severity = warning
# Title : Do not use ConfigureWebHost with WebApplicationBuilder.Host
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0008.severity = error
# Title : Do not use Configure with WebApplicationBuilder.WebHost
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0009.severity = error
# Title : Do not use UseStartup with WebApplicationBuilder.WebHost
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0010.severity = error
# Title : Suggest using builder.Logging over Host.ConfigureLogging or WebHost.ConfigureLogging
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0011.severity = warning
# Title : Suggest using builder.Services over Host.ConfigureServices or WebHost.ConfigureServices
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0012.severity = warning
# Title : Suggest switching from using Configure methods to WebApplicationBuilder.Configuration
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0013.severity = warning
# Title : Suggest using top level route registrations
# Category : Usage
# Help Link: https://aka.ms/aspnet/analyzers
dotnet_diagnostic.ASP0014.severity = warning
# Title : Component parameter should have public setters.
# Category : Encapsulation
dotnet_diagnostic.BL0001.severity = error
# Title : Component has multiple CaptureUnmatchedValues parameters
# Category : Usage
dotnet_diagnostic.BL0002.severity = warning
# Title : Component parameter with CaptureUnmatchedValues has the wrong type
# Category : Usage
dotnet_diagnostic.BL0003.severity = warning
# Title : Component parameter should be public.
# Category : Encapsulation
dotnet_diagnostic.BL0004.severity = error
# Title : Component parameter should not be set outside of its component.
# Category : Usage
dotnet_diagnostic.BL0005.severity = warning
# Title : Do not use RenderTree types
# Category : Usage
dotnet_diagnostic.BL0006.severity = warning
# Title : Component parameters should be auto properties
# Category : Usage
dotnet_diagnostic.BL0007.severity = warning
# Title : Do not declare static members on generic types
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000
dotnet_diagnostic.CA1000.severity = warning
dotnet_code_quality.CA1000.api_surface = public
# Title : Types that own disposable fields should be disposable
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001
dotnet_diagnostic.CA1001.severity = warning
# Title : Types that own disposable fields should be disposable
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001
dotnet_diagnostic.CA1001.severity = none
# Title : Do not expose generic lists
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002
dotnet_diagnostic.CA1002.severity = warning
dotnet_code_quality.CA1002.api_surface = public
# Title : Use generic event handler instances
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1003
dotnet_diagnostic.CA1003.severity = warning
dotnet_code_quality.CA1003.api_surface = all
# Title : Avoid excessive parameters on generic types
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1005
dotnet_diagnostic.CA1005.severity = warning
dotnet_code_quality.CA1005.api_surface = public
# Title : Enums should have zero value
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1008
dotnet_diagnostic.CA1008.severity = warning
dotnet_code_quality.CA1008.api_surface = public
# Title : Generic interface should also be implemented
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1010
dotnet_diagnostic.CA1010.severity = warning
dotnet_code_quality.CA1010.api_surface = public
dotnet_code_quality.CA1010.additional_required_generic_interfaces = T:System.Collections.IDictionary->T:System.Collections.Generic.IDictionary`2
# Title : Abstract types should not have public constructors
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012
dotnet_diagnostic.CA1012.severity = warning
dotnet_code_quality.CA1012.api_surface = all
# Title : Mark assemblies with CLSCompliant
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1014
dotnet_diagnostic.CA1014.severity = none
# Title : Mark assemblies with assembly version
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1016
dotnet_diagnostic.CA1016.severity = suggestion
# Title : Mark assemblies with ComVisible
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1017
dotnet_diagnostic.CA1017.severity = none
# Title : Mark attributes with AttributeUsageAttribute
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1018
dotnet_diagnostic.CA1018.severity = warning
# Title : Define accessors for attribute arguments
# Category : Design
# Help Link: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1019
dotnet_diagnostic.CA1019.severity = warning
# Title : Define accessors for attribute arguments
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1019
dotnet_diagnostic.CA1019.severity = warning
# Title : Avoid out parameters
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1021
dotnet_diagnostic.CA1021.severity = none
# Title : Use properties where appropriate
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1024
dotnet_diagnostic.CA1024.severity = warning
dotnet_code_quality.CA1024.api_surface = public
# Title : Mark enums with FlagsAttribute
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027
dotnet_diagnostic.CA1027.severity = warning
dotnet_code_quality.CA1027.api_surface = all
# Title : Enum Storage should be Int32
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1028
dotnet_diagnostic.CA1028.severity = none
# Title : Use events where appropriate
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1030
dotnet_diagnostic.CA1030.severity = warning
dotnet_code_quality.CA1030.api_surface = public
# Title : Do not catch general exception types
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031
dotnet_diagnostic.CA1031.severity = suggestion
# Title : Implement standard exception constructors
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032
dotnet_diagnostic.CA1032.severity = warning
# Title : Interface methods should be callable by child types
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1033
dotnet_diagnostic.CA1033.severity = warning
# Title : Nested types should not be visible
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034
dotnet_diagnostic.CA1034.severity = suggestion
# Title : Override methods on comparable types
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1036
dotnet_diagnostic.CA1036.severity = warning
dotnet_code_quality.CA1036.api_surface = all
# Title : Avoid empty interfaces
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040
# Comment : Reasonably frequent in modern .NET programming
dotnet_diagnostic.CA1040.severity = none
# Title : Provide ObsoleteAttribute message
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1041
dotnet_diagnostic.CA1041.severity = warning
dotnet_code_quality.CA1041.api_surface = all
# Title : Use Integral Or String Argument For Indexers
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1043
dotnet_diagnostic.CA1043.severity = warning
dotnet_code_quality.CA1043.api_surface = public, protected
# Title : Properties should not be write only
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1044
dotnet_diagnostic.CA1044.severity = warning
# Title : Do not pass types by reference
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1045
dotnet_diagnostic.CA1045.severity = suggestion
dotnet_code_quality.CA1045.api_surface = public
# Title : Do not overload equality operator on reference types
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1046
dotnet_diagnostic.CA1046.severity = warning
dotnet_code_quality.CA1046.api_surface = all
# Title : Do not declare protected member in sealed type
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1047
dotnet_diagnostic.CA1047.severity = warning
dotnet_code_quality.CA1047.api_surface = all
# Title : Declare types in namespaces
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1050
dotnet_diagnostic.CA1050.severity = warning
dotnet_code_quality.CA1050.api_surface = public
# Title : Do not declare visible instance fields
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051
dotnet_diagnostic.CA1051.severity = warning
dotnet_code_quality.CA1051.api_surface = public
# Title : Static holder types should be Static or NotInheritable
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1052
dotnet_diagnostic.CA1052.severity = warning
dotnet_code_quality.CA1052.api_surface = all
# Title : URI-like parameters should not be strings
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054
dotnet_diagnostic.CA1054.severity = suggestion
dotnet_code_quality.CA1054.api_surface = public
# Title : URI-like return values should not be strings
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1055
dotnet_diagnostic.CA1055.severity = suggestion
dotnet_code_quality.CA1055.api_surface = public
# Title : URI-like properties should not be strings
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056
dotnet_diagnostic.CA1056.severity = suggestion
dotnet_code_quality.CA1056.api_surface = public
# Title : Types should not extend certain base types
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1058
dotnet_diagnostic.CA1058.severity = warning
dotnet_code_quality.CA1058.api_surface = public
# Title : Move pinvokes to native methods class
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1060
dotnet_diagnostic.CA1060.severity = warning
# Title : Do not hide base class methods
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1061
dotnet_diagnostic.CA1061.severity = warning
dotnet_code_quality.CA1061.api_surface = all
# Title : Validate arguments of public methods
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062
dotnet_diagnostic.CA1062.severity = warning
dotnet_code_quality.CA1062.api_surface = public, protected
dotnet_code_quality.CA1062.exclude_extension_method_this_parameter = false
dotnet_code_quality.CA1062.null_check_validation_methods = IfNull|IfNullOrEmpty|IfNullOrWhitespace|IfNullOrMemberNull
# Title : Implement IDisposable Correctly
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063
dotnet_diagnostic.CA1063.severity = warning
dotnet_code_quality.CA1063.api_surface = public
# Title : Exceptions should be public
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1064
dotnet_diagnostic.CA1064.severity = warning
# Title : Do not raise exceptions in unexpected locations
# Category : Design
# Help Link: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065
dotnet_diagnostic.CA1065.severity = warning
# Title : Do not raise exceptions in unexpected locations
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065
dotnet_diagnostic.CA1065.severity = warning
# Title : Implement IEquatable when overriding Object.Equals
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1066
dotnet_diagnostic.CA1066.severity = warning
# Title : Override Object.Equals(object) when implementing IEquatable<T>
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067
dotnet_diagnostic.CA1067.severity = warning
# Title : CancellationToken parameters must come last
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1068
dotnet_diagnostic.CA1068.severity = warning
dotnet_code_quality.CA1068.api_surface = public, protected
# Title : Enums values should not be duplicated
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1069
dotnet_diagnostic.CA1069.severity = warning
# Title : Do not declare event fields as virtual
# Category : Design
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1070
dotnet_diagnostic.CA1070.severity = warning
dotnet_code_quality.CA1070.api_surface = all
# Title : Avoid using cref tags with a prefix
# Category : Documentation
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1200
dotnet_diagnostic.CA1200.severity = warning
# Title : Do not pass literals as localized parameters
# Category : Globalization
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303
dotnet_diagnostic.CA1303.severity = warning
# Title : Specify CultureInfo
# Category : Globalization
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304
dotnet_diagnostic.CA1304.severity = warning
# Title : Specify IFormatProvider
# Category : Globalization
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305
dotnet_diagnostic.CA1305.severity = warning
# Title : Specify StringComparison for clarity
# Category : Globalization
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307
dotnet_diagnostic.CA1307.severity = warning
# Title : Normalize strings to uppercase
# Category : Globalization
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308
dotnet_diagnostic.CA1308.severity = warning
# Title : Use ordinal string comparison
# Category : Globalization
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309
dotnet_diagnostic.CA1309.severity = warning
# Title : Specify StringComparison for correctness
# Category : Globalization
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310
dotnet_diagnostic.CA1310.severity = warning
# Title : Specify a culture or use an invariant version
# Category : Globalization
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1311
dotnet_diagnostic.CA1311.severity = warning
# Title : P/Invokes should not be visible
# Category : Interoperability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1401
dotnet_diagnostic.CA1401.severity = warning
# Title : Validate platform compatibility
# Category : Interoperability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416
dotnet_diagnostic.CA1416.severity = warning
# Title : Do not use 'OutAttribute' on string parameters for P/Invokes
# Category : Interoperability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1417
dotnet_diagnostic.CA1417.severity = warning
# Title : Use valid platform string
# Category : Interoperability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1418
dotnet_diagnostic.CA1418.severity = warning
# Title : Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle'
# Category : Interoperability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1419
dotnet_diagnostic.CA1419.severity = warning
# Title : Property, type, or attribute requires runtime marshalling
# Category : Interoperability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1420
dotnet_diagnostic.CA1420.severity = warning
# Title : This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied
# Category : Interoperability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1421
dotnet_diagnostic.CA1421.severity = suggestion
# Title : Validate platform compatibility
# Category : Interoperability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422
dotnet_diagnostic.CA1422.severity = warning
# Title : Avoid excessive inheritance
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1501
dotnet_diagnostic.CA1501.severity = warning
dotnet_code_quality.CA1501.api_surface = public
# Title : Avoid excessive complexity
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502
# Comment : Code gets complicated
dotnet_diagnostic.CA1502.severity = none
# Title : Avoid unmaintainable code
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1505
dotnet_diagnostic.CA1505.severity = warning
# Title : Avoid excessive class coupling
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1506
# Comment : Code gets complicated
dotnet_diagnostic.CA1506.severity = none
# Title : Use nameof to express symbol names
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1507
dotnet_diagnostic.CA1507.severity = warning
# Title : Avoid dead conditional code
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508
dotnet_diagnostic.CA1508.severity = suggestion
# Title : Invalid entry in code metrics rule specification file
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1509
dotnet_diagnostic.CA1509.severity = warning
# Title : Use ArgumentNullException throw helper
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510
dotnet_diagnostic.CA1510.severity = suggestion
# Title : Use ArgumentException throw helper
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1511
dotnet_diagnostic.CA1511.severity = suggestion
# Title : Use ArgumentOutOfRangeException throw helper
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1512
dotnet_diagnostic.CA1512.severity = suggestion
# Title : Use ObjectDisposedException throw helper
# Category : Maintainability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1513
dotnet_diagnostic.CA1513.severity = suggestion
# Title : Do not name enum values 'Reserved'
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700
dotnet_diagnostic.CA1700.severity = warning
dotnet_code_quality.CA1700.api_surface = public
# Title : Identifiers should not contain underscores
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707
# Comment : StyleCop handles this
dotnet_diagnostic.CA1707.severity = none
# Title : Identifiers should differ by more than case
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708
dotnet_diagnostic.CA1708.severity = warning
dotnet_code_quality.CA1708.api_surface = public
# Title : Identifiers should have correct suffix
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1710
dotnet_diagnostic.CA1710.severity = warning
dotnet_code_quality.CA1710.api_surface = public
# Title : Identifiers should not have incorrect suffix
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711
dotnet_diagnostic.CA1711.severity = warning
dotnet_code_quality.CA1711.api_surface = public
# Title : Do not prefix enum values with type name
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1712
dotnet_diagnostic.CA1712.severity = warning
# Title : Events should not have 'Before' or 'After' prefix
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1713
dotnet_diagnostic.CA1713.severity = warning
# Title : Identifiers should have correct prefix
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1715
# Redundant: IDE1006
dotnet_diagnostic.CA1715.severity = none
# Title : Identifiers should not match keywords
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716
dotnet_diagnostic.CA1716.severity = suggestion
dotnet_code_quality.CA1716.api_surface = all
dotnet_code_quality.CA1716.analyzed_symbol_kinds = all
# Title : Identifier contains type name
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1720
dotnet_diagnostic.CA1720.severity = warning
dotnet_code_quality.CA1720.api_surface = public
# Title : Property names should not match get methods
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721
dotnet_diagnostic.CA1721.severity = warning
dotnet_code_quality.CA1721.api_surface = public
# Title : Type names should not match namespaces
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724
dotnet_diagnostic.CA1724.severity = warning
dotnet_code_quality.CA1724.api_surface = public
# Title : Parameter names should match base declaration
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725
dotnet_diagnostic.CA1725.severity = warning
dotnet_code_quality.CA1725.api_surface = public, protected
# Title : Use PascalCase for named placeholders
# Category : Naming
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1727
dotnet_diagnostic.CA1727.severity = silent
# Title : Review unused parameters
# Category : Usage
# Help Link: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1801
# Redundant: IDE0060
dotnet_diagnostic.CA1801.severity = none
# Title : Review unused parameters
# Category : Usage
# Help Link: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1801
# Redundant: IDE0060
dotnet_diagnostic.CA1801.severity = none
# Title : Use literals where appropriate
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1802
dotnet_diagnostic.CA1802.severity = warning
dotnet_code_quality.CA1802.required_modifiers = static
# Title : Use literals where appropriate
# Category : Performance
# Help Link: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1802
dotnet_diagnostic.CA1802.severity = warning
# Title : Do not initialize unnecessarily
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805
dotnet_diagnostic.CA1805.severity = warning
# Title : Do not initialize unnecessarily
# Category : Performance
# Help Link: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805
dotnet_diagnostic.CA1805.severity = warning
# Title : Do not ignore method results
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1806
dotnet_diagnostic.CA1806.severity = warning
# Title : Initialize reference type static fields inline
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1810
dotnet_diagnostic.CA1810.severity = warning
# Title : Avoid uninstantiated internal classes
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812
# Comment : S1144 finds more cases and has no false positives
# Redundant: S1144
dotnet_diagnostic.CA1812.severity = none
# Title : Avoid unsealed attributes
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813
dotnet_diagnostic.CA1813.severity = warning
# Title : Prefer jagged arrays over multidimensional
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1814
dotnet_diagnostic.CA1814.severity = warning
# Title : Override equals and operator equals on value types
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815
dotnet_diagnostic.CA1815.severity = warning
dotnet_code_quality.CA1815.api_surface = public
# Title : Dispose methods should call SuppressFinalize
# Category : Usage
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816
dotnet_diagnostic.CA1816.severity = warning
# Title : Properties should not return arrays
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819
dotnet_diagnostic.CA1819.severity = warning
dotnet_code_quality.CA1819.api_surface = public
# Title : Test for empty strings using string length
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1820
dotnet_diagnostic.CA1820.severity = warning
# Title : Remove empty Finalizers
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1821
dotnet_diagnostic.CA1821.severity = warning
# Title : Mark members as static
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
dotnet_diagnostic.CA1822.severity = warning
dotnet_code_quality.CA1822.api_surface = all
# Title : Avoid unused private fields
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823
# Redundant: S1144
dotnet_diagnostic.CA1823.severity = none
# Title : Mark assemblies with NeutralResourcesLanguageAttribute
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1824
dotnet_diagnostic.CA1824.severity = warning
# Title : Avoid zero-length array allocations
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825
dotnet_diagnostic.CA1825.severity = warning
# Title : Do not use Enumerable methods on indexable collections
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1826
dotnet_diagnostic.CA1826.severity = warning
# Title : Do not use Count() or LongCount() when Any() can be used
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1827
dotnet_diagnostic.CA1827.severity = warning
# Title : Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1828
dotnet_diagnostic.CA1828.severity = warning
# Title : Use Length/Count property instead of Count() when available
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1829
dotnet_diagnostic.CA1829.severity = warning
# Title : Prefer strongly-typed Append and Insert method overloads on StringBuilder
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1830
dotnet_diagnostic.CA1830.severity = warning
# Title : Use AsSpan or AsMemory instead of Range-based indexers when appropriate
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1831
dotnet_diagnostic.CA1831.severity = warning
# Title : Use AsSpan or AsMemory instead of Range-based indexers when appropriate
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1832
dotnet_diagnostic.CA1832.severity = warning
# Title : Use AsSpan or AsMemory instead of Range-based indexers when appropriate
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1833
dotnet_diagnostic.CA1833.severity = warning
# Title : Consider using 'StringBuilder.Append(char)' when applicable
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834
dotnet_diagnostic.CA1834.severity = warning
# Title : Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835
dotnet_diagnostic.CA1835.severity = warning
# Title : Prefer IsEmpty over Count
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1836
dotnet_diagnostic.CA1836.severity = warning
# Title : Use 'Environment.ProcessId'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1837
dotnet_diagnostic.CA1837.severity = warning
# Title : Avoid 'StringBuilder' parameters for P/Invokes
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1838
dotnet_diagnostic.CA1838.severity = warning
# Title : Use 'Environment.ProcessPath'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1839
dotnet_diagnostic.CA1839.severity = warning
# Title : Use 'Environment.CurrentManagedThreadId'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1840
dotnet_diagnostic.CA1840.severity = warning
# Title : Prefer Dictionary.Contains methods
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1841
dotnet_diagnostic.CA1841.severity = warning
# Title : Do not use 'WhenAll' with a single task
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1842
dotnet_diagnostic.CA1842.severity = suggestion
# Title : Do not use 'WaitAll' with a single task
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1843
dotnet_diagnostic.CA1843.severity = warning
# Title : Provide memory-based overrides of async methods when subclassing 'Stream'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1844
dotnet_diagnostic.CA1844.severity = warning
# Title : Use span-based 'string.Concat'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1845
dotnet_diagnostic.CA1845.severity = warning
# Title : Prefer 'AsSpan' over 'Substring'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1846
dotnet_diagnostic.CA1846.severity = warning
# Title : Use char literal for a single character lookup
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1847
dotnet_diagnostic.CA1847.severity = warning
# Title : Use the LoggerMessage delegates
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848
# Comment : Use R9 logging model instead
dotnet_diagnostic.CA1848.severity = none
# Title : Call async methods when in an async method
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1849
dotnet_diagnostic.CA1849.severity = warning
# Title : Prefer static 'HashData' method over 'ComputeHash'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1850
dotnet_diagnostic.CA1850.severity = suggestion
# Title : Possible multiple enumerations of 'IEnumerable' collection
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851
dotnet_diagnostic.CA1851.severity = suggestion
# Title : Seal internal types
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852
dotnet_diagnostic.CA1852.severity = warning
dotnet_code_quality.CA1852.ignore_internalsvisibleto = true
# Title : Unnecessary call to 'Dictionary.ContainsKey(key)'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1853
dotnet_diagnostic.CA1853.severity = suggestion
# Title : Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854
dotnet_diagnostic.CA1854.severity = warning
# Title : Prefer 'Clear' over 'Fill'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1855
dotnet_diagnostic.CA1855.severity = warning
# Title : Incorrect usage of ConstantExpected attribute
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1856
dotnet_diagnostic.CA1856.severity = error
# Title : A constant is expected for the parameter
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1857
dotnet_diagnostic.CA1857.severity = warning
# Title : Use 'StartsWith' instead of 'IndexOf'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1858
dotnet_diagnostic.CA1858.severity = suggestion
# Title : Use concrete types when possible for improved performance
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859
dotnet_diagnostic.CA1859.severity = warning
# Title : Avoid using 'Enumerable.Any()' extension method
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860
dotnet_diagnostic.CA1860.severity = suggestion
# Title : Avoid constant arrays as arguments
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861
dotnet_diagnostic.CA1861.severity = suggestion
# Title : Use the 'StringComparison' method overloads to perform case-insensitive string comparisons
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1862
dotnet_diagnostic.CA1862.severity = suggestion
# Title : Use 'CompositeFormat'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1863
dotnet_diagnostic.CA1863.severity = none
# Title : Prefer the 'IDictionary.TryAdd(TKey, TValue)' method
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1864
dotnet_diagnostic.CA1864.severity = suggestion
# Title : Use char overload
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1865
dotnet_diagnostic.CA1865.severity = suggestion
# Title : Use char overload
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1866
dotnet_diagnostic.CA1866.severity = suggestion
# Title : Use char overload
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1867
dotnet_diagnostic.CA1867.severity = warning
# Title : Unnecessary call to 'Contains(item)'
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1868
dotnet_diagnostic.CA1868.severity = suggestion
# Title : Cache and reuse 'JsonSerializerOptions' instances
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1869
dotnet_diagnostic.CA1869.severity = suggestion
# Title : Use a cached 'SearchValues' instance
# Category : Performance
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1870
dotnet_diagnostic.CA1870.severity = suggestion
# Title : Dispose objects before losing scope
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000
dotnet_diagnostic.CA2000.severity = warning
# Title : Do not lock on objects with weak identity
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2002
dotnet_diagnostic.CA2002.severity = warning
# Title : Consider calling ConfigureAwait on the awaited task
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007
dotnet_diagnostic.CA2007.severity = warning
dotnet_code_quality.CA2007.output_kinds = all
dotnet_code_quality.CA2007.exclude_async_void_methods = false
# Title : Do not create tasks without passing a TaskScheduler
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2008
dotnet_diagnostic.CA2008.severity = warning
# Title : Do not call ToImmutableCollection on an ImmutableCollection value
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2009
dotnet_diagnostic.CA2009.severity = warning
# Title : Avoid infinite recursion
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2011
dotnet_diagnostic.CA2011.severity = error
# Title : Use ValueTasks correctly
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2012
dotnet_diagnostic.CA2012.severity = warning
# Title : Do not use ReferenceEquals with value types
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2013
dotnet_diagnostic.CA2013.severity = warning
# Title : Do not use stackalloc in loops
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014
dotnet_diagnostic.CA2014.severity = warning
# Title : Do not use stackalloc in loops
# Category : Reliability
# Help Link: https://docs.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014
dotnet_diagnostic.CA2014.severity = warning
# Title : Do not define finalizers for types derived from MemoryManager<T>
# Category : Reliability
# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2015
dotnet_diagnostic.CA2015.severity = warning