-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
3738 lines (3731 loc) · 350 KB
/
.editorconfig
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
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = 4
tab_width = 4
max_line_length = 100000
[*.csproj]
ij_xml_align_attributes = true
ij_xml_align_text = false
ij_xml_attribute_wrap = normal
ij_xml_block_comment_add_space = false
ij_xml_block_comment_at_first_column = true
ij_xml_keep_blank_lines = 2
ij_xml_keep_indents_on_empty_lines = false
ij_xml_keep_line_breaks = true
ij_xml_keep_line_breaks_in_text = true
ij_xml_keep_whitespaces = false
ij_xml_keep_whitespaces_around_cdata = preserve
ij_xml_keep_whitespaces_inside_cdata = false
ij_xml_line_comment_at_first_column = true
ij_xml_space_after_tag_name = false
ij_xml_space_around_equals_in_attribute = false
ij_xml_space_inside_empty_tag = false
ij_xml_text_wrap = off
[*.cs]
# Microsoft .NET properties
csharp_indent_braces = false
csharp_indent_switch_labels = true
csharp_new_line_before_catch = false
csharp_new_line_before_else = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_open_brace = none
csharp_new_line_between_query_expression_clauses = true
csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion
csharp_prefer_braces = true:none
csharp_preserve_single_line_blocks = true
csharp_space_after_cast = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_after_semicolon_in_for_statement = true
csharp_space_around_binary_operators = before_and_after
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_before_comma = false
csharp_space_before_dot = false
csharp_space_before_open_square_brackets = false
csharp_space_before_semicolon_in_for_statement = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_between_square_brackets = false
csharp_style_namespace_declarations = file_scoped:suggestion
csharp_style_prefer_utf8_string_literals = true:suggestion
csharp_style_var_elsewhere = true:suggestion
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_using_directive_placement = outside_namespace:silent
# error messages
dotnet_diagnostic.ca1000.severity = none # Do not declare static members on generic types
dotnet_diagnostic.ca1001.severity = none # Types that own disposable fields should be disposable
dotnet_diagnostic.ca1002.severity = none # Do not expose generic lists
dotnet_diagnostic.ca1003.severity = warning # Use generic event handler instances
dotnet_diagnostic.ca1005.severity = none # Avoid excessive parameters on generic types
dotnet_diagnostic.ca1008.severity = none # Enums should have zero value
dotnet_diagnostic.ca1010.severity = none # Generic interface should also be implemented
dotnet_diagnostic.ca1012.severity = warning # Abstract types should not have public constructors
dotnet_diagnostic.ca1014.severity = warning # Mark assemblies with CLSCompliant
dotnet_diagnostic.ca1016.severity = suggestion # Mark assemblies with assembly version
dotnet_diagnostic.ca1017.severity = warning # Mark assemblies with ComVisible
dotnet_diagnostic.ca1018.severity = error # Mark attributes with AttributeUsageAttribute
dotnet_diagnostic.ca1019.severity = none # Define accessors for attribute arguments
dotnet_diagnostic.ca1021.severity = none # Avoid out parameters
dotnet_diagnostic.ca1024.severity = warning # Use properties where appropriate
dotnet_diagnostic.ca1027.severity = none # Mark enums with FlagsAttribute
dotnet_diagnostic.ca1028.severity = none # Enum Storage should be Int32
dotnet_diagnostic.ca1030.severity = warning # Use events where appropriate
dotnet_diagnostic.ca1031.severity = none # Do not catch general exception types
dotnet_diagnostic.ca1032.severity = warning # Implement standard exception constructors
dotnet_diagnostic.ca1033.severity = warning # Interface methods should be callable by child types
dotnet_diagnostic.ca1034.severity = none # Nested types should not be visible
dotnet_diagnostic.ca1036.severity = none # Override methods on comparable types
dotnet_diagnostic.ca1040.severity = none # Avoid empty interfaces
dotnet_diagnostic.ca1041.severity = error # Provide ObsoleteAttribute message
dotnet_diagnostic.ca1043.severity = none # Use Integral Or String Argument For Indexers
dotnet_diagnostic.ca1044.severity = warning # Properties should not be write only
dotnet_diagnostic.ca1045.severity = none # Do not pass types by reference
dotnet_diagnostic.ca1046.severity = warning # Do not overload equality operator on reference types
dotnet_diagnostic.ca1047.severity = suggestion # Do not declare protected member in sealed type
dotnet_diagnostic.ca1050.severity = suggestion # Declare types in namespaces
dotnet_diagnostic.ca1051.severity = none # Do not declare visible instance fields
dotnet_diagnostic.ca1052.severity = warning # Static holder types should be Static or NotInheritable
dotnet_diagnostic.ca1054.severity = warning # URI-like parameters should not be strings
dotnet_diagnostic.ca1055.severity = warning # URI-like return values should not be strings
dotnet_diagnostic.ca1056.severity = none # URI-like properties should not be strings
dotnet_diagnostic.ca1058.severity = warning # Types should not extend certain base types
dotnet_diagnostic.ca1060.severity = error # Move pinvokes to native methods class
dotnet_diagnostic.ca1061.severity = error # Do not hide base class methods
dotnet_diagnostic.ca1062.severity = none # Validate arguments of public methods
dotnet_diagnostic.ca1063.severity = error # Implement IDisposable Correctly
dotnet_diagnostic.ca1064.severity = error # Exceptions should be public
dotnet_diagnostic.ca1065.severity = warning # Do not raise exceptions in unexpected locations
dotnet_diagnostic.ca1066.severity = warning # Implement IEquatable when overriding Object.Equals
dotnet_diagnostic.ca1067.severity = suggestion # Override Object.Equals(object) when implementing IEquatable<T>
dotnet_diagnostic.ca1068.severity = suggestion # CancellationToken parameters must come last
dotnet_diagnostic.ca1069.severity = none # Enums values should not be duplicated
dotnet_diagnostic.ca1070.severity = error # Do not declare event fields as virtual
dotnet_diagnostic.ca1200.severity = none # Avoid using cref tags with a prefix
dotnet_diagnostic.ca1303.severity = none # Do not pass literals as localized parameters
dotnet_diagnostic.ca1304.severity = none # Specify CultureInfo
dotnet_diagnostic.ca1305.severity = none # Specify IFormatProvider
dotnet_diagnostic.ca1307.severity = warning # Specify StringComparison for clarity
dotnet_diagnostic.ca1308.severity = none # Normalize strings to uppercase
dotnet_diagnostic.ca1309.severity = none # Use ordinal string comparison
dotnet_diagnostic.ca1310.severity = none # Specify StringComparison for correctness
dotnet_diagnostic.ca1311.severity = none # Specify a culture or use an invariant version
dotnet_diagnostic.ca1401.severity = suggestion # P/Invokes should not be visible
dotnet_diagnostic.ca1416.severity = warning # Validate platform compatibility
dotnet_diagnostic.ca1417.severity = warning # Do not use 'OutAttribute' on string parameters for P/Invokes
dotnet_diagnostic.ca1418.severity = warning # Use valid platform string
dotnet_diagnostic.ca1419.severity = suggestion # Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle'
dotnet_diagnostic.ca1420.severity = warning # Property, type, or attribute requires runtime marshalling
dotnet_diagnostic.ca1421.severity = suggestion # This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied
dotnet_diagnostic.ca1422.severity = warning # Validate platform compatibility
dotnet_diagnostic.ca1501.severity = warning # Avoid excessive inheritance
dotnet_diagnostic.ca1502.severity = none # Avoid excessive complexity
dotnet_diagnostic.ca1505.severity = none # Avoid unmaintainable code
dotnet_diagnostic.ca1506.severity = none # Avoid excessive class coupling
dotnet_diagnostic.ca1507.severity = suggestion # Use nameof to express symbol names
dotnet_diagnostic.ca1508.severity = warning # Avoid dead conditional code
dotnet_diagnostic.ca1509.severity = warning # Invalid entry in code metrics rule specification file
dotnet_diagnostic.ca1510.severity = suggestion # Use ArgumentNullException throw helper
dotnet_diagnostic.ca1511.severity = suggestion # Use ArgumentException throw helper
dotnet_diagnostic.ca1512.severity = suggestion # Use ArgumentOutOfRangeException throw helper
dotnet_diagnostic.ca1513.severity = suggestion # Use ObjectDisposedException throw helper
dotnet_diagnostic.ca1514.severity = suggestion # Avoid redundant length argument
dotnet_diagnostic.ca1515.severity = warning # Consider making public types internal
dotnet_diagnostic.ca1700.severity = warning # Do not name enum values 'Reserved'
dotnet_diagnostic.ca1707.severity = none # Identifiers should not contain underscores
dotnet_diagnostic.ca1708.severity = none # Identifiers should differ by more than case
dotnet_diagnostic.ca1710.severity = none # Identifiers should have correct suffix
dotnet_diagnostic.ca1711.severity = none # Identifiers should not have incorrect suffix
dotnet_diagnostic.ca1712.severity = none # Do not prefix enum values with type name
dotnet_diagnostic.ca1713.severity = warning # Events should not have 'Before' or 'After' prefix
dotnet_diagnostic.ca1715.severity = none # Identifiers should have correct prefix
dotnet_diagnostic.ca1716.severity = none # Identifiers should not match keywords
dotnet_diagnostic.ca1720.severity = none # Identifier contains type name
dotnet_diagnostic.ca1721.severity = none # Property names should not match get methods
dotnet_diagnostic.ca1724.severity = none # Type names should not match namespaces
dotnet_diagnostic.ca1725.severity = none # Parameter names should match base declaration
dotnet_diagnostic.ca1727.severity = none # Use PascalCase for named placeholders
dotnet_diagnostic.ca1802.severity = warning # Use literals where appropriate
dotnet_diagnostic.ca1805.severity = none # Do not initialize unnecessarily
dotnet_diagnostic.ca1806.severity = suggestion # Do not ignore method results
dotnet_diagnostic.ca1810.severity = none # Initialize reference type static fields inline
dotnet_diagnostic.ca1812.severity = none # Avoid uninstantiated internal classes
dotnet_diagnostic.ca1813.severity = warning # Avoid unsealed attributes
dotnet_diagnostic.ca1814.severity = none # Prefer jagged arrays over multidimensional
dotnet_diagnostic.ca1815.severity = warning # Override equals and operator equals on value types
dotnet_diagnostic.ca1816.severity = suggestion # Dispose methods should call SuppressFinalize
dotnet_diagnostic.ca1819.severity = none # Properties should not return arrays
dotnet_diagnostic.ca1820.severity = warning # Test for empty strings using string length
dotnet_diagnostic.ca1821.severity = suggestion # Remove empty Finalizers
dotnet_diagnostic.ca1822.severity = suggestion # Mark members as static
dotnet_diagnostic.ca1823.severity = warning # Avoid unused private fields
dotnet_diagnostic.ca1824.severity = suggestion # Mark assemblies with NeutralResourcesLanguageAttribute
dotnet_diagnostic.ca1825.severity = error # Avoid zero-length array allocations
dotnet_diagnostic.ca1826.severity = suggestion # Do not use Enumerable methods on indexable collections
dotnet_diagnostic.ca1827.severity = suggestion # Do not use Count() or LongCount() when Any() can be used
dotnet_diagnostic.ca1828.severity = suggestion # Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used
dotnet_diagnostic.ca1829.severity = error # Use Length/Count property instead of Count() when available
dotnet_diagnostic.ca1830.severity = suggestion # Prefer strongly-typed Append and Insert method overloads on StringBuilder
dotnet_diagnostic.ca1831.severity = warning # Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.ca1832.severity = suggestion # Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.ca1833.severity = suggestion # Use AsSpan or AsMemory instead of Range-based indexers when appropriate
dotnet_diagnostic.ca1834.severity = suggestion # Consider using 'StringBuilder.Append(char)' when applicable
dotnet_diagnostic.ca1835.severity = error # Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync'
dotnet_diagnostic.ca1836.severity = error # Prefer IsEmpty over Count
dotnet_diagnostic.ca1837.severity = error # Use 'Environment.ProcessId'
dotnet_diagnostic.ca1838.severity = none # Avoid 'StringBuilder' parameters for P/Invokes
dotnet_diagnostic.ca1839.severity = error # Use 'Environment.ProcessPath'
dotnet_diagnostic.ca1840.severity = error # Use 'Environment.CurrentManagedThreadId'
dotnet_diagnostic.ca1841.severity = error # Prefer Dictionary.Contains methods
dotnet_diagnostic.ca1842.severity = error # Do not use 'WhenAll' with a single task
dotnet_diagnostic.ca1843.severity = error # Do not use 'WaitAll' with a single task
dotnet_diagnostic.ca1844.severity = suggestion # Provide memory-based overrides of async methods when subclassing 'Stream'
dotnet_diagnostic.ca1845.severity = suggestion # Use span-based 'string.Concat'
dotnet_diagnostic.ca1846.severity = suggestion # Prefer 'AsSpan' over 'Substring'
dotnet_diagnostic.ca1847.severity = suggestion # Use char literal for a single character lookup
dotnet_diagnostic.ca1848.severity = none # Use the LoggerMessage delegates
dotnet_diagnostic.ca1849.severity = warning # Call async methods when in an async method
dotnet_diagnostic.ca1850.severity = suggestion # Prefer static 'HashData' method over 'ComputeHash'
dotnet_diagnostic.ca1851.severity = warning # Possible multiple enumerations of 'IEnumerable' collection
dotnet_diagnostic.ca1852.severity = none # Seal internal types
dotnet_diagnostic.ca1853.severity = suggestion # Unnecessary call to 'Dictionary.ContainsKey(key)'
dotnet_diagnostic.ca1854.severity = suggestion # Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method
dotnet_diagnostic.ca1855.severity = suggestion # Prefer 'Clear' over 'Fill'
dotnet_diagnostic.ca1856.severity = error # Incorrect usage of ConstantExpected attribute
dotnet_diagnostic.ca1857.severity = warning # A constant is expected for the parameter
dotnet_diagnostic.ca1858.severity = suggestion # Use 'StartsWith' instead of 'IndexOf'
dotnet_diagnostic.ca1859.severity = suggestion # Use concrete types when possible for improved performance
dotnet_diagnostic.ca1860.severity = suggestion # Avoid using 'Enumerable.Any()' extension method
dotnet_diagnostic.ca1861.severity = suggestion # Avoid constant arrays as arguments
dotnet_diagnostic.ca1862.severity = suggestion # Use the 'StringComparison' method overloads to perform case-insensitive string comparisons
dotnet_diagnostic.ca1863.severity = none # Use 'CompositeFormat'
dotnet_diagnostic.ca1864.severity = suggestion # Prefer the 'IDictionary.TryAdd(TKey, TValue)' method
dotnet_diagnostic.ca1865.severity = suggestion # Use char overload
dotnet_diagnostic.ca1866.severity = suggestion # Use char overload
dotnet_diagnostic.ca1867.severity = warning # Use char overload
dotnet_diagnostic.ca1868.severity = suggestion # Unnecessary call to 'Contains(item)'
dotnet_diagnostic.ca1869.severity = suggestion # Cache and reuse 'JsonSerializerOptions' instances
dotnet_diagnostic.ca1870.severity = suggestion # Use a cached 'SearchValues' instance
dotnet_diagnostic.ca1871.severity = suggestion # Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull'
dotnet_diagnostic.ca1872.severity = suggestion # Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString'
dotnet_diagnostic.ca2000.severity = none # Dispose objects before losing scope
dotnet_diagnostic.ca2002.severity = warning # Do not lock on objects with weak identity
dotnet_diagnostic.ca2007.severity = none # Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.ca2008.severity = warning # Do not create tasks without passing a TaskScheduler
dotnet_diagnostic.ca2009.severity = suggestion # Do not call ToImmutableCollection on an ImmutableCollection value
dotnet_diagnostic.ca2011.severity = suggestion # Avoid infinite recursion
dotnet_diagnostic.ca2012.severity = suggestion # Use ValueTasks correctly
dotnet_diagnostic.ca2013.severity = warning # Do not use ReferenceEquals with value types
dotnet_diagnostic.ca2014.severity = warning # Do not use stackalloc in loops
dotnet_diagnostic.ca2015.severity = warning # Do not define finalizers for types derived from MemoryManager<T>
dotnet_diagnostic.ca2016.severity = suggestion # Forward the 'CancellationToken' parameter to methods
dotnet_diagnostic.ca2017.severity = warning # Parameter count mismatch
dotnet_diagnostic.ca2018.severity = warning # 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument
dotnet_diagnostic.ca2019.severity = suggestion # Improper 'ThreadStatic' field initialization
dotnet_diagnostic.ca2020.severity = suggestion # Prevent behavioral change
dotnet_diagnostic.ca2021.severity = warning # Do not call Enumerable.Cast<T> or Enumerable.OfType<T> with incompatible types
dotnet_diagnostic.ca2022.severity = warning # Avoid inexact read with 'Stream.Read'
dotnet_diagnostic.ca2100.severity = warning # Review SQL queries for security vulnerabilities
dotnet_diagnostic.ca2101.severity = suggestion # Specify marshaling for P/Invoke string arguments
dotnet_diagnostic.ca2119.severity = warning # Seal methods that satisfy private interfaces
dotnet_diagnostic.ca2153.severity = warning # Do Not Catch Corrupted State Exceptions
dotnet_diagnostic.ca2200.severity = warning # Rethrow to preserve stack details
dotnet_diagnostic.ca2201.severity = none # Do not raise reserved exception types
dotnet_diagnostic.ca2207.severity = warning # Initialize value type static fields inline
dotnet_diagnostic.ca2208.severity = suggestion # Instantiate argument exceptions correctly
dotnet_diagnostic.ca2211.severity = suggestion # Non-constant fields should not be visible
dotnet_diagnostic.ca2213.severity = warning # Disposable fields should be disposed
dotnet_diagnostic.ca2214.severity = warning # Do not call overridable methods in constructors
dotnet_diagnostic.ca2215.severity = none # Dispose methods should call base class dispose
dotnet_diagnostic.ca2216.severity = warning # Disposable types should declare finalizer
dotnet_diagnostic.ca2217.severity = none # Do not mark enums with FlagsAttribute
dotnet_diagnostic.ca2218.severity = suggestion # Override GetHashCode on overriding Equals
dotnet_diagnostic.ca2219.severity = suggestion # Do not raise exceptions in finally clauses
dotnet_diagnostic.ca2224.severity = suggestion # Override Equals on overloading operator equals
dotnet_diagnostic.ca2225.severity = none # Operator overloads have named alternates
dotnet_diagnostic.ca2226.severity = warning # Operators should have symmetrical overloads
dotnet_diagnostic.ca2227.severity = none # Collection properties should be read only
dotnet_diagnostic.ca2231.severity = suggestion # Overload operator equals on overriding value type Equals
dotnet_diagnostic.ca2234.severity = warning # Pass system uri objects instead of strings
dotnet_diagnostic.ca2235.severity = warning # Mark all non-serializable fields
dotnet_diagnostic.ca2237.severity = warning # Mark ISerializable types with serializable
dotnet_diagnostic.ca2241.severity = suggestion # Provide correct arguments to formatting methods
dotnet_diagnostic.ca2242.severity = suggestion # Test for NaN correctly
dotnet_diagnostic.ca2243.severity = warning # Attribute string literals should parse correctly
dotnet_diagnostic.ca2244.severity = suggestion # Do not duplicate indexed element initializations
dotnet_diagnostic.ca2245.severity = suggestion # Do not assign a property to itself
dotnet_diagnostic.ca2246.severity = suggestion # Assigning symbol and its member in the same statement
dotnet_diagnostic.ca2247.severity = warning # Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum
dotnet_diagnostic.ca2248.severity = suggestion # Provide correct 'enum' argument to 'Enum.HasFlag'
dotnet_diagnostic.ca2249.severity = suggestion # Consider using 'string.Contains' instead of 'string.IndexOf'
dotnet_diagnostic.ca2250.severity = suggestion # Use 'ThrowIfCancellationRequested'
dotnet_diagnostic.ca2251.severity = none # Use 'string.Equals'
dotnet_diagnostic.ca2252.severity = error # This API requires opting into preview features
dotnet_diagnostic.ca2253.severity = suggestion # Named placeholders should not be numeric values
dotnet_diagnostic.ca2254.severity = suggestion # Template should be a static expression
dotnet_diagnostic.ca2255.severity = warning # The 'ModuleInitializer' attribute should not be used in libraries
dotnet_diagnostic.ca2256.severity = warning # All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface
dotnet_diagnostic.ca2257.severity = warning # Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static'
dotnet_diagnostic.ca2258.severity = warning # Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported
dotnet_diagnostic.ca2259.severity = warning # 'ThreadStatic' only affects static fields
dotnet_diagnostic.ca2260.severity = warning # Use correct type parameter
dotnet_diagnostic.ca2261.severity = warning # Do not use ConfigureAwaitOptions.SuppressThrowing with Task<TResult>
dotnet_diagnostic.ca2262.severity = suggestion # Set 'MaxResponseHeadersLength' properly
dotnet_diagnostic.ca2263.severity = suggestion # Prefer generic overload when type is known
dotnet_diagnostic.ca2264.severity = warning # Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull'
dotnet_diagnostic.ca2265.severity = warning # Do not compare Span<T> to 'null' or 'default'
dotnet_diagnostic.ca2300.severity = warning # Do not use insecure deserializer BinaryFormatter
dotnet_diagnostic.ca2301.severity = warning # Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder
dotnet_diagnostic.ca2302.severity = warning # Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize
dotnet_diagnostic.ca2305.severity = warning # Do not use insecure deserializer LosFormatter
dotnet_diagnostic.ca2310.severity = warning # Do not use insecure deserializer NetDataContractSerializer
dotnet_diagnostic.ca2311.severity = warning # Do not deserialize without first setting NetDataContractSerializer.Binder
dotnet_diagnostic.ca2312.severity = warning # Ensure NetDataContractSerializer.Binder is set before deserializing
dotnet_diagnostic.ca2315.severity = warning # Do not use insecure deserializer ObjectStateFormatter
dotnet_diagnostic.ca2321.severity = warning # Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver
dotnet_diagnostic.ca2322.severity = warning # Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing
dotnet_diagnostic.ca2326.severity = warning # Do not use TypeNameHandling values other than None
dotnet_diagnostic.ca2327.severity = warning # Do not use insecure JsonSerializerSettings
dotnet_diagnostic.ca2328.severity = warning # Ensure that JsonSerializerSettings are secure
dotnet_diagnostic.ca2329.severity = warning # Do not deserialize with JsonSerializer using an insecure configuration
dotnet_diagnostic.ca2330.severity = warning # Ensure that JsonSerializer has a secure configuration when deserializing
dotnet_diagnostic.ca2350.severity = warning # Do not use DataTable.ReadXml() with untrusted data
dotnet_diagnostic.ca2351.severity = warning # Do not use DataSet.ReadXml() with untrusted data
dotnet_diagnostic.ca2352.severity = warning # Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks
dotnet_diagnostic.ca2353.severity = warning # Unsafe DataSet or DataTable in serializable type
dotnet_diagnostic.ca2354.severity = warning # Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks
dotnet_diagnostic.ca2355.severity = warning # Unsafe DataSet or DataTable type found in deserializable object graph
dotnet_diagnostic.ca2356.severity = warning # Unsafe DataSet or DataTable type in web deserializable object graph
dotnet_diagnostic.ca2361.severity = warning # Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data
dotnet_diagnostic.ca2362.severity = warning # Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks
dotnet_diagnostic.ca3001.severity = warning # Review code for SQL injection vulnerabilities
dotnet_diagnostic.ca3002.severity = warning # Review code for XSS vulnerabilities
dotnet_diagnostic.ca3003.severity = warning # Review code for file path injection vulnerabilities
dotnet_diagnostic.ca3004.severity = warning # Review code for information disclosure vulnerabilities
dotnet_diagnostic.ca3005.severity = warning # Review code for LDAP injection vulnerabilities
dotnet_diagnostic.ca3006.severity = warning # Review code for process command injection vulnerabilities
dotnet_diagnostic.ca3007.severity = warning # Review code for open redirect vulnerabilities
dotnet_diagnostic.ca3008.severity = warning # Review code for XPath injection vulnerabilities
dotnet_diagnostic.ca3009.severity = warning # Review code for XML injection vulnerabilities
dotnet_diagnostic.ca3010.severity = warning # Review code for XAML injection vulnerabilities
dotnet_diagnostic.ca3011.severity = warning # Review code for DLL injection vulnerabilities
dotnet_diagnostic.ca3012.severity = warning # Review code for regex injection vulnerabilities
dotnet_diagnostic.ca3061.severity = none # Do Not Add Schema By URL
dotnet_diagnostic.ca3075.severity = none # Insecure DTD processing in XML
dotnet_diagnostic.ca3076.severity = none # Insecure XSLT script processing
dotnet_diagnostic.ca3077.severity = none # Insecure Processing in API Design, XmlDocument and XmlTextReader
dotnet_diagnostic.ca3147.severity = none # Mark Verb Handlers With Validate Antiforgery Token
dotnet_diagnostic.ca5350.severity = none # Do Not Use Weak Cryptographic Algorithms
dotnet_diagnostic.ca5351.severity = none # Do Not Use Broken Cryptographic Algorithms
dotnet_diagnostic.ca5358.severity = none # Review cipher mode usage with cryptography experts
dotnet_diagnostic.ca5359.severity = none # Do Not Disable Certificate Validation
dotnet_diagnostic.ca5360.severity = none # Do Not Call Dangerous Methods In Deserialization
dotnet_diagnostic.ca5361.severity = warning # Do Not Disable SChannel Use of Strong Crypto
dotnet_diagnostic.ca5362.severity = warning # Potential reference cycle in deserialized object graph
dotnet_diagnostic.ca5363.severity = none # Do Not Disable Request Validation
dotnet_diagnostic.ca5364.severity = none # Do Not Use Deprecated Security Protocols
dotnet_diagnostic.ca5365.severity = none # Do Not Disable HTTP Header Checking
dotnet_diagnostic.ca5366.severity = none # Use XmlReader for 'DataSet.ReadXml()'
dotnet_diagnostic.ca5367.severity = warning # Do Not Serialize Types With Pointer Fields
dotnet_diagnostic.ca5368.severity = none # Set ViewStateUserKey For Classes Derived From Page
dotnet_diagnostic.ca5369.severity = none # Use XmlReader for 'XmlSerializer.Deserialize()'
dotnet_diagnostic.ca5370.severity = none # Use XmlReader for XmlValidatingReader constructor
dotnet_diagnostic.ca5371.severity = none # Use XmlReader for 'XmlSchema.Read()'
dotnet_diagnostic.ca5372.severity = none # Use XmlReader for XPathDocument constructor
dotnet_diagnostic.ca5373.severity = none # Do not use obsolete key derivation function
dotnet_diagnostic.ca5374.severity = none # Do Not Use XslTransform
dotnet_diagnostic.ca5375.severity = warning # Do Not Use Account Shared Access Signature
dotnet_diagnostic.ca5376.severity = warning # Use SharedAccessProtocol HttpsOnly
dotnet_diagnostic.ca5377.severity = warning # Use Container Level Access Policy
dotnet_diagnostic.ca5378.severity = warning # Do not disable ServicePointManagerSecurityProtocols
dotnet_diagnostic.ca5379.severity = none # Ensure Key Derivation Function algorithm is sufficiently strong
dotnet_diagnostic.ca5380.severity = warning # Do Not Add Certificates To Root Store
dotnet_diagnostic.ca5381.severity = warning # Ensure Certificates Are Not Added To Root Store
dotnet_diagnostic.ca5382.severity = warning # Use Secure Cookies In ASP.NET Core
dotnet_diagnostic.ca5383.severity = warning # Ensure Use Secure Cookies In ASP.NET Core
dotnet_diagnostic.ca5384.severity = none # Do Not Use Digital Signature Algorithm (DSA)
dotnet_diagnostic.ca5385.severity = none # Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size
dotnet_diagnostic.ca5386.severity = warning # Avoid hardcoding SecurityProtocolType value
dotnet_diagnostic.ca5387.severity = warning # Do Not Use Weak Key Derivation Function With Insufficient Iteration Count
dotnet_diagnostic.ca5388.severity = warning # Ensure Sufficient Iteration Count When Using Weak Key Derivation Function
dotnet_diagnostic.ca5389.severity = warning # Do Not Add Archive Item's Path To The Target File System Path
dotnet_diagnostic.ca5390.severity = warning # Do not hard-code encryption key
dotnet_diagnostic.ca5391.severity = error # Use antiforgery tokens in ASP.NET Core MVC controllers
dotnet_diagnostic.ca5392.severity = error # Use DefaultDllImportSearchPaths attribute for P/Invokes
dotnet_diagnostic.ca5393.severity = warning # Do not use unsafe DllImportSearchPath value
dotnet_diagnostic.ca5394.severity = warning # Do not use insecure randomness
dotnet_diagnostic.ca5395.severity = warning # Miss HttpVerb attribute for action methods
dotnet_diagnostic.ca5396.severity = warning # Set HttpOnly to true for HttpCookie
dotnet_diagnostic.ca5397.severity = none # Do not use deprecated SslProtocols values
dotnet_diagnostic.ca5398.severity = warning # Avoid hardcoded SslProtocols values
dotnet_diagnostic.ca5399.severity = warning # HttpClients should enable certificate revocation list checks
dotnet_diagnostic.ca5400.severity = warning # Ensure HttpClient certificate revocation list check is not disabled
dotnet_diagnostic.ca5401.severity = none # Do not use CreateEncryptor with non-default IV
dotnet_diagnostic.ca5402.severity = warning # Use CreateEncryptor with the default IV
dotnet_diagnostic.ca5403.severity = warning # Do not hard-code certificate
dotnet_diagnostic.ca5404.severity = warning # Do not disable token validation checks
dotnet_diagnostic.ca5405.severity = warning # Do not always skip token validation in delegates
dotnet_diagnostic.cs0006.severity = error # Metadata file '{0}' could not be found
dotnet_diagnostic.cs0009.severity = error # Metadata file '{0}' could not be opened -- {1}
dotnet_diagnostic.cs0012.severity = error # The type '{0}' is defined in an assembly that is not referenced. You must add a reference to assembly '{1}'.
dotnet_diagnostic.cs0016.severity = error # Could not write to output file '{0}' -- '{1}'
dotnet_diagnostic.cs0017.severity = error # Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point.
dotnet_diagnostic.cs0019.severity = error # Operator '{0}' cannot be applied to operands of type '{1}' and '{2}'
dotnet_diagnostic.cs0020.severity = error # Division by constant zero
dotnet_diagnostic.cs0021.severity = error # Cannot apply indexing with [] to an expression of type '{0}'
dotnet_diagnostic.cs0022.severity = error # Wrong number of indices inside []; expected {0}
dotnet_diagnostic.cs0023.severity = error # Operator '{0}' cannot be applied to operand of type '{1}'
dotnet_diagnostic.cs0026.severity = error # Keyword 'this' is not valid in a static property, static method, or static field initializer
dotnet_diagnostic.cs0027.severity = error # Keyword 'this' is not available in the current context
dotnet_diagnostic.cs0028.severity = warning # '{0}' has the wrong signature to be an entry point
dotnet_diagnostic.cs0029.severity = error # Cannot implicitly convert type '{0}' to '{1}'
dotnet_diagnostic.cs0030.severity = error # Cannot convert type '{0}' to '{1}'
dotnet_diagnostic.cs0031.severity = error # Constant value '{0}' cannot be converted to a '{1}'
dotnet_diagnostic.cs0034.severity = error # Operator '{0}' is ambiguous on operands of type '{1}' and '{2}'
dotnet_diagnostic.cs0035.severity = error # Operator '{0}' is ambiguous on an operand of type '{1}'
dotnet_diagnostic.cs0036.severity = error # An out parameter cannot have the In attribute
dotnet_diagnostic.cs0037.severity = error # Cannot convert null to '{0}' because it is a non-nullable value type
dotnet_diagnostic.cs0039.severity = error # Cannot convert type '{0}' to '{1}' via a reference conversion, boxing conversion, unboxing conversion, wrapping conversion, or null type conversion
dotnet_diagnostic.cs0041.severity = error # Unexpected error writing debug information -- '{0}'
dotnet_diagnostic.cs0050.severity = error # Inconsistent accessibility: return type '{1}' is less accessible than method '{0}'
dotnet_diagnostic.cs0051.severity = error # Inconsistent accessibility: parameter type '{1}' is less accessible than method '{0}'
dotnet_diagnostic.cs0052.severity = error # Inconsistent accessibility: field type '{1}' is less accessible than field '{0}'
dotnet_diagnostic.cs0053.severity = error # Inconsistent accessibility: property type '{1}' is less accessible than property '{0}'
dotnet_diagnostic.cs0054.severity = error # Inconsistent accessibility: indexer return type '{1}' is less accessible than indexer '{0}'
dotnet_diagnostic.cs0055.severity = error # Inconsistent accessibility: parameter type '{1}' is less accessible than indexer '{0}'
dotnet_diagnostic.cs0056.severity = error # Inconsistent accessibility: return type '{1}' is less accessible than operator '{0}'
dotnet_diagnostic.cs0057.severity = error # Inconsistent accessibility: parameter type '{1}' is less accessible than operator '{0}'
dotnet_diagnostic.cs0058.severity = error # Inconsistent accessibility: return type '{1}' is less accessible than delegate '{0}'
dotnet_diagnostic.cs0059.severity = error # Inconsistent accessibility: parameter type '{1}' is less accessible than delegate '{0}'
dotnet_diagnostic.cs0060.severity = error # Inconsistent accessibility: base class '{1}' is less accessible than class '{0}'
dotnet_diagnostic.cs0061.severity = error # Inconsistent accessibility: base interface '{1}' is less accessible than interface '{0}'
dotnet_diagnostic.cs0065.severity = error # '{0}': event property must have both add and remove accessors
dotnet_diagnostic.cs0066.severity = error # '{0}': event must be of a delegate type
dotnet_diagnostic.cs0067.severity = warning # The event '{0}' is never used
dotnet_diagnostic.cs0068.severity = error # '{0}': instance event in interface cannot have initializer
dotnet_diagnostic.cs0070.severity = error # The event '{0}' can only appear on the left hand side of += or -= (except when used from within the type '{1}')
dotnet_diagnostic.cs0071.severity = error # An explicit interface implementation of an event must use event accessor syntax
dotnet_diagnostic.cs0072.severity = error # '{0}': cannot override; '{1}' is not an event
dotnet_diagnostic.cs0073.severity = error # An add or remove accessor must have a body
dotnet_diagnostic.cs0074.severity = error # '{0}': abstract event cannot have initializer
dotnet_diagnostic.cs0075.severity = error # To cast a negative value, you must enclose the value in parentheses.
dotnet_diagnostic.cs0076.severity = error # The enumerator name '{0}' is reserved and cannot be used
dotnet_diagnostic.cs0077.severity = error # The as operator must be used with a reference type or nullable type ('{0}' is a non-nullable value type)
dotnet_diagnostic.cs0078.severity = warning # The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity
dotnet_diagnostic.cs0079.severity = error # The event '{0}' can only appear on the left hand side of += or -=
dotnet_diagnostic.cs0080.severity = error # Constraints are not allowed on non-generic declarations
dotnet_diagnostic.cs0081.severity = error # Type parameter declaration must be an identifier not a type
dotnet_diagnostic.cs0082.severity = error # Type '{1}' already reserves a member called '{0}' with the same parameter types
dotnet_diagnostic.cs0100.severity = error # The parameter name '{0}' is a duplicate
dotnet_diagnostic.cs0101.severity = error # The namespace '{1}' already contains a definition for '{0}'
dotnet_diagnostic.cs0102.severity = error # The type '{0}' already contains a definition for '{1}'
dotnet_diagnostic.cs0103.severity = error # The name '{0}' does not exist in the current context
dotnet_diagnostic.cs0104.severity = error # '{0}' is an ambiguous reference between '{1}' and '{2}'
dotnet_diagnostic.cs0105.severity = warning # The using directive for '{0}' appeared previously in this namespace
dotnet_diagnostic.cs0106.severity = error # The modifier '{0}' is not valid for this item
dotnet_diagnostic.cs0107.severity = error # More than one protection modifier
dotnet_diagnostic.cs0108.severity = warning # '{0}' hides inherited member '{1}'. Use the new keyword if hiding was intended.
dotnet_diagnostic.cs0109.severity = warning # The member '{0}' does not hide an accessible member. The new keyword is not required.
dotnet_diagnostic.cs0110.severity = error # The evaluation of the constant value for '{0}' involves a circular definition
dotnet_diagnostic.cs0111.severity = error # Type '{1}' already defines a member called '{0}' with the same parameter types
dotnet_diagnostic.cs0112.severity = error # A static member cannot be marked as '{0}'
dotnet_diagnostic.cs0113.severity = error # A member '{0}' marked as override cannot be marked as new or virtual
dotnet_diagnostic.cs0114.severity = warning # '{0}' hides inherited member '{1}'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
dotnet_diagnostic.cs0115.severity = error # '{0}': no suitable method found to override
dotnet_diagnostic.cs0116.severity = error # A namespace cannot directly contain members such as fields, methods or statements
dotnet_diagnostic.cs0117.severity = error # '{0}' does not contain a definition for '{1}'
dotnet_diagnostic.cs0118.severity = error # '{0}' is a {1} but is used like a {2}
dotnet_diagnostic.cs0119.severity = error # '{0}' is a {1}, which is not valid in the given context
dotnet_diagnostic.cs0120.severity = error # An object reference is required for the non-static field, method, or property '{0}'
dotnet_diagnostic.cs0121.severity = error # The call is ambiguous between the following methods or properties: '{0}' and '{1}'
dotnet_diagnostic.cs0122.severity = error # '{0}' is inaccessible due to its protection level
dotnet_diagnostic.cs0123.severity = error # No overload for '{0}' matches delegate '{1}'
dotnet_diagnostic.cs0126.severity = error # An object of a type convertible to '{0}' is required
dotnet_diagnostic.cs0127.severity = error # Since '{0}' returns void, a return keyword must not be followed by an object expression
dotnet_diagnostic.cs0128.severity = error # A local variable or function named '{0}' is already defined in this scope
dotnet_diagnostic.cs0131.severity = error # The left-hand side of an assignment must be a variable, property or indexer
dotnet_diagnostic.cs0132.severity = error # '{0}': a static constructor must be parameterless
dotnet_diagnostic.cs0133.severity = error # The expression being assigned to '{0}' must be constant
dotnet_diagnostic.cs0134.severity = error # '{0}' is of type '{1}'. A const field of a reference type other than string can only be initialized with null.
dotnet_diagnostic.cs0136.severity = error # A local or parameter named '{0}' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter
dotnet_diagnostic.cs0138.severity = error # A 'using namespace' directive can only be applied to namespaces; '{0}' is a type not a namespace. Consider a 'using static' directive instead
dotnet_diagnostic.cs0139.severity = error # No enclosing loop out of which to break or continue
dotnet_diagnostic.cs0140.severity = error # The label '{0}' is a duplicate
dotnet_diagnostic.cs0143.severity = error # The type '{0}' has no constructors defined
dotnet_diagnostic.cs0144.severity = error # Cannot create an instance of the abstract type or interface '{0}'
dotnet_diagnostic.cs0145.severity = error # A const field requires a value to be provided
dotnet_diagnostic.cs0146.severity = error # Circular base type dependency involving '{0}' and '{1}'
dotnet_diagnostic.cs0148.severity = error # The delegate '{0}' does not have a valid constructor
dotnet_diagnostic.cs0149.severity = error # Method name expected
dotnet_diagnostic.cs0150.severity = error # A constant value is expected
dotnet_diagnostic.cs0151.severity = error # A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type in C# 6 and earlier.
dotnet_diagnostic.cs0152.severity = error # The switch statement contains multiple cases with the label value '{0}'
dotnet_diagnostic.cs0153.severity = error # A goto case is only valid inside a switch statement
dotnet_diagnostic.cs0154.severity = error # The property or indexer '{0}' cannot be used in this context because it lacks the get accessor
dotnet_diagnostic.cs0155.severity = error # The type caught or thrown must be derived from System.Exception
dotnet_diagnostic.cs0156.severity = error # A throw statement with no arguments is not allowed outside of a catch clause
dotnet_diagnostic.cs0157.severity = error # Control cannot leave the body of a finally clause
dotnet_diagnostic.cs0158.severity = error # The label '{0}' shadows another label by the same name in a contained scope
dotnet_diagnostic.cs0159.severity = error # No such label '{0}' within the scope of the goto statement
dotnet_diagnostic.cs0160.severity = error # A previous catch clause already catches all exceptions of this or of a super type ('{0}')
dotnet_diagnostic.cs0161.severity = error # '{0}': not all code paths return a value
dotnet_diagnostic.cs0162.severity = warning # Unreachable code detected
dotnet_diagnostic.cs0163.severity = error # Control cannot fall through from one case label ('{0}') to another
dotnet_diagnostic.cs0164.severity = warning # This label has not been referenced
dotnet_diagnostic.cs0165.severity = error # Use of unassigned local variable '{0}'
dotnet_diagnostic.cs0168.severity = warning # The variable '{0}' is declared but never used
dotnet_diagnostic.cs0169.severity = warning # The field '{0}' is never used
dotnet_diagnostic.cs0170.severity = error # Use of possibly unassigned field '{0}'
dotnet_diagnostic.cs0171.severity = error # Field '{0}' must be fully assigned before control is returned to the caller. Consider updating to language version '{1}' to auto-default the field.
dotnet_diagnostic.cs0172.severity = error # Type of conditional expression cannot be determined because '{0}' and '{1}' implicitly convert to one another
dotnet_diagnostic.cs0173.severity = error # Type of conditional expression cannot be determined because there is no implicit conversion between '{0}' and '{1}'
dotnet_diagnostic.cs0174.severity = error # A base class is required for a 'base' reference
dotnet_diagnostic.cs0175.severity = error # Use of keyword 'base' is not valid in this context
dotnet_diagnostic.cs0176.severity = error # Member '{0}' cannot be accessed with an instance reference; qualify it with a type name instead
dotnet_diagnostic.cs0177.severity = error # The out parameter '{0}' must be assigned to before control leaves the current method
dotnet_diagnostic.cs0178.severity = error # Invalid rank specifier: expected ',' or ']'
dotnet_diagnostic.cs0179.severity = error # '{0}' cannot be extern and declare a body
dotnet_diagnostic.cs0180.severity = error # '{0}' cannot be both extern and abstract
dotnet_diagnostic.cs0181.severity = error # Attribute constructor parameter '{0}' has type '{1}', which is not a valid attribute parameter type
dotnet_diagnostic.cs0182.severity = error # An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type
dotnet_diagnostic.cs0183.severity = warning # The given expression is always of the provided ('{0}') type
dotnet_diagnostic.cs0184.severity = warning # The given expression is never of the provided ('{0}') type
dotnet_diagnostic.cs0185.severity = error # '{0}' is not a reference type as required by the lock statement
dotnet_diagnostic.cs0186.severity = error # Use of null is not valid in this context
dotnet_diagnostic.cs0188.severity = error # The 'this' object cannot be used before all of its fields have been assigned. Consider updating to language version '{0}' to auto-default the unassigned fields.
dotnet_diagnostic.cs0190.severity = error # The __arglist construct is valid only within a variable argument method
dotnet_diagnostic.cs0191.severity = error # A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)
dotnet_diagnostic.cs0192.severity = error # A readonly field cannot be used as a ref or out value (except in a constructor)
dotnet_diagnostic.cs0193.severity = error # The * or -> operator must be applied to a pointer
dotnet_diagnostic.cs0196.severity = error # A pointer must be indexed by only one value
dotnet_diagnostic.cs0197.severity = warning # Using '{0}' as a ref or out value or taking its address may cause a runtime exception because it is a field of a marshal-by-reference class
dotnet_diagnostic.cs0198.severity = error # A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)
dotnet_diagnostic.cs0199.severity = error # A static readonly field cannot be used as a ref or out value (except in a static constructor)
dotnet_diagnostic.cs0200.severity = error # Property or indexer '{0}' cannot be assigned to -- it is read only
dotnet_diagnostic.cs0201.severity = error # Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
dotnet_diagnostic.cs0202.severity = error # foreach requires that the return type '{0}' of '{1}' must have a suitable public 'MoveNext' method and public 'Current' property
dotnet_diagnostic.cs0204.severity = error # Only 65534 locals, including those generated by the compiler, are allowed
dotnet_diagnostic.cs0205.severity = error # Cannot call an abstract base member: '{0}'
dotnet_diagnostic.cs0206.severity = error # A non ref-returning property or indexer may not be used as an out or ref value
dotnet_diagnostic.cs0208.severity = error # Cannot take the address of, get the size of, or declare a pointer to a managed type ('{0}')
dotnet_diagnostic.cs0209.severity = error # The type of a local declared in a fixed statement must be a pointer type
dotnet_diagnostic.cs0210.severity = error # You must provide an initializer in a fixed or using statement declaration
dotnet_diagnostic.cs0211.severity = error # Cannot take the address of the given expression
dotnet_diagnostic.cs0212.severity = error # You can only take the address of an unfixed expression inside of a fixed statement initializer
dotnet_diagnostic.cs0213.severity = error # You cannot use the fixed statement to take the address of an already fixed expression
dotnet_diagnostic.cs0214.severity = error # Pointers and fixed size buffers may only be used in an unsafe context
dotnet_diagnostic.cs0215.severity = error # The return type of operator True or False must be bool
dotnet_diagnostic.cs0216.severity = error # The operator '{0}' requires a matching operator '{1}' to also be defined
dotnet_diagnostic.cs0217.severity = error # In order to be applicable as a short circuit operator a user-defined logical operator ('{0}') must have the same return type and parameter types
dotnet_diagnostic.cs0218.severity = error # In order for '{0}' to be applicable as a short circuit operator, its declaring type '{1}' must define operator true and operator false
dotnet_diagnostic.cs0219.severity = warning # The variable '{0}' is assigned but its value is never used
dotnet_diagnostic.cs0220.severity = error # The operation overflows at compile time in checked mode
dotnet_diagnostic.cs0221.severity = error # Constant value '{0}' cannot be converted to a '{1}' (use 'unchecked' syntax to override)
dotnet_diagnostic.cs0224.severity = error # A method with vararg cannot be generic, be in a generic type, or have a params parameter
dotnet_diagnostic.cs0225.severity = error # The params parameter must have a valid collection type
dotnet_diagnostic.cs0226.severity = error # An __arglist expression may only appear inside of a call or new expression
dotnet_diagnostic.cs0227.severity = error # Unsafe code may only appear if compiling with /unsafe
dotnet_diagnostic.cs0229.severity = error # Ambiguity between '{0}' and '{1}'
dotnet_diagnostic.cs0230.severity = error # Type and identifier are both required in a foreach statement
dotnet_diagnostic.cs0231.severity = error # A params parameter must be the last parameter in a parameter list
dotnet_diagnostic.cs0233.severity = error # '{0}' does not have a predefined size, therefore sizeof can only be used in an unsafe context
dotnet_diagnostic.cs0234.severity = error # The type or namespace name '{0}' does not exist in the namespace '{1}' (are you missing an assembly reference?)
dotnet_diagnostic.cs0236.severity = error # A field initializer cannot reference the non-static field, method, or property '{0}'
dotnet_diagnostic.cs0238.severity = error # '{0}' cannot be sealed because it is not an override
dotnet_diagnostic.cs0239.severity = error # '{0}': cannot override inherited member '{1}' because it is sealed
dotnet_diagnostic.cs0242.severity = error # The operation in question is undefined on void pointers
dotnet_diagnostic.cs0243.severity = error # The Conditional attribute is not valid on '{0}' because it is an override method
dotnet_diagnostic.cs0244.severity = error # Neither 'is' nor 'as' is valid on pointer types
dotnet_diagnostic.cs0245.severity = error # Destructors and object.Finalize cannot be called directly. Consider calling IDisposable.Dispose if available.
dotnet_diagnostic.cs0246.severity = error # The type or namespace name '{0}' could not be found (are you missing a using directive or an assembly reference?)
dotnet_diagnostic.cs0247.severity = error # Cannot use a negative size with stackalloc
dotnet_diagnostic.cs0248.severity = error # Cannot create an array with a negative size
dotnet_diagnostic.cs0249.severity = error # Do not override object.Finalize. Instead, provide a destructor.
dotnet_diagnostic.cs0250.severity = error # Do not directly call your base type Finalize method. It is called automatically from your destructor.
dotnet_diagnostic.cs0251.severity = warning # Indexing an array with a negative index (array indices always start at zero)
dotnet_diagnostic.cs0252.severity = warning # Possible unintended reference comparison; to get a value comparison, cast the left hand side to type '{0}'
dotnet_diagnostic.cs0253.severity = warning # Possible unintended reference comparison; to get a value comparison, cast the right hand side to type '{0}'
dotnet_diagnostic.cs0254.severity = error # The right hand side of a fixed statement assignment may not be a cast expression
dotnet_diagnostic.cs0255.severity = error # stackalloc may not be used in a catch or finally block
dotnet_diagnostic.cs0257.severity = error # An __arglist parameter must be the last parameter in a parameter list
dotnet_diagnostic.cs0260.severity = error # Missing partial modifier on declaration of type '{0}'; another partial declaration of this type exists
dotnet_diagnostic.cs0261.severity = error # Partial declarations of '{0}' must be all classes, all record classes, all structs, all record structs, or all interfaces
dotnet_diagnostic.cs0262.severity = error # Partial declarations of '{0}' have conflicting accessibility modifiers
dotnet_diagnostic.cs0263.severity = error # Partial declarations of '{0}' must not specify different base classes
dotnet_diagnostic.cs0264.severity = error # Partial declarations of '{0}' must have the same type parameter names in the same order
dotnet_diagnostic.cs0265.severity = error # Partial declarations of '{0}' have inconsistent constraints for type parameter '{1}'
dotnet_diagnostic.cs0266.severity = error # Cannot implicitly convert type '{0}' to '{1}'. An explicit conversion exists (are you missing a cast?)
dotnet_diagnostic.cs0267.severity = error # The 'partial' modifier can only appear immediately before 'class', 'record', 'struct', 'interface', or a method return type.
dotnet_diagnostic.cs0268.severity = error # Imported type '{0}' is invalid. It contains a circular base type dependency.
dotnet_diagnostic.cs0269.severity = error # Use of unassigned out parameter '{0}'
dotnet_diagnostic.cs0270.severity = error # Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)
dotnet_diagnostic.cs0271.severity = error # The property or indexer '{0}' cannot be used in this context because the get accessor is inaccessible
dotnet_diagnostic.cs0272.severity = error # The property or indexer '{0}' cannot be used in this context because the set accessor is inaccessible
dotnet_diagnostic.cs0273.severity = error # The accessibility modifier of the '{0}' accessor must be more restrictive than the property or indexer '{1}'
dotnet_diagnostic.cs0274.severity = error # Cannot specify accessibility modifiers for both accessors of the property or indexer '{0}'
dotnet_diagnostic.cs0276.severity = error # '{0}': accessibility modifiers on accessors may only be used if the property or indexer has both a get and a set accessor
dotnet_diagnostic.cs0277.severity = error # '{0}' does not implement interface member '{1}'. '{2}' is not public.
dotnet_diagnostic.cs0278.severity = warning # '{0}' does not implement the '{1}' pattern. '{2}' is ambiguous with '{3}'.
dotnet_diagnostic.cs0279.severity = warning # '{0}' does not implement the '{1}' pattern. '{2}' is not a public instance or extension method.
dotnet_diagnostic.cs0280.severity = warning # '{0}' does not implement the '{1}' pattern. '{2}' has the wrong signature.
dotnet_diagnostic.cs0281.severity = error # Friend access was granted by '{0}', but the public key of the output assembly ('{1}') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
dotnet_diagnostic.cs0282.severity = warning # There is no defined ordering between fields in multiple declarations of partial struct '{0}'. To specify an ordering, all instance fields must be in the same declaration.
dotnet_diagnostic.cs0283.severity = error # The type '{0}' cannot be declared const
dotnet_diagnostic.cs0304.severity = error # Cannot create an instance of the variable type '{0}' because it does not have the new() constraint
dotnet_diagnostic.cs0305.severity = error # Using the generic {1} '{0}' requires {2} type arguments
dotnet_diagnostic.cs0306.severity = error # The type '{0}' may not be used as a type argument
dotnet_diagnostic.cs0307.severity = error # The {1} '{0}' cannot be used with type arguments
dotnet_diagnostic.cs0308.severity = error # The non-generic {1} '{0}' cannot be used with type arguments
dotnet_diagnostic.cs0310.severity = error # '{2}' must be a non-abstract type with a public parameterless constructor in order to use it as parameter '{1}' in the generic type or method '{0}'
dotnet_diagnostic.cs0311.severity = error # The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no implicit reference conversion from '{3}' to '{1}'.
dotnet_diagnostic.cs0312.severity = error # The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'.
dotnet_diagnostic.cs0313.severity = error # The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'. Nullable types can not satisfy any interface constraints.
dotnet_diagnostic.cs0314.severity = error # The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion or type parameter conversion from '{3}' to '{1}'.
dotnet_diagnostic.cs0315.severity = error # The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion from '{3}' to '{1}'.
dotnet_diagnostic.cs0316.severity = error # The parameter name '{0}' conflicts with an automatically-generated parameter name
dotnet_diagnostic.cs0400.severity = error # The type or namespace name '{0}' could not be found in the global namespace (are you missing an assembly reference?)
dotnet_diagnostic.cs0401.severity = error # The new() constraint must be the last constraint specified
dotnet_diagnostic.cs0402.severity = warning # '{0}': an entry point cannot be generic or in a generic type
dotnet_diagnostic.cs0403.severity = error # Cannot convert null to type parameter '{0}' because it could be a non-nullable value type. Consider using 'default({0})' instead.
dotnet_diagnostic.cs0405.severity = error # Duplicate constraint '{0}' for type parameter '{1}'
dotnet_diagnostic.cs0406.severity = error # The class type constraint '{0}' must come before any other constraints
dotnet_diagnostic.cs0407.severity = error # '{1} {0}' has the wrong return type
dotnet_diagnostic.cs0409.severity = error # A constraint clause has already been specified for type parameter '{0}'. All of the constraints for a type parameter must be specified in a single where clause.
dotnet_diagnostic.cs0411.severity = error # The type arguments for method '{0}' cannot be inferred from the usage. Try specifying the type arguments explicitly.
dotnet_diagnostic.cs0412.severity = error # '{0}': a parameter, local variable, or local function cannot have the same name as a method type parameter
dotnet_diagnostic.cs0413.severity = error # The type parameter '{0}' cannot be used with the 'as' operator because it does not have a class type constraint nor a 'class' constraint
dotnet_diagnostic.cs0414.severity = warning # The field '{0}' is assigned but its value is never used
dotnet_diagnostic.cs0415.severity = error # The '{0}' attribute is valid only on an indexer that is not an explicit interface member declaration
dotnet_diagnostic.cs0416.severity = error # '{0}': an attribute argument cannot use type parameters
dotnet_diagnostic.cs0417.severity = error # '{0}': cannot provide arguments when creating an instance of a variable type
dotnet_diagnostic.cs0418.severity = error # '{0}': an abstract type cannot be sealed or static
dotnet_diagnostic.cs0419.severity = warning # Ambiguous reference in cref attribute: '{0}'. Assuming '{1}', but could have also matched other overloads including '{2}'.
dotnet_diagnostic.cs0420.severity = warning # '{0}': a reference to a volatile field will not be treated as volatile
dotnet_diagnostic.cs0423.severity = error # Since '{1}' has the ComImport attribute, '{0}' must be extern or abstract
dotnet_diagnostic.cs0424.severity = error # '{0}': a class with the ComImport attribute cannot specify a base class
dotnet_diagnostic.cs0425.severity = error # The constraints for type parameter '{0}' of method '{1}' must match the constraints for type parameter '{2}' of interface method '{3}'. Consider using an explicit interface implementation instead.
dotnet_diagnostic.cs0426.severity = error # The type name '{0}' does not exist in the type '{1}'
dotnet_diagnostic.cs0428.severity = error # Cannot convert method group '{0}' to non-delegate type '{1}'. Did you intend to invoke the method?
dotnet_diagnostic.cs0430.severity = error # The extern alias '{0}' was not specified in a /reference option
dotnet_diagnostic.cs0431.severity = error # Cannot use alias '{0}' with '::' since the alias references a type. Use '.' instead.
dotnet_diagnostic.cs0432.severity = error # Alias '{0}' not found
dotnet_diagnostic.cs0433.severity = error # The type '{1}' exists in both '{0}' and '{2}'
dotnet_diagnostic.cs0434.severity = error # The namespace '{1}' in '{0}' conflicts with the type '{3}' in '{2}'
dotnet_diagnostic.cs0435.severity = warning # The namespace '{1}' in '{0}' conflicts with the imported type '{3}' in '{2}'. Using the namespace defined in '{0}'.
dotnet_diagnostic.cs0436.severity = warning # The type '{1}' in '{0}' conflicts with the imported type '{3}' in '{2}'. Using the type defined in '{0}'.
dotnet_diagnostic.cs0437.severity = warning # The type '{1}' in '{0}' conflicts with the imported namespace '{3}' in '{2}'. Using the type defined in '{0}'.
dotnet_diagnostic.cs0438.severity = error # The type '{1}' in '{0}' conflicts with the namespace '{3}' in '{2}'
dotnet_diagnostic.cs0439.severity = error # An extern alias declaration must precede all other elements defined in the namespace
dotnet_diagnostic.cs0440.severity = warning # Defining an alias named 'global' is ill-advised since 'global::' always references the global namespace and not an alias
dotnet_diagnostic.cs0441.severity = error # '{0}': a type cannot be both static and sealed
dotnet_diagnostic.cs0442.severity = error # '{0}': abstract properties cannot have private accessors
dotnet_diagnostic.cs0443.severity = error # Syntax error; value expected
dotnet_diagnostic.cs0445.severity = error # Cannot modify the result of an unboxing conversion
dotnet_diagnostic.cs0446.severity = error # Foreach cannot operate on a '{0}'. Did you intend to invoke the '{0}'?
dotnet_diagnostic.cs0448.severity = error # The return type for ++ or -- operator must match the parameter type or be derived from the parameter type
dotnet_diagnostic.cs0449.severity = error # The 'class', 'struct', 'unmanaged', 'notnull', and 'default' constraints cannot be combined or duplicated, and must be specified first in the constraints list.
dotnet_diagnostic.cs0450.severity = error # '{0}': cannot specify both a constraint class and the 'class' or 'struct' constraint
dotnet_diagnostic.cs0451.severity = error # The 'new()' constraint cannot be used with the 'struct' constraint
dotnet_diagnostic.cs0452.severity = error # The type '{2}' must be a reference type in order to use it as parameter '{1}' in the generic type or method '{0}'
dotnet_diagnostic.cs0453.severity = error # The type '{2}' must be a non-nullable value type in order to use it as parameter '{1}' in the generic type or method '{0}'
dotnet_diagnostic.cs0454.severity = error # Circular constraint dependency involving '{0}' and '{1}'
dotnet_diagnostic.cs0455.severity = error # Type parameter '{0}' inherits conflicting constraints '{1}' and '{2}'
dotnet_diagnostic.cs0456.severity = error # Type parameter '{1}' has the 'struct' constraint so '{1}' cannot be used as a constraint for '{0}'
dotnet_diagnostic.cs0457.severity = error # Ambiguous user defined conversions '{0}' and '{1}' when converting from '{2}' to '{3}'
dotnet_diagnostic.cs0458.severity = warning # The result of the expression is always 'null' of type '{0}'
dotnet_diagnostic.cs0460.severity = error # Constraints for override and explicit interface implementation methods are inherited from the base method, so they cannot be specified directly, except for either a 'class', or a 'struct' constraint.
dotnet_diagnostic.cs0462.severity = error # The inherited members '{0}' and '{1}' have the same signature in type '{2}', so they cannot be overridden
dotnet_diagnostic.cs0463.severity = error # Evaluation of the decimal constant expression failed
dotnet_diagnostic.cs0464.severity = warning # Comparing with null of type '{0}' always produces 'false'
dotnet_diagnostic.cs0465.severity = warning # Introducing a 'Finalize' method can interfere with destructor invocation. Did you intend to declare a destructor?
dotnet_diagnostic.cs0466.severity = error # '{0}' should not have a params parameter since '{1}' does not
dotnet_diagnostic.cs0469.severity = warning # The 'goto case' value is not implicitly convertible to type '{0}'
dotnet_diagnostic.cs0470.severity = error # Method '{0}' cannot implement interface accessor '{1}' for type '{2}'. Use an explicit interface implementation.
dotnet_diagnostic.cs0472.severity = warning # The result of the expression is always '{0}' since a value of type '{1}' is never equal to 'null' of type '{2}'
dotnet_diagnostic.cs0473.severity = warning # Explicit interface implementation '{0}' matches more than one interface member. Which interface member is actually chosen is implementation-dependent. Consider using a non-explicit implementation instead.
dotnet_diagnostic.cs0500.severity = error # '{0}' cannot declare a body because it is marked abstract
dotnet_diagnostic.cs0501.severity = error # '{0}' must declare a body because it is not marked abstract, extern, or partial
dotnet_diagnostic.cs0502.severity = error # '{0}' cannot be both abstract and sealed
dotnet_diagnostic.cs0503.severity = error # The abstract {0} '{1}' cannot be marked virtual
dotnet_diagnostic.cs0504.severity = error # The constant '{0}' cannot be marked static
dotnet_diagnostic.cs0505.severity = error # '{0}': cannot override because '{1}' is not a function
dotnet_diagnostic.cs0506.severity = error # '{0}': cannot override inherited member '{1}' because it is not marked virtual, abstract, or override
dotnet_diagnostic.cs0507.severity = error # '{0}': cannot change access modifiers when overriding '{1}' inherited member '{2}'
dotnet_diagnostic.cs0508.severity = error # '{0}': return type must be '{2}' to match overridden member '{1}'
dotnet_diagnostic.cs0509.severity = error # '{0}': cannot derive from sealed type '{1}'
dotnet_diagnostic.cs0513.severity = error # '{0}' is abstract but it is contained in non-abstract type '{1}'
dotnet_diagnostic.cs0514.severity = error # '{0}': static constructor cannot have an explicit 'this' or 'base' constructor call
dotnet_diagnostic.cs0515.severity = error # '{0}': access modifiers are not allowed on static constructors
dotnet_diagnostic.cs0516.severity = error # Constructor '{0}' cannot call itself
dotnet_diagnostic.cs0517.severity = error # '{0}' has no base class and cannot call a base constructor
dotnet_diagnostic.cs0518.severity = error # Predefined type '{0}' is not defined or imported
dotnet_diagnostic.cs0522.severity = error # '{0}': structs cannot call base class constructors
dotnet_diagnostic.cs0523.severity = error # Struct member '{0}' of type '{1}' causes a cycle in the struct layout
dotnet_diagnostic.cs0525.severity = error # Interfaces cannot contain instance fields
dotnet_diagnostic.cs0526.severity = error # Interfaces cannot contain instance constructors
dotnet_diagnostic.cs0527.severity = error # Type '{0}' in interface list is not an interface
dotnet_diagnostic.cs0528.severity = error # '{0}' is already listed in interface list
dotnet_diagnostic.cs0529.severity = error # Inherited interface '{1}' causes a cycle in the interface hierarchy of '{0}'
dotnet_diagnostic.cs0533.severity = error # '{0}' hides inherited abstract member '{1}'
dotnet_diagnostic.cs0534.severity = error # '{0}' does not implement inherited abstract member '{1}'
dotnet_diagnostic.cs0535.severity = error # '{0}' does not implement interface member '{1}'
dotnet_diagnostic.cs0537.severity = error # The class System.Object cannot have a base class or implement an interface
dotnet_diagnostic.cs0538.severity = error # '{0}' in explicit interface declaration is not an interface
dotnet_diagnostic.cs0539.severity = error # '{0}' in explicit interface declaration is not found among members of the interface that can be implemented
dotnet_diagnostic.cs0540.severity = error # '{0}': containing type does not implement interface '{1}'
dotnet_diagnostic.cs0541.severity = error # '{0}': explicit interface declaration can only be declared in a class, record, struct or interface
dotnet_diagnostic.cs0542.severity = error # '{0}': member names cannot be the same as their enclosing type
dotnet_diagnostic.cs0543.severity = error # '{0}': the enumerator value is too large to fit in its type
dotnet_diagnostic.cs0544.severity = error # '{0}': cannot override because '{1}' is not a property
dotnet_diagnostic.cs0545.severity = error # '{0}': cannot override because '{1}' does not have an overridable get accessor
dotnet_diagnostic.cs0546.severity = error # '{0}': cannot override because '{1}' does not have an overridable set accessor
dotnet_diagnostic.cs0547.severity = error # '{0}': property or indexer cannot have void type
dotnet_diagnostic.cs0548.severity = error # '{0}': property or indexer must have at least one accessor
dotnet_diagnostic.cs0549.severity = error # '{0}' is a new virtual member in sealed type '{1}'
dotnet_diagnostic.cs0550.severity = error # '{0}' adds an accessor not found in interface member '{1}'
dotnet_diagnostic.cs0551.severity = error # Explicit interface implementation '{0}' is missing accessor '{1}'
dotnet_diagnostic.cs0552.severity = error # '{0}': user-defined conversions to or from an interface are not allowed
dotnet_diagnostic.cs0553.severity = error # '{0}': user-defined conversions to or from a base type are not allowed
dotnet_diagnostic.cs0554.severity = error # '{0}': user-defined conversions to or from a derived type are not allowed
dotnet_diagnostic.cs0555.severity = error # User-defined operator cannot convert a type to itself
dotnet_diagnostic.cs0556.severity = error # User-defined conversion must convert to or from the enclosing type
dotnet_diagnostic.cs0557.severity = error # Duplicate user-defined conversion in type '{0}'
dotnet_diagnostic.cs0558.severity = error # User-defined operator '{0}' must be declared static and public
dotnet_diagnostic.cs0559.severity = error # The parameter type for ++ or -- operator must be the containing type
dotnet_diagnostic.cs0562.severity = error # The parameter of a unary operator must be the containing type
dotnet_diagnostic.cs0563.severity = error # One of the parameters of a binary operator must be the containing type
dotnet_diagnostic.cs0564.severity = error # The first operand of an overloaded shift operator must have the same type as the containing type
dotnet_diagnostic.cs0567.severity = error # Conversion, equality, or inequality operators declared in interfaces must be abstract or virtual
dotnet_diagnostic.cs0569.severity = error # '{0}': cannot override '{1}' because it is not supported by the language
dotnet_diagnostic.cs0570.severity = error # '{0}' is not supported by the language
dotnet_diagnostic.cs0571.severity = error # '{0}': cannot explicitly call operator or accessor
dotnet_diagnostic.cs0572.severity = error # '{0}': cannot reference a type through an expression; try '{1}' instead
dotnet_diagnostic.cs0574.severity = error # Name of destructor must match name of type
dotnet_diagnostic.cs0575.severity = error # Only class types can contain destructors
dotnet_diagnostic.cs0576.severity = error # Namespace '{1}' contains a definition conflicting with alias '{0}'
dotnet_diagnostic.cs0577.severity = error # The Conditional attribute is not valid on '{0}' because it is a constructor, destructor, operator, lambda expression, or explicit interface implementation
dotnet_diagnostic.cs0578.severity = error # The Conditional attribute is not valid on '{0}' because its return type is not void
dotnet_diagnostic.cs0579.severity = error # Duplicate '{0}' attribute
dotnet_diagnostic.cs0582.severity = error # The Conditional attribute is not valid on interface members
dotnet_diagnostic.cs0590.severity = error # User-defined operators cannot return void
dotnet_diagnostic.cs0591.severity = error # Invalid value for argument to '{0}' attribute
dotnet_diagnostic.cs0592.severity = error # Attribute '{0}' is not valid on this declaration type. It is only valid on '{1}' declarations.
dotnet_diagnostic.cs0594.severity = error # Floating-point constant is outside the range of type '{0}'
dotnet_diagnostic.cs0595.severity = error # Invalid real literal.
dotnet_diagnostic.cs0596.severity = error # The Guid attribute must be specified with the ComImport attribute
dotnet_diagnostic.cs0599.severity = error # Invalid value for named attribute argument '{0}'
dotnet_diagnostic.cs0601.severity = error # The DllImport attribute must be specified on a method marked 'static' and 'extern'
dotnet_diagnostic.cs0610.severity = error # Field or property cannot be of type '{0}'
dotnet_diagnostic.cs0611.severity = error # Array elements cannot be of type '{0}'
dotnet_diagnostic.cs0612.severity = warning # '{0}' is obsolete
dotnet_diagnostic.cs0616.severity = error # '{0}' is not an attribute class
dotnet_diagnostic.cs0617.severity = error # '{0}' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, or const, or read-write properties which are public and not static.
dotnet_diagnostic.cs0618.severity = warning # '{0}' is obsolete: '{1}'
dotnet_diagnostic.cs0619.severity = error # '{0}' is obsolete: '{1}'
dotnet_diagnostic.cs0620.severity = error # Indexers cannot have void type
dotnet_diagnostic.cs0621.severity = error # '{0}': virtual or abstract members cannot be private
dotnet_diagnostic.cs0622.severity = error # Can only use array initializer expressions to assign to array types. Try using a new expression instead.
dotnet_diagnostic.cs0623.severity = error # Array initializers can only be used in a variable or field initializer. Try using a new expression instead.
dotnet_diagnostic.cs0625.severity = error # '{0}': instance field in types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
dotnet_diagnostic.cs0626.severity = warning # Method, operator, or accessor '{0}' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
dotnet_diagnostic.cs0628.severity = warning # '{0}': new protected member declared in sealed type
dotnet_diagnostic.cs0629.severity = error # Conditional member '{0}' cannot implement interface member '{1}' in type '{2}'
dotnet_diagnostic.cs0630.severity = error # '{0}' cannot implement interface member '{1}' in type '{2}' because it has an __arglist parameter
dotnet_diagnostic.cs0631.severity = error # ref and out are not valid in this context
dotnet_diagnostic.cs0633.severity = error # The argument to the '{0}' attribute must be a valid identifier
dotnet_diagnostic.cs0636.severity = error # The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)
dotnet_diagnostic.cs0637.severity = error # The FieldOffset attribute is not allowed on static or const fields
dotnet_diagnostic.cs0641.severity = error # Attribute '{0}' is only valid on classes derived from System.Attribute
dotnet_diagnostic.cs0642.severity = warning # Possible mistaken empty statement
dotnet_diagnostic.cs0643.severity = error # '{0}' duplicate named attribute argument
dotnet_diagnostic.cs0644.severity = error # '{0}' cannot derive from special class '{1}'
dotnet_diagnostic.cs0646.severity = error # Cannot specify the DefaultMember attribute on a type containing an indexer
dotnet_diagnostic.cs0648.severity = error # '{0}' is a type not supported by the language
dotnet_diagnostic.cs0649.severity = warning # Field '{0}' is never assigned to, and will always have its default value {1}
dotnet_diagnostic.cs0650.severity = error # Bad array declarator: To declare a managed array the rank specifier precedes the variable's identifier. To declare a fixed size buffer field, use the fixed keyword before the field type.
dotnet_diagnostic.cs0652.severity = warning # Comparison to integral constant is useless; the constant is outside the range of type '{0}'
dotnet_diagnostic.cs0653.severity = error # Cannot apply attribute class '{0}' because it is abstract
dotnet_diagnostic.cs0655.severity = error # '{0}' is not a valid named attribute argument because it is not a valid attribute parameter type
dotnet_diagnostic.cs0656.severity = error # Missing compiler required member '{0}.{1}'
dotnet_diagnostic.cs0657.severity = warning # '{0}' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are '{1}'. All attributes in this block will be ignored.
dotnet_diagnostic.cs0658.severity = warning # '{0}' is not a recognized attribute location. Valid attribute locations for this declaration are '{1}'. All attributes in this block will be ignored.
dotnet_diagnostic.cs0659.severity = warning # '{0}' overrides Object.Equals(object o) but does not override Object.GetHashCode()
dotnet_diagnostic.cs0660.severity = warning # '{0}' defines operator == or operator != but does not override Object.Equals(object o)
dotnet_diagnostic.cs0661.severity = warning # '{0}' defines operator == or operator != but does not override Object.GetHashCode()
dotnet_diagnostic.cs0662.severity = error # Cannot specify the Out attribute on a ref parameter without also specifying the In attribute.
dotnet_diagnostic.cs0663.severity = error # '{0}' cannot define an overloaded {1} that differs only on parameter modifiers '{2}' and '{3}'
dotnet_diagnostic.cs0664.severity = error # Literal of type double cannot be implicitly converted to type '{1}'; use an '{0}' suffix to create a literal of this type
dotnet_diagnostic.cs0665.severity = warning # Assignment in conditional expression is always constant; did you mean to use == instead of = ?
dotnet_diagnostic.cs0666.severity = error # '{0}': new protected member declared in struct
dotnet_diagnostic.cs0668.severity = error # Two indexers have different names; the IndexerName attribute must be used with the same name on every indexer within a type
dotnet_diagnostic.cs0669.severity = error # A class with the ComImport attribute cannot have a user-defined constructor
dotnet_diagnostic.cs0670.severity = error # Field cannot have void type
dotnet_diagnostic.cs0672.severity = warning # Member '{0}' overrides obsolete member '{1}'. Add the Obsolete attribute to '{0}'.
dotnet_diagnostic.cs0673.severity = error # System.Void cannot be used from C# -- use typeof(void) to get the void type object
dotnet_diagnostic.cs0674.severity = error # Do not use 'System.ParamArrayAttribute'/'System.Runtime.CompilerServices.ParamCollectionAttribute'. Use the 'params' keyword instead.
dotnet_diagnostic.cs0675.severity = warning # Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first
dotnet_diagnostic.cs0677.severity = error # '{0}': a volatile field cannot be of the type '{1}'
dotnet_diagnostic.cs0678.severity = error # '{0}': a field cannot be both volatile and readonly
dotnet_diagnostic.cs0681.severity = error # The modifier 'abstract' is not valid on fields. Try using a property instead.
dotnet_diagnostic.cs0682.severity = error # '{0}' cannot implement '{1}' because it is not supported by the language
dotnet_diagnostic.cs0683.severity = error # '{0}' explicit method implementation cannot implement '{1}' because it is an accessor
dotnet_diagnostic.cs0684.severity = warning # '{0}' interface marked with 'CoClassAttribute' not marked with 'ComImportAttribute'
dotnet_diagnostic.cs0685.severity = error # Conditional member '{0}' cannot have an out parameter
dotnet_diagnostic.cs0686.severity = error # Accessor '{0}' cannot implement interface member '{1}' for type '{2}'. Use an explicit interface implementation.
dotnet_diagnostic.cs0687.severity = error # The namespace alias qualifier '::' always resolves to a type or namespace so is illegal here. Consider using '.' instead.
dotnet_diagnostic.cs0689.severity = error # Cannot derive from '{0}' because it is a type parameter
dotnet_diagnostic.cs0692.severity = error # Duplicate type parameter '{0}'
dotnet_diagnostic.cs0693.severity = warning # Type parameter '{0}' has the same name as the type parameter from outer type '{1}'
dotnet_diagnostic.cs0694.severity = error # Type parameter '{0}' has the same name as the containing type, or method
dotnet_diagnostic.cs0695.severity = error # '{0}' cannot implement both '{1}' and '{2}' because they may unify for some type parameter substitutions
dotnet_diagnostic.cs0699.severity = error # '{1}' does not define type parameter '{0}'
dotnet_diagnostic.cs0701.severity = error # '{0}' is not a valid constraint. A type used as a constraint must be an interface, a non-sealed class or a type parameter.
dotnet_diagnostic.cs0702.severity = error # Constraint cannot be special class '{0}'
dotnet_diagnostic.cs0703.severity = error # Inconsistent accessibility: constraint type '{1}' is less accessible than '{0}'
dotnet_diagnostic.cs0704.severity = error # Cannot do non-virtual member lookup in '{0}' because it is a type parameter
dotnet_diagnostic.cs0706.severity = error # Invalid constraint type. A type used as a constraint must be an interface, a non-sealed class or a type parameter.
dotnet_diagnostic.cs0708.severity = error # '{0}': cannot declare instance members in a static class
dotnet_diagnostic.cs0709.severity = error # '{1}': cannot derive from static class '{0}'
dotnet_diagnostic.cs0710.severity = error # Static classes cannot have instance constructors
dotnet_diagnostic.cs0711.severity = error # Static classes cannot contain destructors
dotnet_diagnostic.cs0712.severity = error # Cannot create an instance of the static class '{0}'
dotnet_diagnostic.cs0713.severity = error # Static class '{0}' cannot derive from type '{1}'. Static classes must derive from object.
dotnet_diagnostic.cs0714.severity = error # '{0}': static classes cannot implement interfaces
dotnet_diagnostic.cs0715.severity = error # '{0}': static classes cannot contain user-defined operators
dotnet_diagnostic.cs0716.severity = error # Cannot convert to static type '{0}'
dotnet_diagnostic.cs0717.severity = error # '{0}': static classes cannot be used as constraints
dotnet_diagnostic.cs0718.severity = error # '{0}': static types cannot be used as type arguments
dotnet_diagnostic.cs0719.severity = error # '{0}': array elements cannot be of static type
dotnet_diagnostic.cs0720.severity = error # '{0}': cannot declare indexers in a static class
dotnet_diagnostic.cs0721.severity = error # '{0}': static types cannot be used as parameters
dotnet_diagnostic.cs0722.severity = error # '{0}': static types cannot be used as return types
dotnet_diagnostic.cs0723.severity = error # Cannot declare a variable of static type '{0}'
dotnet_diagnostic.cs0724.severity = error # A throw statement with no arguments is not allowed in a finally clause that is nested inside the nearest enclosing catch clause
dotnet_diagnostic.cs0726.severity = error # '{0}' is not a valid format specifier
dotnet_diagnostic.cs0728.severity = warning # Possibly incorrect assignment to local '{0}' which is the argument to a using or lock statement. The Dispose call or unlocking will happen on the original value of the local.
dotnet_diagnostic.cs0729.severity = error # Type '{0}' is defined in this assembly, but a type forwarder is specified for it
dotnet_diagnostic.cs0730.severity = error # Cannot forward type '{0}' because it is a nested type of '{1}'
dotnet_diagnostic.cs0731.severity = error # The type forwarder for type '{0}' in assembly '{1}' causes a cycle
dotnet_diagnostic.cs0734.severity = error # The /moduleassemblyname option may only be specified when building a target type of 'module'
dotnet_diagnostic.cs0735.severity = error # Invalid type specified as an argument for TypeForwardedTo attribute
dotnet_diagnostic.cs0736.severity = error # '{0}' does not implement instance interface member '{1}'. '{2}' cannot implement the interface member because it is static.
dotnet_diagnostic.cs0737.severity = error # '{0}' does not implement interface member '{1}'. '{2}' cannot implement an interface member because it is not public.
dotnet_diagnostic.cs0738.severity = error # '{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}' because it does not have the matching return type of '{3}'.
dotnet_diagnostic.cs0739.severity = error # '{0}' duplicate TypeForwardedToAttribute
dotnet_diagnostic.cs0742.severity = error # A query body must end with a select clause or a group clause
dotnet_diagnostic.cs0743.severity = error # Expected contextual keyword 'on'
dotnet_diagnostic.cs0744.severity = error # Expected contextual keyword 'equals'
dotnet_diagnostic.cs0745.severity = error # Expected contextual keyword 'by'
dotnet_diagnostic.cs0746.severity = error # Invalid anonymous type member declarator. Anonymous type members must be declared with a member assignment, simple name or member access.
dotnet_diagnostic.cs0747.severity = error # Invalid initializer member declarator
dotnet_diagnostic.cs0748.severity = error # Inconsistent lambda parameter usage; parameter types must be all explicit or all implicit
dotnet_diagnostic.cs0750.severity = error # A partial method cannot have the 'abstract' modifier
dotnet_diagnostic.cs0751.severity = error # A partial method must be declared within a partial type
dotnet_diagnostic.cs0754.severity = error # A partial method may not explicitly implement an interface method
dotnet_diagnostic.cs0755.severity = error # Both partial method declarations must be extension methods or neither may be an extension method
dotnet_diagnostic.cs0756.severity = error # A partial method may not have multiple defining declarations
dotnet_diagnostic.cs0757.severity = error # A partial method may not have multiple implementing declarations
dotnet_diagnostic.cs0758.severity = error # Both partial method declarations must use a params parameter or neither may use a params parameter
dotnet_diagnostic.cs0759.severity = error # No defining declaration found for implementing declaration of partial method '{0}'
dotnet_diagnostic.cs0761.severity = error # Partial method declarations of '{0}' have inconsistent constraints for type parameter '{1}'
dotnet_diagnostic.cs0762.severity = error # Cannot create delegate from method '{0}' because it is a partial method without an implementing declaration
dotnet_diagnostic.cs0763.severity = error # Both partial method declarations must be static or neither may be static
dotnet_diagnostic.cs0764.severity = error # Both partial method declarations must be unsafe or neither may be unsafe
dotnet_diagnostic.cs0765.severity = error # Partial methods with only a defining declaration or removed conditional methods cannot be used in expression trees
dotnet_diagnostic.cs0767.severity = error # Cannot inherit interface '{0}' with the specified type parameters because it causes method '{1}' to contain overloads which differ only on ref and out
dotnet_diagnostic.cs0768.severity = error # Constructor '{0}' cannot call itself through another constructor
dotnet_diagnostic.cs0809.severity = warning # Obsolete member '{0}' overrides non-obsolete member '{1}'
dotnet_diagnostic.cs0811.severity = warning # The fully qualified name for '{0}' is too long for debug information. Compile without '/debug' option.
dotnet_diagnostic.cs0815.severity = error # Cannot assign {0} to an implicitly-typed variable
dotnet_diagnostic.cs0818.severity = error # Implicitly-typed variables must be initialized
dotnet_diagnostic.cs0819.severity = error # Implicitly-typed variables cannot have multiple declarators
dotnet_diagnostic.cs0820.severity = error # Cannot initialize an implicitly-typed variable with an array initializer
dotnet_diagnostic.cs0821.severity = error # Implicitly-typed local variables cannot be fixed
dotnet_diagnostic.cs0822.severity = error # Implicitly-typed variables cannot be constant
dotnet_diagnostic.cs0824.severity = warning # Constructor '{0}' is marked external
dotnet_diagnostic.cs0825.severity = error # The contextual keyword 'var' may only appear within a local variable declaration or in script code
dotnet_diagnostic.cs0826.severity = error # No best type found for implicitly-typed array
dotnet_diagnostic.cs0828.severity = error # Cannot assign '{0}' to anonymous type property
dotnet_diagnostic.cs0831.severity = error # An expression tree may not contain a base access
dotnet_diagnostic.cs0832.severity = error # An expression tree may not contain an assignment operator
dotnet_diagnostic.cs0833.severity = error # An anonymous type cannot have multiple properties with the same name
dotnet_diagnostic.cs0834.severity = error # A lambda expression with a statement body cannot be converted to an expression tree
dotnet_diagnostic.cs0835.severity = error # Cannot convert lambda to an expression tree whose type argument '{0}' is not a delegate type
dotnet_diagnostic.cs0836.severity = error # Cannot use anonymous type in a constant expression
dotnet_diagnostic.cs0837.severity = error # The first operand of an 'is' or 'as' operator may not be a lambda expression, anonymous method, or method group.
dotnet_diagnostic.cs0838.severity = error # An expression tree may not contain a multidimensional array initializer
dotnet_diagnostic.cs0839.severity = error # Argument missing
dotnet_diagnostic.cs0841.severity = error # Cannot use local variable '{0}' before it is declared
dotnet_diagnostic.cs0843.severity = error # Auto-implemented property '{0}' must be fully assigned before control is returned to the caller. Consider updating to language version '{1}' to auto-default the property.
dotnet_diagnostic.cs0844.severity = error # Cannot use local variable '{0}' before it is declared. The declaration of the local variable hides the field '{1}'.
dotnet_diagnostic.cs0845.severity = error # An expression tree lambda may not contain a coalescing operator with a null or default literal left-hand side
dotnet_diagnostic.cs0846.severity = error # A nested array initializer is expected
dotnet_diagnostic.cs0847.severity = error # An array initializer of length '{0}' is expected
dotnet_diagnostic.cs0853.severity = error # An expression tree may not contain a named argument specification
dotnet_diagnostic.cs0854.severity = error # An expression tree may not contain a call or invocation that uses optional arguments
dotnet_diagnostic.cs0855.severity = error # An expression tree may not contain an indexed property
dotnet_diagnostic.cs0856.severity = error # Indexed property '{0}' has non-optional arguments which must be provided
dotnet_diagnostic.cs0857.severity = error # Indexed property '{0}' must have all arguments optional
dotnet_diagnostic.cs1001.severity = error # Identifier expected
dotnet_diagnostic.cs1002.severity = error # ; expected
dotnet_diagnostic.cs1003.severity = error # Syntax error, '{0}' expected
dotnet_diagnostic.cs1004.severity = error # Duplicate '{0}' modifier
dotnet_diagnostic.cs1007.severity = error # Property accessor already defined
dotnet_diagnostic.cs1008.severity = error # Type byte, sbyte, short, ushort, int, uint, long, or ulong expected
dotnet_diagnostic.cs1009.severity = error # Unrecognized escape sequence
dotnet_diagnostic.cs1010.severity = error # Newline in constant
dotnet_diagnostic.cs1011.severity = error # Empty character literal
dotnet_diagnostic.cs1012.severity = error # Too many characters in character literal
dotnet_diagnostic.cs1013.severity = error # Invalid number
dotnet_diagnostic.cs1014.severity = error # A get or set accessor expected
dotnet_diagnostic.cs1015.severity = error # An object, string, or class type expected
dotnet_diagnostic.cs1016.severity = error # Named attribute argument expected
dotnet_diagnostic.cs1017.severity = error # Catch clauses cannot follow the general catch clause of a try statement
dotnet_diagnostic.cs1018.severity = error # Keyword 'this' or 'base' expected
dotnet_diagnostic.cs1019.severity = error # Overloadable unary operator expected
dotnet_diagnostic.cs1020.severity = error # Overloadable binary operator expected
dotnet_diagnostic.cs1021.severity = error # Integral constant is too large
dotnet_diagnostic.cs1022.severity = error # Type or namespace definition, or end-of-file expected
dotnet_diagnostic.cs1023.severity = error # Embedded statement cannot be a declaration or labeled statement
dotnet_diagnostic.cs1024.severity = error # Preprocessor directive expected
dotnet_diagnostic.cs1025.severity = error # Single-line comment or end-of-line expected
dotnet_diagnostic.cs1026.severity = error # ) expected
dotnet_diagnostic.cs1027.severity = error # #endif directive expected
dotnet_diagnostic.cs1028.severity = error # Unexpected preprocessor directive
dotnet_diagnostic.cs1029.severity = error # #error: '{0}'
dotnet_diagnostic.cs1030.severity = warning # #warning: '{0}'
dotnet_diagnostic.cs1031.severity = error # Type expected
dotnet_diagnostic.cs1032.severity = error # Cannot define/undefine preprocessor symbols after first token in file
dotnet_diagnostic.cs1035.severity = error # End-of-file found, '*/' expected
dotnet_diagnostic.cs1037.severity = error # Overloadable operator expected
dotnet_diagnostic.cs1038.severity = error # #endregion directive expected
dotnet_diagnostic.cs1039.severity = error # Unterminated string literal
dotnet_diagnostic.cs1040.severity = error # Preprocessor directives must appear as the first non-whitespace character on a line
dotnet_diagnostic.cs1041.severity = error # Identifier expected; '{1}' is a keyword
dotnet_diagnostic.cs1043.severity = error # { or ; expected
dotnet_diagnostic.cs1044.severity = error # Cannot use more than one type in a for, using, fixed, or declaration statement
dotnet_diagnostic.cs1055.severity = error # An add or remove accessor expected
dotnet_diagnostic.cs1056.severity = error # Unexpected character '{0}'
dotnet_diagnostic.cs1057.severity = error # '{0}': static classes cannot contain protected members
dotnet_diagnostic.cs1058.severity = warning # A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException.
dotnet_diagnostic.cs1059.severity = error # The operand of an increment or decrement operator must be a variable, property or indexer
dotnet_diagnostic.cs1061.severity = error # '{0}' does not contain a definition for '{1}' and no accessible extension method '{1}' accepting a first argument of type '{0}' could be found (are you missing a using directive or an assembly reference?)
dotnet_diagnostic.cs1062.severity = warning # The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}
dotnet_diagnostic.cs1063.severity = error # The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}
dotnet_diagnostic.cs1064.severity = warning # The best overloaded Add method '{0}' for the collection initializer element is obsolete.
dotnet_diagnostic.cs1065.severity = error # Default values are not valid in this context.
dotnet_diagnostic.cs1066.severity = warning # The default value specified for parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
dotnet_diagnostic.cs1067.severity = error # Partial declarations of '{0}' must have the same type parameter names and variance modifiers in the same order
dotnet_diagnostic.cs1068.severity = error # The type name '{0}' could not be found in the global namespace. This type has been forwarded to assembly '{1}' Consider adding a reference to that assembly.
dotnet_diagnostic.cs1069.severity = error # The type name '{0}' could not be found in the namespace '{1}'. This type has been forwarded to assembly '{2}' Consider adding a reference to that assembly.
dotnet_diagnostic.cs1070.severity = error # The type name '{0}' could not be found. This type has been forwarded to assembly '{1}'. Consider adding a reference to that assembly.
dotnet_diagnostic.cs1072.severity = warning # Expected identifier or numeric literal.
dotnet_diagnostic.cs1073.severity = error # Unexpected token '{0}'
dotnet_diagnostic.cs1100.severity = error # Method '{0}' has a parameter modifier 'this' which is not on the first parameter
dotnet_diagnostic.cs1103.severity = error # The first parameter of an extension method cannot be of type '{0}'
dotnet_diagnostic.cs1104.severity = error # A parameter array cannot be used with 'this' modifier on an extension method
dotnet_diagnostic.cs1105.severity = error # Extension method must be static
dotnet_diagnostic.cs1106.severity = error # Extension method must be defined in a non-generic static class
dotnet_diagnostic.cs1107.severity = error # A parameter can only have one '{0}' modifier
dotnet_diagnostic.cs1109.severity = error # Extension methods must be defined in a top level static class; {0} is a nested class
dotnet_diagnostic.cs1110.severity = error # Cannot define a new extension method because the compiler required type '{0}' cannot be found. Are you missing a reference to System.Core.dll?
dotnet_diagnostic.cs1112.severity = error # Do not use 'System.Runtime.CompilerServices.ExtensionAttribute'. Use the 'this' keyword instead.
dotnet_diagnostic.cs1113.severity = error # Extension method '{0}' defined on value type '{1}' cannot be used to create delegates
dotnet_diagnostic.cs1501.severity = error # No overload for method '{0}' takes {1} arguments
dotnet_diagnostic.cs1503.severity = error # Argument {0}: cannot convert from '{1}' to '{2}'
dotnet_diagnostic.cs1504.severity = error # Source file '{0}' could not be opened -- {1}
dotnet_diagnostic.cs1507.severity = error # Cannot link resource files when building a module
dotnet_diagnostic.cs1508.severity = error # Resource identifier '{0}' has already been used in this assembly
dotnet_diagnostic.cs1509.severity = error # The referenced file '{0}' is not an assembly
dotnet_diagnostic.cs1510.severity = error # A ref or out value must be an assignable variable
dotnet_diagnostic.cs1511.severity = error # Keyword 'base' is not available in a static method
dotnet_diagnostic.cs1512.severity = error # Keyword 'base' is not available in the current context
dotnet_diagnostic.cs1513.severity = error # } expected
dotnet_diagnostic.cs1514.severity = error # { expected
dotnet_diagnostic.cs1515.severity = error # 'in' expected
dotnet_diagnostic.cs1517.severity = error # Invalid preprocessor expression
dotnet_diagnostic.cs1519.severity = error # Invalid token '{0}' in class, record, struct, or interface member declaration
dotnet_diagnostic.cs1520.severity = error # Method must have a return type
dotnet_diagnostic.cs1521.severity = error # Invalid base type
dotnet_diagnostic.cs1522.severity = warning # Empty switch block
dotnet_diagnostic.cs1524.severity = error # Expected catch or finally
dotnet_diagnostic.cs1525.severity = error # Invalid expression term '{0}'
dotnet_diagnostic.cs1526.severity = error # A new expression requires an argument list or (), [], or {} after type
dotnet_diagnostic.cs1527.severity = error # Elements defined in a namespace cannot be explicitly declared as private, protected, protected internal, or private protected
dotnet_diagnostic.cs1528.severity = error # Expected ; or = (cannot specify constructor arguments in declaration)
dotnet_diagnostic.cs1529.severity = error # A using clause must precede all other elements defined in the namespace except extern alias declarations
dotnet_diagnostic.cs1534.severity = error # Overloaded binary operator '{0}' takes two parameters
dotnet_diagnostic.cs1535.severity = error # Overloaded unary operator '{0}' takes one parameter
dotnet_diagnostic.cs1536.severity = error # Invalid parameter type 'void'
dotnet_diagnostic.cs1537.severity = error # The using alias '{0}' appeared previously in this namespace
dotnet_diagnostic.cs1540.severity = error # Cannot access protected member '{0}' via a qualifier of type '{1}'; the qualifier must be of type '{2}' (or derived from it)
dotnet_diagnostic.cs1542.severity = error # '{0}' cannot be added to this assembly because it already is an assembly
dotnet_diagnostic.cs1545.severity = error # Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor methods '{1}' or '{2}'
dotnet_diagnostic.cs1546.severity = error # Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor method '{1}'
dotnet_diagnostic.cs1547.severity = error # Keyword 'void' cannot be used in this context
dotnet_diagnostic.cs1551.severity = error # Indexers must have at least one parameter
dotnet_diagnostic.cs1552.severity = error # Array type specifier, [], must appear before parameter name
dotnet_diagnostic.cs1553.severity = error # Declaration is not valid; use '{0} operator <dest-type> (...' instead
dotnet_diagnostic.cs1555.severity = error # Could not find '{0}' specified for Main method
dotnet_diagnostic.cs1556.severity = error # '{0}' specified for Main method must be a non-generic class, record, struct, or interface
dotnet_diagnostic.cs1558.severity = error # '{0}' does not have a suitable static 'Main' method
dotnet_diagnostic.cs1562.severity = error # Outputs without source must have the /out option specified
dotnet_diagnostic.cs1564.severity = error # Conflicting options specified: Win32 resource file; Win32 manifest
dotnet_diagnostic.cs1565.severity = error # Conflicting options specified: Win32 resource file; Win32 icon
dotnet_diagnostic.cs1566.severity = error # Error reading resource '{0}' -- '{1}'
dotnet_diagnostic.cs1569.severity = error # Error writing to XML documentation file: {0}
dotnet_diagnostic.cs1570.severity = warning # XML comment has badly formed XML -- '{0}'
dotnet_diagnostic.cs1571.severity = warning # XML comment has a duplicate param tag for '{0}'
dotnet_diagnostic.cs1572.severity = warning # XML comment has a param tag for '{0}', but there is no parameter by that name
dotnet_diagnostic.cs1573.severity = warning # Parameter '{0}' has no matching param tag in the XML comment for '{1}' (but other parameters do)
dotnet_diagnostic.cs1574.severity = warning # XML comment has cref attribute '{0}' that could not be resolved
dotnet_diagnostic.cs1575.severity = error # A stackalloc expression requires [] after type