forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.globalconfig
2253 lines (1700 loc) · 100 KB
/
.globalconfig
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
is_global = true
# CA1000: Do not declare static members on generic types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1000
dotnet_diagnostic.CA1000.severity = warning
dotnet_code_quality.CA1000.api_surface = all
# CA1001: Types that own disposable fields should be disposable
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1001
dotnet_diagnostic.CA1001.severity = silent
# CA1002: Do not expose generic lists
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002
dotnet_diagnostic.CA1002.severity = none
# CA1003: Use generic event handler instances
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1003
dotnet_diagnostic.CA1003.severity = warning
dotnet_code_quality.CA1003.api_surface = private, internal
# CA1005: Avoid excessive parameters on generic types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1005
dotnet_diagnostic.CA1005.severity = none
# CA1008: Enums should have zero value
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1008
dotnet_diagnostic.CA1008.severity = none
dotnet_code_quality.CA1008.api_surface = public
# CA1010: Generic interface should also be implemented
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1010
dotnet_diagnostic.CA1010.severity = silent
dotnet_code_quality.CA1010.api_surface = public
# CA1012: Abstract types should not have public constructors
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012
dotnet_diagnostic.CA1012.severity = warning
dotnet_code_quality.CA1012.api_surface = all
# CA1014: Mark assemblies with CLSCompliant
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1014
dotnet_diagnostic.CA1014.severity = none
# CA1016: Mark assemblies with assembly version
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1016
dotnet_diagnostic.CA1016.severity = warning
# CA1017: Mark assemblies with ComVisible
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1017
dotnet_diagnostic.CA1017.severity = none
# CA1018: Mark attributes with AttributeUsageAttribute
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1018
dotnet_diagnostic.CA1018.severity = warning
# CA1019: Define accessors for attribute arguments
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1019
dotnet_diagnostic.CA1019.severity = none
# CA1021: Avoid out parameters
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1021
dotnet_diagnostic.CA1021.severity = none
# CA1024: Use properties where appropriate
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1024
dotnet_diagnostic.CA1024.severity = none
dotnet_code_quality.CA1024.api_surface = public
# CA1027: Mark enums with FlagsAttribute
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1027
dotnet_diagnostic.CA1027.severity = none
dotnet_code_quality.CA1027.api_surface = public
# CA1028: Enum Storage should be Int32
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1028
dotnet_diagnostic.CA1028.severity = none
dotnet_code_quality.CA1028.api_surface = public
# CA1030: Use events where appropriate
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1030
dotnet_diagnostic.CA1030.severity = none
dotnet_code_quality.CA1030.api_surface = public
# CA1031: Do not catch general exception types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031
dotnet_diagnostic.CA1031.severity = none
# CA1032: Implement standard exception constructors
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1032
dotnet_diagnostic.CA1032.severity = none
# CA1033: Interface methods should be callable by child types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1033
dotnet_diagnostic.CA1033.severity = none
# CA1034: Nested types should not be visible
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034
dotnet_diagnostic.CA1034.severity = none
# CA1036: Override methods on comparable types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1036
dotnet_diagnostic.CA1036.severity = silent
dotnet_code_quality.CA1036.api_surface = public
# CA1040: Avoid empty interfaces
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1040
dotnet_diagnostic.CA1040.severity = none
dotnet_code_quality.CA1040.api_surface = public
# CA1041: Provide ObsoleteAttribute message
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1041
dotnet_diagnostic.CA1041.severity = warning
dotnet_code_quality.CA1041.api_surface = public
# CA1043: Use Integral Or String Argument For Indexers
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1043
dotnet_diagnostic.CA1043.severity = warning
dotnet_code_quality.CA1043.api_surface = all
# CA1044: Properties should not be write only
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1044
dotnet_diagnostic.CA1044.severity = none
dotnet_code_quality.CA1044.api_surface = public
# CA1045: Do not pass types by reference
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1045
dotnet_diagnostic.CA1045.severity = none
# CA1046: Do not overload equality operator on reference types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1046
dotnet_diagnostic.CA1046.severity = none
# CA1047: Do not declare protected member in sealed type
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1047
dotnet_diagnostic.CA1047.severity = warning
# CA1050: Declare types in namespaces
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1050
dotnet_diagnostic.CA1050.severity = warning
# CA1051: Do not declare visible instance fields
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1051
dotnet_diagnostic.CA1051.severity = silent
dotnet_code_quality.CA1051.api_surface = public
# CA1052: Static holder types should be Static or NotInheritable
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1052
dotnet_diagnostic.CA1052.severity = warning
dotnet_code_quality.CA1052.api_surface = all
# CA1054: URI-like parameters should not be strings
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1054
dotnet_diagnostic.CA1054.severity = none
dotnet_code_quality.CA1054.api_surface = public
# CA1055: URI-like return values should not be strings
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1055
dotnet_diagnostic.CA1055.severity = none
dotnet_code_quality.CA1055.api_surface = public
# CA1056: URI-like properties should not be strings
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056
dotnet_diagnostic.CA1056.severity = none
dotnet_code_quality.CA1056.api_surface = public
# CA1058: Types should not extend certain base types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1058
dotnet_diagnostic.CA1058.severity = none
dotnet_code_quality.CA1058.api_surface = public
# CA1060: Move pinvokes to native methods class
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1060
dotnet_diagnostic.CA1060.severity = none
# CA1061: Do not hide base class methods
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1061
dotnet_diagnostic.CA1061.severity = warning
# CA1062: Validate arguments of public methods
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062
dotnet_diagnostic.CA1062.severity = none
# CA1063: Implement IDisposable Correctly
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1063
dotnet_diagnostic.CA1063.severity = none
dotnet_code_quality.CA1063.api_surface = public
# CA1064: Exceptions should be public
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1064
dotnet_diagnostic.CA1064.severity = none
# CA1065: Do not raise exceptions in unexpected locations
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1065
dotnet_diagnostic.CA1065.severity = warning
# CA1066: Implement IEquatable when overriding Object.Equals
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1066
dotnet_diagnostic.CA1066.severity = none
# CA1067: Override Object.Equals(object) when implementing IEquatable<T>
# # https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067
dotnet_diagnostic.CA1067.severity = warning
# CA1068: CancellationToken parameters must come last
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1068
dotnet_diagnostic.CA1068.severity = warning
# CA1069: Enums values should not be duplicated
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1069
dotnet_diagnostic.CA1069.severity = suggestion
# CA1070: Do not declare event fields as virtual
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1070
dotnet_diagnostic.CA1070.severity = warning
# CA1200: Avoid using cref tags with a prefix
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1200
dotnet_diagnostic.CA1200.severity = silent
# CA1303: Do not pass literals as localized parameters
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303
dotnet_diagnostic.CA1303.severity = none
# CA1304: Specify CultureInfo
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304
dotnet_diagnostic.CA1304.severity = silent
# CA1305: Specify IFormatProvider
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305
dotnet_diagnostic.CA1305.severity = silent
# CA1307: Specify StringComparison for clarity
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307
dotnet_diagnostic.CA1307.severity = none
# CA1308: Normalize strings to uppercase
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308
dotnet_diagnostic.CA1308.severity = none
# CA1309: Use ordinal string comparison
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1309
dotnet_diagnostic.CA1309.severity = silent
# CA1310: Specify StringComparison for correctness
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310
dotnet_diagnostic.CA1310.severity = silent
# CA1401: P/Invokes should not be visible
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1401
dotnet_diagnostic.CA1401.severity = warning
# CA1416: Validate platform compatibility
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416
dotnet_diagnostic.CA1416.severity = warning
# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1417
dotnet_diagnostic.CA1417.severity = warning
# CA1418: Use valid platform string
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1418
dotnet_diagnostic.CA1418.severity = warning
# CA1501: Avoid excessive inheritance
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1501
dotnet_diagnostic.CA1501.severity = none
# CA1502: Avoid excessive complexity
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502
dotnet_diagnostic.CA1502.severity = none
# CA1505: Avoid unmaintainable code
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1505
dotnet_diagnostic.CA1505.severity = none
# CA1506: Avoid excessive class coupling
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1506
dotnet_diagnostic.CA1506.severity = none
# CA1507: Use nameof to express symbol names
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1507
dotnet_diagnostic.CA1507.severity = suggestion
# CA1508: Avoid dead conditional code
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508
dotnet_diagnostic.CA1508.severity = none
# CA1509: Invalid entry in code metrics rule specification file
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1509
dotnet_diagnostic.CA1509.severity = none
# CA1700: Do not name enum values 'Reserved'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700
dotnet_diagnostic.CA1700.severity = none
# CA1707: Identifiers should not contain underscores
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707
dotnet_diagnostic.CA1707.severity = silent
# CA1708: Identifiers should differ by more than case
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1708
dotnet_diagnostic.CA1708.severity = silent
dotnet_code_quality.CA1708.api_surface = public
# CA1710: Identifiers should have correct suffix
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1710
dotnet_diagnostic.CA1710.severity = silent
dotnet_code_quality.CA1710.api_surface = public
# CA1711: Identifiers should not have incorrect suffix
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1711
dotnet_diagnostic.CA1711.severity = silent
dotnet_code_quality.CA1711.api_surface = public
# CA1712: Do not prefix enum values with type name
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1712
dotnet_diagnostic.CA1712.severity = silent
# CA1713: Events should not have 'Before' or 'After' prefix
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1713
dotnet_diagnostic.CA1713.severity = none
# CA1715: Identifiers should have correct prefix
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1715
dotnet_diagnostic.CA1715.severity = silent
dotnet_code_quality.CA1715.api_surface = public
# CA1716: Identifiers should not match keywords
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716
dotnet_diagnostic.CA1716.severity = silent
dotnet_code_quality.CA1716.api_surface = public
# CA1720: Identifier contains type name
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1720
dotnet_diagnostic.CA1720.severity = silent
dotnet_code_quality.CA1720.api_surface = public
# CA1721: Property names should not match get methods
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1721
dotnet_diagnostic.CA1721.severity = none
dotnet_code_quality.CA1721.api_surface = public
# CA1724: Type names should not match namespaces
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724
dotnet_diagnostic.CA1724.severity = none
# CA1725: Parameter names should match base declaration
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725
dotnet_diagnostic.CA1725.severity = silent
dotnet_code_quality.CA1725.api_surface = public
# CA1801: Review unused parameters
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1801
dotnet_diagnostic.CA1801.severity = none
dotnet_code_quality.CA1801.api_surface = all
# CA1802: Use literals where appropriate
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1802
dotnet_diagnostic.CA1802.severity = none
dotnet_code_quality.CA1802.api_surface = public
# CA1805: Do not initialize unnecessarily
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805
dotnet_diagnostic.CA1805.severity = suggestion
# CA1806: Do not ignore method results
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1806
dotnet_diagnostic.CA1806.severity = suggestion
# CA1810: Initialize reference type static fields inline
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1810
dotnet_diagnostic.CA1810.severity = none
# CA1812: Avoid uninstantiated internal classes
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812
dotnet_diagnostic.CA1812.severity = warning
# CA1813: Avoid unsealed attributes
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813
dotnet_diagnostic.CA1813.severity = none
# CA1814: Prefer jagged arrays over multidimensional
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1814
dotnet_diagnostic.CA1814.severity = none
# CA1815: Override equals and operator equals on value types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1815
dotnet_diagnostic.CA1815.severity = none
dotnet_code_quality.CA1815.api_surface = public
# CA1816: Dispose methods should call SuppressFinalize
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816
dotnet_diagnostic.CA1816.severity = warning
# CA1819: Properties should not return arrays
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819
dotnet_diagnostic.CA1819.severity = none
dotnet_code_quality.CA1819.api_surface = public
# CA1820: Test for empty strings using string length
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1820
dotnet_diagnostic.CA1820.severity = none
# CA1821: Remove empty Finalizers
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1821
dotnet_diagnostic.CA1821.severity = warning
# CA1822: Mark members as static
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822
dotnet_diagnostic.CA1822.severity = warning
dotnet_code_quality.CA1822.api_surface = private
# CA1823: Avoid unused private fields
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823
dotnet_diagnostic.CA1823.severity = none
# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1824
dotnet_diagnostic.CA1824.severity = warning
# CA1825: Avoid zero-length array allocations
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825
dotnet_diagnostic.CA1825.severity = warning
# CA1826: Do not use Enumerable methods on indexable collections
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1826
dotnet_diagnostic.CA1826.severity = warning
# CA1827: Do not use Count() or LongCount() when Any() can be used
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1827
dotnet_diagnostic.CA1827.severity = warning
# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1828
dotnet_diagnostic.CA1828.severity = warning
# CA1829: Use Length/Count property instead of Count() when available
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1829
dotnet_diagnostic.CA1829.severity = warning
# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1830
dotnet_diagnostic.CA1830.severity = warning
# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1831
dotnet_diagnostic.CA1831.severity = warning
# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1832
dotnet_diagnostic.CA1832.severity = warning
# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1833
dotnet_diagnostic.CA1833.severity = warning
# CA1834: Consider using 'StringBuilder.Append(char)' when applicable
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834
dotnet_diagnostic.CA1834.severity = warning
# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835
dotnet_diagnostic.CA1835.severity = suggestion
# CA1836: Prefer IsEmpty over Count
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1836
dotnet_diagnostic.CA1836.severity = warning
# CA1837: Use 'Environment.ProcessId'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1837
dotnet_diagnostic.CA1837.severity = warning
# CA1838: Avoid 'StringBuilder' parameters for P/Invokes
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1838
dotnet_diagnostic.CA1838.severity = silent
# CA1839: Use 'Environment.ProcessPath'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1839
dotnet_diagnostic.CA1839.severity = warning
# CA1840: Use 'Environment.CurrentManagedThreadId'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1840
dotnet_diagnostic.CA1840.severity = warning
# CA1841: Prefer Dictionary.Contains methods
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1841
dotnet_diagnostic.CA1841.severity = warning
# CA1842: Do not use 'WhenAll' with a single task
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1842
dotnet_diagnostic.CA1842.severity = warning
# CA1843: Do not use 'WaitAll' with a single task
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1843
dotnet_diagnostic.CA1843.severity = warning
# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1844
dotnet_diagnostic.CA1844.severity = warning
# CA1845: Use span-based 'string.Concat'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1845
dotnet_diagnostic.CA1845.severity = warning
# CA1846: Prefer 'AsSpan' over 'Substring'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1846
dotnet_diagnostic.CA1846.severity = warning
# CA1847: Use char literal for a single character lookup
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1847
dotnet_diagnostic.CA1847.severity = warning
# CA2000: Dispose objects before losing scope
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000
dotnet_diagnostic.CA2000.severity = none
# CA2002: Do not lock on objects with weak identity
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2002
dotnet_diagnostic.CA2002.severity = none
# CA2007: Consider calling ConfigureAwait on the awaited task
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007
dotnet_diagnostic.CA2007.severity = none
# CA2008: Do not create tasks without passing a TaskScheduler
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2008
dotnet_diagnostic.CA2008.severity = none
# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2009
dotnet_diagnostic.CA2009.severity = warning
# CA2011: Avoid infinite recursion
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2011
dotnet_diagnostic.CA2011.severity = warning
# CA2012: Use ValueTasks correctly
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2012
dotnet_diagnostic.CA2012.severity = warning
# CA2013: Do not use ReferenceEquals with value types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2013
dotnet_diagnostic.CA2013.severity = warning
# CA2014: Do not use stackalloc in loops
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2014
dotnet_diagnostic.CA2014.severity = warning
# CA2015: Do not define finalizers for types derived from MemoryManager<T>
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2015
dotnet_diagnostic.CA2015.severity = warning
# CA2016: Forward the 'CancellationToken' parameter to methods that take one
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2016
dotnet_diagnostic.CA2016.severity = suggestion
# CA2100: Review SQL queries for security vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100
dotnet_diagnostic.CA2100.severity = none
# CA2101: Specify marshaling for P/Invoke string arguments
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2101
dotnet_diagnostic.CA2101.severity = suggestion
# CA2109: Review visible event handlers
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2109
dotnet_diagnostic.CA2109.severity = none
# CA2119: Seal methods that satisfy private interfaces
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2119
dotnet_diagnostic.CA2119.severity = none
# CA2153: Do Not Catch Corrupted State Exceptions
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2153
dotnet_diagnostic.CA2153.severity = none
# CA2200: Rethrow to preserve stack details
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2200
dotnet_diagnostic.CA2200.severity = warning
# CA2201: Do not raise reserved exception types
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201
dotnet_diagnostic.CA2201.severity = silent
# CA2207: Initialize value type static fields inline
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2207
dotnet_diagnostic.CA2207.severity = warning
# CA2208: Instantiate argument exceptions correctly
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208
dotnet_diagnostic.CA2208.severity = suggestion
dotnet_code_quality.CA2208.api_surface = all
# CA2211: Non-constant fields should not be visible
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211
dotnet_diagnostic.CA2211.severity = warning
# CA2213: Disposable fields should be disposed
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2213
dotnet_diagnostic.CA2213.severity = none
# CA2214: Do not call overridable methods in constructors
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2214
dotnet_diagnostic.CA2214.severity = none
# CA2215: Dispose methods should call base class dispose
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2215
dotnet_diagnostic.CA2215.severity = silent
# CA2216: Disposable types should declare finalizer
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2216
dotnet_diagnostic.CA2216.severity = warning
# CA2217: Do not mark enums with FlagsAttribute
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2217
dotnet_diagnostic.CA2217.severity = none
dotnet_code_quality.CA2217.api_surface = public
# CA2218: Override GetHashCode on overriding Equals
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2218
dotnet_diagnostic.CA2218.severity = suggestion
# CA2219: Do not raise exceptions in finally clauses
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2219
dotnet_diagnostic.CA2219.severity = suggestion
# CA2224: Override Equals on overloading operator equals
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2224
dotnet_diagnostic.CA2224.severity = suggestion
# CA2225: Operator overloads have named alternates
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225
dotnet_diagnostic.CA2225.severity = none
dotnet_code_quality.CA2225.api_surface = public
# CA2226: Operators should have symmetrical overloads
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2226
dotnet_diagnostic.CA2226.severity = none
dotnet_code_quality.CA2226.api_surface = public
# CA2227: Collection properties should be read only
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227
dotnet_diagnostic.CA2227.severity = none
# CA2229: Implement serialization constructors
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2229
dotnet_diagnostic.CA2229.severity = silent
# CA2231: Overload operator equals on overriding value type Equals
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2231
dotnet_diagnostic.CA2231.severity = suggestion
dotnet_code_quality.CA2231.api_surface = public
# CA2234: Pass system uri objects instead of strings
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2234
dotnet_diagnostic.CA2234.severity = none
dotnet_code_quality.CA2234.api_surface = public
# CA2235: Mark all non-serializable fields
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2235
dotnet_diagnostic.CA2235.severity = none
# CA2237: Mark ISerializable types with serializable
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2237
dotnet_diagnostic.CA2237.severity = none
# CA2241: Provide correct arguments to formatting methods
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2241
dotnet_diagnostic.CA2241.severity = suggestion
# CA2242: Test for NaN correctly
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2242
dotnet_diagnostic.CA2242.severity = suggestion
# CA2243: Attribute string literals should parse correctly
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2243
dotnet_diagnostic.CA2243.severity = warning
# CA2244: Do not duplicate indexed element initializations
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2244
dotnet_diagnostic.CA2244.severity = suggestion
# CA2245: Do not assign a property to itself
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2245
dotnet_diagnostic.CA2245.severity = suggestion
# CA2246: Assigning symbol and its member in the same statement
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2246
dotnet_diagnostic.CA2246.severity = suggestion
# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2247
dotnet_diagnostic.CA2247.severity = warning
# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2248
dotnet_diagnostic.CA2248.severity = suggestion
# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249
dotnet_diagnostic.CA2249.severity = warning
# CA2250: Use 'ThrowIfCancellationRequested'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2250
dotnet_diagnostic.CA2250.severity = warning
# CA2251: Use 'string.Equals'
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2251
dotnet_diagnostic.CA2251.severity = warning
# CA2252: This API requires opting into preview features
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2252
dotnet_diagnostic.CA2251.severity = none
# CA2300: Do not use insecure deserializer BinaryFormatter
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2300
dotnet_diagnostic.CA2300.severity = none
# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2301
dotnet_diagnostic.CA2301.severity = none
# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2302
dotnet_diagnostic.CA2302.severity = none
# CA2305: Do not use insecure deserializer LosFormatter
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2305
dotnet_diagnostic.CA2305.severity = none
# CA2310: Do not use insecure deserializer NetDataContractSerializer
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2310
dotnet_diagnostic.CA2310.severity = none
# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2311
dotnet_diagnostic.CA2311.severity = none
# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2312
dotnet_diagnostic.CA2312.severity = none
# CA2315: Do not use insecure deserializer ObjectStateFormatter
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2315
dotnet_diagnostic.CA2315.severity = none
# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2321
dotnet_diagnostic.CA2321.severity = none
# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2322
dotnet_diagnostic.CA2322.severity = none
# CA2326: Do not use TypeNameHandling values other than None
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2326
dotnet_diagnostic.CA2326.severity = none
# CA2327: Do not use insecure JsonSerializerSettings
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2327
dotnet_diagnostic.CA2327.severity = none
# CA2328: Ensure that JsonSerializerSettings are secure
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2328
dotnet_diagnostic.CA2328.severity = none
# CA2329: Do not deserialize with JsonSerializer using an insecure configuration
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2329
dotnet_diagnostic.CA2329.severity = none
# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2330
dotnet_diagnostic.CA2330.severity = none
# CA2350: Do not use DataTable.ReadXml() with untrusted data
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2350
dotnet_diagnostic.CA2350.severity = none
# CA2351: Do not use DataSet.ReadXml() with untrusted data
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2351
dotnet_diagnostic.CA2351.severity = none
# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2352
dotnet_diagnostic.CA2352.severity = none
# CA2353: Unsafe DataSet or DataTable in serializable type
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2353
dotnet_diagnostic.CA2353.severity = none
# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2354
dotnet_diagnostic.CA2354.severity = none
# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2355
dotnet_diagnostic.CA2355.severity = none
# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2356
dotnet_diagnostic.CA2356.severity = none
# CA2361: Ensure autogenerated class containing DataSet.ReadXml() is not used with untrusted data
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2361
dotnet_diagnostic.CA2361.severity = none
# CA2362: Unsafe DataSet or DataTable in autogenerated serializable type can be vulnerable to remote code execution attacks
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2362
dotnet_diagnostic.CA2362.severity = none
# CA3001: Review code for SQL injection vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3001
dotnet_diagnostic.CA3001.severity = none
# CA3002: Review code for XSS vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3002
dotnet_diagnostic.CA3002.severity = none
# CA3003: Review code for file path injection vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3003
dotnet_diagnostic.CA3003.severity = none
# CA3004: Review code for information disclosure vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3004
dotnet_diagnostic.CA3004.severity = none
# CA3005: Review code for LDAP injection vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3005
dotnet_diagnostic.CA3005.severity = none
# CA3006: Review code for process command injection vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3006
dotnet_diagnostic.CA3006.severity = none
# CA3007: Review code for open redirect vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3007
dotnet_diagnostic.CA3007.severity = none
# CA3008: Review code for XPath injection vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3008
dotnet_diagnostic.CA3008.severity = none
# CA3009: Review code for XML injection vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3009
dotnet_diagnostic.CA3009.severity = none
# CA3010: Review code for XAML injection vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3010
dotnet_diagnostic.CA3010.severity = none
# CA3011: Review code for DLL injection vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3011
dotnet_diagnostic.CA3011.severity = none
# CA3012: Review code for regex injection vulnerabilities
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3012
dotnet_diagnostic.CA3012.severity = none
# CA3061: Do Not Add Schema By URL
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3061
dotnet_diagnostic.CA3061.severity = silent
# CA3075: Insecure DTD processing in XML
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3075
dotnet_diagnostic.CA3075.severity = silent
# CA3076: Insecure XSLT script processing.
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3076
dotnet_diagnostic.CA3076.severity = silent
# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3077
dotnet_diagnostic.CA3077.severity = silent
# CA3147: Mark Verb Handlers With Validate Antiforgery Token
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca3147
dotnet_diagnostic.CA3147.severity = silent
# CA5350: Do Not Use Weak Cryptographic Algorithms
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5350
dotnet_diagnostic.CA5350.severity = silent
# CA5351: Do Not Use Broken Cryptographic Algorithms
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5351
dotnet_diagnostic.CA5351.severity = silent
# CA5358: Review cipher mode usage with cryptography experts
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5358
dotnet_diagnostic.CA5358.severity = none
# CA5359: Do Not Disable Certificate Validation
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5359
dotnet_diagnostic.CA5359.severity = silent
# CA5360: Do Not Call Dangerous Methods In Deserialization
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5360
dotnet_diagnostic.CA5360.severity = silent
# CA5361: Do Not Disable SChannel Use of Strong Crypto
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5361
dotnet_diagnostic.CA5361.severity = none
# CA5362: Potential reference cycle in deserialized object graph
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5362
dotnet_diagnostic.CA5362.severity = none
# CA5363: Do Not Disable Request Validation
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5363
dotnet_diagnostic.CA5363.severity = silent
# CA5364: Do Not Use Deprecated Security Protocols
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5364
dotnet_diagnostic.CA5364.severity = silent
# CA5365: Do Not Disable HTTP Header Checking
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5365
dotnet_diagnostic.CA5365.severity = silent
# CA5366: Use XmlReader For DataSet Read Xml
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5366
dotnet_diagnostic.CA5366.severity = silent
# CA5367: Do Not Serialize Types With Pointer Fields
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5367
dotnet_diagnostic.CA5367.severity = none
# CA5368: Set ViewStateUserKey For Classes Derived From Page
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5368
dotnet_diagnostic.CA5368.severity = silent
# CA5369: Use XmlReader For Deserialize
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5369
dotnet_diagnostic.CA5369.severity = silent
# CA5370: Use XmlReader For Validating Reader
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5370
dotnet_diagnostic.CA5370.severity = silent
# CA5371: Use XmlReader For Schema Read
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5371
dotnet_diagnostic.CA5371.severity = silent
# CA5372: Use XmlReader For XPathDocument
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5372
dotnet_diagnostic.CA5372.severity = silent
# CA5373: Do not use obsolete key derivation function
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5373
dotnet_diagnostic.CA5373.severity = silent
# CA5374: Do Not Use XslTransform
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5374
dotnet_diagnostic.CA5374.severity = silent
# CA5375: Do Not Use Account Shared Access Signature
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5375
dotnet_diagnostic.CA5375.severity = none
# CA5376: Use SharedAccessProtocol HttpsOnly
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5376
dotnet_diagnostic.CA5376.severity = none
# CA5377: Use Container Level Access Policy
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5377
dotnet_diagnostic.CA5377.severity = none
# CA5378: Do not disable ServicePointManagerSecurityProtocols
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5378
dotnet_diagnostic.CA5378.severity = none
# CA5379: Do Not Use Weak Key Derivation Function Algorithm
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5379
dotnet_diagnostic.CA5379.severity = silent
# CA5380: Do Not Add Certificates To Root Store
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5380
dotnet_diagnostic.CA5380.severity = none
# CA5381: Ensure Certificates Are Not Added To Root Store
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5381
dotnet_diagnostic.CA5381.severity = none
# CA5382: Use Secure Cookies In ASP.Net Core
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5382
dotnet_diagnostic.CA5382.severity = none
# CA5383: Ensure Use Secure Cookies In ASP.Net Core
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5383
dotnet_diagnostic.CA5383.severity = none
# CA5384: Do Not Use Digital Signature Algorithm (DSA)
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5384
dotnet_diagnostic.CA5384.severity = silent
# CA5385: Use Rivest–Shamir–Adleman (RSA) Algorithm With Sufficient Key Size
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5385
dotnet_diagnostic.CA5385.severity = silent
# CA5386: Avoid hardcoding SecurityProtocolType value
# https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5386