-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathCSharpWarningCodes.buildschema.json
1591 lines (1591 loc) · 80.7 KB
/
CSharpWarningCodes.buildschema.json
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
{
// generated from https://github.com/dotnet/roslyn using https://github.com/mhutch/GenerateCSharpErrors
// Copyright (c) .NET Foundation and Contributors
"license": "Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.",
"types": {
"csharp-warning": {
"description": "Warning codes for the C# compiler",
"name": "csharp-warning-code",
"baseType": "warning-code",
// NOTE: These have been edited to remove the holes, make them terser, and make them use shorter sentences.
// This is so they can be displayed as hints in the completion list.
// The completion list will attempt to take the first sentence based on the first index of '. '.
// If the sentence is too long, it will be truncated on the last space character before 60 characters.
// This means that making the sentences short avoids triggering truncation.
// Note that backticks will also be removed from the value in the completion list
// as it cannot render markdown, and removing them makes it more concise.
"values": {
"nullable": {
"description": "All warnings relating to nullability"
},
"CS0028": {
"description": "Method has wrong signature to be an entry point",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0028",
"aliases": [ "0028", "028", "28" ]
},
"CS0067": {
"description": "Event is never used",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0067",
"aliases": [ "0067", "067", "67" ]
},
"CS0078": {
"description": "The `l` suffix is easily confused with the digit `1`. Use `L` for clarity.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0078",
"aliases": [ "0078", "078", "78" ]
},
"CS0105": {
"description": "Using directive appeared previously in this namespace",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/using-directive-errors",
"aliases": [ "0105", "105" ]
},
"CS0108": {
"description": "Member hides inherited member. Use the new keyword if hiding was intended.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs0108",
"aliases": [ "0108", "108" ]
},
"CS0109": {
"description": "Member does not hide an accessible member. The new keyword is not required.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0109",
"aliases": [ "0109", "109" ]
},
"CS0114": {
"description": "Member hides inherited member. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0114",
"aliases": [ "0114", "114" ]
},
"CS0162": {
"description": "Unreachable code detected",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0162",
"aliases": [ "0162", "162" ]
},
"CS0164": {
"description": "Label has not been referenced",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0164",
"aliases": [ "0164", "164" ]
},
"CS0168": {
"description": "Variable is declared but never used",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0168",
"aliases": [ "0168", "168" ]
},
"CS0169": {
"description": "Field is never used",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0169",
"aliases": [ "0169", "169" ]
},
"CS0183": {
"description": "Expression is always of the provided type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0183",
"aliases": [ "0183", "183" ]
},
"CS0184": {
"description": "Expression is never of the provided type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0184",
"aliases": [ "0184", "184" ]
},
"CS0197": {
"description": "Using field of marshal-by-reference class as ref or out value or taking its address may cause a runtime exception",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0197",
"aliases": [ "0197", "197" ]
},
"CS0219": {
"description": "Variable is assigned but its value is never used",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0219",
"aliases": [ "0219", "219" ]
},
"CS0251": {
"description": "Indexing an array with a negative index. Array indices always start at zero.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/array-declaration-errors",
"aliases": [ "0251", "251" ]
},
"CS0252": {
"description": "Possible unintended reference comparison. To get a value comparison, cast the left hand side.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0252",
"aliases": [ "0252", "252" ]
},
"CS0253": {
"description": "Possible unintended reference comparison. To get a value comparison, cast the right hand side.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0253",
"aliases": [ "0253", "253" ]
},
"CS0278": {
"description": "Type does not implement specified pattern. Method is ambiguous.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0278",
"aliases": [ "0278", "278" ]
},
"CS0279": {
"description": "Type does not implement specified pattern. Method is not a public instance or extension method.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0279",
"aliases": [ "0279", "279" ]
},
"CS0280": {
"description": "Type does not implement specified pattern. Member has the wrong signature.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0280",
"aliases": [ "0280", "280" ]
},
"CS0282": {
"description": "Fields in multiple declarations of partial struct have undefined ordering. To specify an ordering, all instance fields must be in the same declaration.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0282",
"aliases": [ "0282", "282" ]
},
"CS0402": {
"description": "Entry point cannot be generic or in a generic type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0402",
"aliases": [ "0402", "402" ]
},
"CS0414": {
"description": "Field is assigned but its value is never used",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0414",
"aliases": [ "0414", "414" ]
},
"CS0419": {
"description": "Ambiguous reference in cref attribute. Assuming match but could have also matched other overloads.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0419",
"aliases": [ "0419", "419" ]
},
"CS0420": {
"description": "Reference to volatile field will not be treated as volatile",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs0420",
"aliases": [ "0420", "420" ]
},
"CS0435": {
"description": "Namespace conflicts with imported type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0435",
"aliases": [ "0435", "435" ]
},
"CS0436": {
"description": "Type conflicts with imported type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0436",
"aliases": [ "0436", "436" ]
},
"CS0437": {
"description": "Type conflicts with imported namespace",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0437",
"aliases": [ "0437", "437" ]
},
"CS0440": {
"description": "Defining an alias named `global` is ill-advised. `global::` always references the global namespace and not an alias",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/using-directive-errors",
"aliases": [ "0440", "440" ]
},
"CS0458": {
"description": "The result of the expression is always `null`",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0458",
"aliases": [ "0458", "458" ]
},
"CS0464": {
"description": "Comparing null of nullable value type always produces `false`",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0464",
"aliases": [ "0464", "464" ]
},
"CS0465": {
"description": "`Finalize` method can interfere with destructor invocation. Did you intend to declare a destructor?",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs0465",
"aliases": [ "0465", "465" ]
},
"CS0469": {
"description": "The `goto case` value is not implicitly convertible to type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0469",
"aliases": [ "0469", "469" ]
},
"CS0472": {
"description": "Result of expression is constant since value type is never equal to `null`",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0472",
"aliases": [ "0472", "472" ]
},
"CS0473": {
"description": "Explicit interface implementation matches more than one interface member. Which interface member is actually chosen is implementation-dependent. Consider using a non-explicit implementation instead.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0473",
"aliases": [ "0473", "473" ]
},
"CS0612": {
"description": "Member or type is obsolete",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0612",
"aliases": [ "0612", "612" ]
},
"CS0618": {
"description": "Member or type is obsolete", // ObsoleteAttribute has message
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs0618",
"aliases": [ "0618", "618" ]
},
"CS0626": {
"description": "Method, operator, or accessor is marked external and has no attributes. Consider adding a DllImport attribute to specify the external implementation.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0626",
"aliases": [ "0626", "626" ]
},
"CS0628": {
"description": "New protected member declared in sealed type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0628",
"aliases": [ "0628", "628" ]
},
"CS0642": {
"description": "Possible mistaken empty statement",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0642",
"aliases": [ "0642", "642" ]
},
"CS0649": {
"description": "Field is never assigned to, and will always have default value",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0649",
"aliases": [ "0649", "649" ]
},
"CS0652": {
"description": "Useless comparison to integral constant. The constant is outside the range of the type.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0652",
"aliases": [ "0652", "652" ]
},
"CS0657": {
"description": "Invalid attribute location for this declaration. All attributes in this block will be ignored.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0657",
"aliases": [ "0657", "657" ]
},
"CS0658": {
"description": "Unrecognized attribute location. All attributes in this block will be ignored.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0658",
"aliases": [ "0658", "658" ]
},
"CS0659": {
"description": "Type overrides `Equals` but does not override `GetHashCode`",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0659",
"aliases": [ "0659", "659" ]
},
"CS0660": {
"description": "Type defines equality operator but does not override `Object.Equals(object o)`",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0660",
"aliases": [ "0660", "660" ]
},
"CS0661": {
"description": "Type defines equality operator but does not override `GetHashCode`",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0661",
"aliases": [ "0661", "661" ]
},
"CS0665": {
"description": "Assignment in conditional expression is always constant. Did you mean to use == instead of = ?",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0665",
"aliases": [ "0665", "665" ]
},
"CS0672": {
"description": "Member overrides obsolete member. Add the Obsolete attribute.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0672",
"aliases": [ "0672", "672" ]
},
"CS0675": {
"description": "Bitwise-or operator used on a sign-extended operand. Consider casting to a smaller unsigned type first.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs0675",
"aliases": [ "0675", "675" ]
},
"CS0684": {
"description": "Interface marked with `CoClassAttribute` not marked with `ComImportAttribute`",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0684",
"aliases": [ "0684", "684" ]
},
"CS0693": {
"description": "Type parameter has same name as the type parameter from outer type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0693",
"aliases": [ "0693", "693" ]
},
"CS0728": {
"description": "Possibly incorrect assignment to local argument of using or lock statement. The Dispose call or unlocking will happen on the original value of the local.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0728",
"aliases": [ "0728", "728" ]
},
"CS0809": {
"description": "Obsolete member overrides non-obsolete member",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0809",
"aliases": [ "0809", "809" ]
},
"CS0811": {
"description": "Fully qualified name is too long for debug information. Compile without `/debug` option.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs0811",
"aliases": [ "0811", "811" ]
},
"CS0824": {
"description": "Constructor is marked external",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/constructor-errors",
"aliases": [ "0824", "824" ]
},
"CS1030": {
"description": "`#warning` directive",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1030",
"aliases": [ "1030" ]
},
"CS1058": {
"description": "Previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1058",
"aliases": [ "1058" ]
},
"CS1062": {
"description": "Best overloaded `Add` method for collection initializer element is obsolete", // with message
"aliases": [ "1062" ]
},
"CS1064": {
"description": "Best overloaded `Add` method for collection initializer element is obsolete",
"aliases": [ "1064" ]
},
"CS1066": {
"description": "Default value specified for parameter will have no effect. This is because it applies to a member that is used in contexts that do not allow optional arguments",
"aliases": [ "1066" ]
},
"CS1072": {
"description": "Expected identifier or numeric literal",
"aliases": [ "1072" ]
},
"CS1522": {
"description": "Empty switch block",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1522",
"aliases": [ "1522" ]
},
"CS1570": {
"description": "XML comment has badly formed XML",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1570",
"aliases": [ "1570" ]
},
"CS1571": {
"description": "XML comment has duplicate `param` tag",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1571",
"aliases": [ "1571" ]
},
"CS1572": {
"description": "XML comment has `param` tag but there is no parameter by that name",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1572",
"aliases": [ "1572" ]
},
"CS1573": {
"description": "Parameter has no matching param tag in the XML comment",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1573",
"aliases": [ "1573" ]
},
"CS1574": {
"description": "XML comment has `cref` attribute that could not be resolved",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1574",
"aliases": [ "1574" ]
},
"CS1580": {
"description": "Invalid type for parameter in XML comment `cref` attribute",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1580",
"aliases": [ "1580" ]
},
"CS1581": {
"description": "Invalid return type in XML comment `cref` attribute",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1581",
"aliases": [ "1581" ]
},
"CS1584": {
"description": "XML comment has syntactically incorrect `cref` attribute",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1584",
"aliases": [ "1584" ]
},
"CS1587": {
"description": "XML comment is not placed on a valid language element",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1587",
"aliases": [ "1587" ]
},
"CS1589": {
"description": "Unable to include XML fragment",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1589",
"aliases": [ "1589" ]
},
"CS1590": {
"description": "Invalid XML `include` element",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1590",
"aliases": [ "1590" ]
},
"CS1591": {
"description": "Missing XML comment for publicly visible type or member",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1591",
"aliases": [ "1591" ]
},
"CS1592": {
"description": "Badly formed XML in included comments file",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1592",
"aliases": [ "1592" ]
},
"CS1607": {
"description": "Warning from assembly generation phase",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1607",
"aliases": [ "1607" ]
},
"CS1616": {
"description": "Option overrides attribute given in source file or module",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1616",
"aliases": [ "1616" ]
},
"CS1633": {
"description": "Unrecognized `#pragma` directive",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1633",
"aliases": [ "1633" ]
},
"CS1634": {
"description": "Expected `disable` or `restore`",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1634",
"aliases": [ "1634" ]
},
"CS1635": {
"description": "Cannot restore warning because it was disabled globally",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1635",
"aliases": [ "1635" ]
},
"CS1645": {
"description": "Feature is not part of standardized ISO C# language specification. It may not be accepted by other compilers.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1645",
"aliases": [ "1645" ]
},
"CS1658": {
"description": "Error overidden by warning",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1658",
"aliases": [ "1658" ]
},
"CS1668": {
"description": "Invalid search path",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1668",
"aliases": [ "1668" ]
},
"CS1685": {
"description": "Predefined type is defined in multiple assemblies",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1685",
"aliases": [ "1685" ]
},
"CS1687": {
"description": "Source file has exceeded limit of 16,707,565 lines representable in PDB. Debug information will be incorrect.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1687",
"aliases": [ "1687" ]
},
"CS1690": {
"description": "Accessing field of a marshal-by-reference class may cause runtime exception",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1690",
"aliases": [ "1690" ]
},
"CS1692": {
"description": "Invalid number",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1692",
"aliases": [ "1692" ]
},
"CS1695": {
"description": "Invalid #pragma checksum syntax",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1695",
"aliases": [ "1695" ]
},
"CS1696": {
"description": "Single-line comment or end-of-line expected",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1696",
"aliases": [ "1696" ]
},
"CS1697": {
"description": "Different checksum values given for file",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1697",
"aliases": [ "1697" ]
},
"CS1700": {
"description": "Assembly reference is invalid and cannot be resolved",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1700",
"aliases": [ "1700" ]
},
"CS1701": {
"description": "Assuming assembly reference matches identity of assembly. You may need to supply runtime policy.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1701",
"aliases": [ "1701" ]
},
"CS1702": {
"description": "Assuming assembly reference matches identity of assembly. You may need to supply runtime policy.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1702",
"aliases": [ "1702" ]
},
"CS1710": {
"description": "XML comment has a duplicate `typeparam` tag",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1710",
"aliases": [ "1710" ]
},
"CS1711": {
"description": "XML comment has a `typeparam` tag for unknown type parameter",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1711",
"aliases": [ "1711" ]
},
"CS1712": {
"description": "Type parameter has no matching `typeparam` tag in XML comment",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1712",
"aliases": [ "1712" ]
},
"CS1717": {
"description": "Assignment made to same variable. Did you mean to assign something else?",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1717",
"aliases": [ "1717" ]
},
"CS1718": {
"description": "Comparison made to same variable. Did you mean to compare something else?",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1718",
"aliases": [ "1718" ]
},
"CS1720": {
"description": "Expression will always cause a `NullReferenceException`. This is because the default value of the type is null.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1720",
"aliases": [ "1720" ]
},
"CS1723": {
"description": "XML comment has `cref` attribute that refers to a type parameter",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1723",
"aliases": [ "1723" ]
},
"CS1734": {
"description": "XML comment has `paramref` tag for unknown parameter",
"aliases": [ "1734" ]
},
"CS1735": {
"description": "XML comment on has `typeparamref` tag for unknown type parameter",
"aliases": [ "1735" ]
},
"CS1762": {
"description": "Reference created to embedded interop assembly. This was because of an indirect reference to that assembly created by another assembly. Consider changing the 'Embed Interop Types' property on either assembly.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1762",
"aliases": [ "1762" ]
},
"CS1927": {
"description": "Ignoring `/win32manifest` for module because it only applies to assemblies",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1927",
"aliases": [ "1927" ]
},
"CS1956": {
"description": "Interface member implementation will cause multiple matches at run-time. It is implementation dependent which method will be called.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs1956",
"aliases": [ "1956" ]
},
"CS1957": {
"description": "Member override will have multiple candidates at run-time. It is implementation dependent which method will be called. Please use a newer runtime.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs1957",
"aliases": [ "1957" ]
},
"CS1974": {
"description": "Dynamically dispatched call to method may fail at runtime. This is because one or more applicable overloads are conditional methods.",
"aliases": [ "1974" ]
},
"CS1981": {
"description": "Using `is` to test compatibility with `dynamic` is essentially identical to testing compatibility with `Object`. It will succeed for all non-null values",
"aliases": [ "1981" ]
},
"CS1998": {
"description": "This async method lacks `await` operators and will run synchronously. Consider using the `await` operator to await non-blocking API calls, or `await Task.Run(...)` to do CPU-bound work on a background thread.",
"aliases": [ "1998" ]
},
"CS2002": {
"description": "Source file specified multiple times",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs2002",
"aliases": [ "2002" ]
},
"CS2008": {
"description": "No source files specified.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs2008",
"aliases": [ "2008" ]
},
"CS2023": {
"description": "Ignoring `/noconfig` option because it was specified in a response file",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs2023",
"aliases": [ "2023" ]
},
"CS2029": {
"description": "Invalid name for a preprocessing symbol",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs2029",
"aliases": [ "2029" ]
},
"CS2038": {
"description": "Language name is invalid.",
"aliases": [ "2038" ]
},
"CS3000": {
"description": "Methods with variable arguments are not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3000",
"aliases": [ "3000" ]
},
"CS3001": {
"description": "Argument type is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3001",
"aliases": [ "3001" ]
},
"CS3002": {
"description": "Return type is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3002",
"aliases": [ "3002" ]
},
"CS3003": {
"description": "Type is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs3003",
"aliases": [ "3003" ]
},
"CS3005": {
"description": "Identifier differing only in case is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3005",
"aliases": [ "3005" ]
},
"CS3006": {
"description": "Overloaded method differing only in ref or out, or in array rank, is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3006",
"aliases": [ "3006" ]
},
"CS3007": {
"description": "Overloaded method differing only by unnamed array types is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/array-declaration-errors",
"aliases": [ "3007" ]
},
"CS3008": {
"description": "Identifier is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3008",
"aliases": [ "3008" ]
},
"CS3009": {
"description": "Base type is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs3009",
"aliases": [ "3009" ]
},
"CS3010": {
"description": "CLS-compliant interfaces must have only CLS-compliant members",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3010",
"aliases": [ "3010" ]
},
"CS3011": {
"description": "Only CLS-compliant members can be abstract",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3011",
"aliases": [ "3011" ]
},
"CS3012": {
"description": "You must specify the CLSCompliant attribute on the assembly, not the module, to enable CLS compliance checking",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3012",
"aliases": [ "3012" ]
},
"CS3013": {
"description": "Added modules must be marked with the CLSCompliant attribute to match the assembly",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3013",
"aliases": [ "3013" ]
},
"CS3014": {
"description": "Member or type cannot be marked as CLS-compliant because the assembly does not have a CLSCompliant attribute",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3014",
"aliases": [ "3014" ]
},
"CS3015": {
"description": "Type has no accessible constructors which use only CLS-compliant types",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3015",
"aliases": [ "3015" ]
},
"CS3016": {
"description": "Arrays as attribute arguments is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/array-declaration-errors",
"aliases": [ "3016" ]
},
"CS3017": {
"description": "You cannot specify the CLSCompliant attribute on a module that differs from the CLSCompliant attribute on the assembly",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3017",
"aliases": [ "3017" ]
},
"CS3018": {
"description": "Member cannot be marked as CLS-compliant because it is a member of non-CLS-compliant type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3018",
"aliases": [ "3018" ]
},
"CS3019": {
"description": "CLS compliance checking will not be performed on member ot type because it is not visible from outside this assembly",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3019",
"aliases": [ "3019" ]
},
"CS3021": {
"description": "Member or type does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3021",
"aliases": [ "3021" ]
},
"CS3022": {
"description": "CLSCompliant attribute has no meaning when applied to parameters. Try putting it on the method instead.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3022",
"aliases": [ "3022" ]
},
"CS3023": {
"description": "CLSCompliant attribute has no meaning when applied to return types. Try putting it on the method instead.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3023",
"aliases": [ "3023" ]
},
"CS3024": {
"description": "Constraint type is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3024",
"aliases": [ "3024" ]
},
"CS3026": {
"description": "CLS-compliant field cannot be volatile",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3026",
"aliases": [ "3026" ]
},
"CS3027": {
"description": "Type is not CLS-compliant because base interface is not CLS-compliant",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/misc/cs3027",
"aliases": [ "3027" ]
},
"CS4014": {
"description": "Call is not awaited, so execution of current method continues before call is completed. Consider applying the `await` operator to the result of the call.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/cs4014",
"aliases": [ "4014" ]
},
"CS4024": {
"description": "`CallerLineNumber` attribute applied to parameter will have no effect. The member is used in contexts that do not allow optional arguments.",
"aliases": [ "4024" ]
},
"CS4025": {
"description": "`CallerFilePath` attribute applied to parameter will have no effect. The member is used in contexts that do not allow optional arguments",
"aliases": [ "4025" ]
},
"CS4026": {
"description": "`CallerMemberName` attribute applied to parameter will have no effect. The member is used in contexts that do not allow optional arguments",
"aliases": [ "4026" ]
},
"CS7022": {
"description": "Entry point of program is global code; ignoring entry point.",
"aliases": [ "7022" ]
},
"CS7023": {
"description": "Second operand of `is` or `as` operator may not be static type",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/warning-waves",
"aliases": [ "7023" ]
},
"CS7033": {
"description": "Delay signing was specified and requires a public key, but no public key was specified",
"aliases": [ "7033" ]
},
"CS7035": {
"description": "Specified version string does not conform to recommended format. Recommended format is `major.minor.build.revision`.",
"aliases": [ "7035" ]
},
"CS7080": {
"description": "`CallerMemberName` attribute applied to parameter will have no effect. It is overridden by the `CallerFilePath` attribute.",
"aliases": [ "7080" ]
},
"CS7081": {
"description": "`CallerMemberName` attribute applied to parameter will have no effect. It is overridden by the `CallerLineNumber` attribute.",
"aliases": [ "7081" ]
},
"CS7082": {
"description": "`CallerFilePath` attribute applied to parameter will have no effect. It is overridden by the `CallerLineNumber` attribute.",
"aliases": [ "7082" ]
},
"CS7090": {
"description": "Attribute from module will be ignored in favor of the instance appearing in source",
"aliases": [ "7090" ]
},
"CS7095": {
"description": "Filter expression is a constant `true`. Consider removing the filter.",
"aliases": [ "7095" ]
},
"CS8001": {
"description": "Command line switch is not yet implemented and was ignored.",
"aliases": [ "8001" ]
},
"CS8002": {
"description": "Referenced assembly does not have a strong name.",
"aliases": [ "8002" ]
},
"CS8009": {
"description": "Referenced assembly has different culture setting.",
"aliases": [ "8009" ]
},
"CS8012": {
"description": "Referenced assembly targets a different processor.",
"aliases": [ "8012" ]
},
"CS8018": {
"description": "Within `cref` attributes, nested types of generic types should be qualified.",
"aliases": [ "8018" ]
},
"CS8021": {
"description": "No value for `RuntimeMetadataVersion` found. No assembly containing `System.Object` was found nor was a value for `RuntimeMetadataVersion` specified through options.",
"aliases": [ "8021" ]
},
"CS8029": {
"description": "Local name is too long for PDB. Consider shortening or compiling without `/debug`.",
"aliases": [ "8029" ]
},
"CS8032": {
"description": "Instance of analyzer cannot be created",
"aliases": [ "8032" ]
},
"CS8033": {
"description": "Assembly does not contain any analyzers.",
"aliases": [ "8033" ]
},
"CS8034": {
"description": "Unable to load analyzer assembly",
"aliases": [ "8034" ]
},
"CS8073": {
"description": "Result of expression is constant because struct type is never equal to `null`",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/warning-waves",
"aliases": [ "8073" ]
},
"CS8094": {
"description": "Alignment value may result in a large formatted string.",
"aliases": [ "8094" ]
},
"CS8105": {
"description": "Attribute is ignored when public signing is specified.",
"aliases": [ "8105" ]
},
"CS8123": {
"description": "Tuple element name ignored because target type specifies different name or no name.",
"aliases": [ "8123" ]
},
"CS8305": {
"description": "Feature is for evaluation purposes only. It is subject to change or removal in future updates.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/feature-version-errors",
"aliases": [ "8305" ]
},
"CS8321": {
"description": "Local function declared but never used",
"aliases": [ "8321" ]
},
"CS8359": {
"description": "Filter expression is constant `false`. Consider removing the catch clause.",
"aliases": [ "8359" ]
},
"CS8360": {
"description": "Filter expression is a constant `false`. Consider removing the `try-catch` block.",
"aliases": [ "8360" ]
},
"CS8371": {
"description": "Field-targeted attributes on auto-properties not supported in language version. Please use language version that supports them.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/feature-version-errors",
"aliases": [ "8371" ]
},
"CS8383": {
"description": "Tuple element name ignored because other side of tuple equality operator specifies a different name or no name",
"aliases": [ "8383" ]
},
"CS8387": {
"description": "Type parameter has same name as type parameter from outer method",
"aliases": [ "8387" ]
},
"CS8424": {
"description": "The `EnumeratorCancellation` attribute applied to parameter will have no effect. The attribute is only effective on a parameter of type `CancellationToken` in an async-iterator method returning `IAsyncEnumerable`.",
"aliases": [ "8424" ]
},
"CS8425": {
"description": "Async-iterator has one or more `CancellationToken` parameters but none is decorated with the `EnumeratorCancellation` attribute, so the cancellation token parameter from the generated `IAsyncEnumerable<>.GetAsyncEnumerator` will be unconsumed",
"aliases": [ "8425" ]
},
"CS8500": {
"description": "This takes the address of, gets the size of, or declares a pointer to a managed type",
"aliases": [ "8500" ]
},
"CS8509": {
"description": "Switch expression does not handle all possible values of its input type.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/pattern-matching-warnings",
"aliases": [ "8509" ]
},
"CS8512": {
"description": "Name `_` refers to constant, not discard pattern. Use `var _` to discard the value, or `@_` to refer to a constant by that name.",
"aliases": [ "8512" ]
},
"CS8513": {
"description": "Name `_` refers to type, not discard pattern. Use `@_` for the type, or `var _` to discard.",
"aliases": [ "8513" ]
},
"CS8519": {
"description": "Given expression never matches provided pattern.",
"aliases": [ "8519" ]
},
"CS8520": {
"description": "Given expression always matches provided constant.",
"aliases": [ "8520" ]
},
"CS8524": {
"description": "Switch expression does not handle some values of its input type involving an unnamed enum value.",
"aliases": [ "8524" ]
},
"CS8597": {
"description": "Thrown value may be null.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8597" ]
},
"CS8600": {
"description": "Converting null literal or possible null value to non-nullable type.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8600" ]
},
"CS8601": {
"description": "Possible null reference assignment.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8601" ]
},
"CS8602": {
"description": "Dereference of a possibly null reference.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8602" ]
},
"CS8603": {
"description": "Possible null reference return.",
"aliases": [ "8603" ]
},
"CS8604": {
"description": "Possible null reference argument for parameter.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8604" ]
},
"CS8605": {
"description": "Unboxing a possibly null value.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8605" ]
},
"CS8607": {
"description": "Possible null value may not be used for type marked with `NotNull` or `DisallowNull` attribute",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8607" ]
},
"CS8608": {
"description": "Nullability doesn't match overridden member.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8608" ]
},
"CS8609": {
"description": "Nullability of return type doesn't match overridden member.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8609" ]
},
"CS8610": {
"description": "Nullability of parameter doesn't match overridden member.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8610" ]
},
"CS8611": {
"description": "Nullability of parameter doesn't match partial method declaration.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8611" ]
},
"CS8612": {
"description": "Nullability doesn't match implicitly implemented member.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8612" ]
},
"CS8613": {
"description": "Nullability of return type doesn't match implicitly implemented member.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8613" ]
},
"CS8614": {
"description": "Nullability of parameter doesn't match implicitly implemented member.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8614" ]
},
"CS8615": {
"description": "Nullability doesn't match implemented member.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8615" ]
},
"CS8616": {
"description": "Nullability of return type doesn't match implemented member.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8616" ]
},
"CS8617": {
"description": "Nullability of parameter doesn't match implemented member.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8617" ]
},
"CS8618": {
"description": "Non-nullable variable must contain a non-null value when exiting constructor. Consider declaring it as nullable.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8618" ]
},
"CS8619": {
"description": "Nullability of value doesn't match target type.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8619" ]
},
"CS8620": {
"description": "Argument cannot be used for parameter due to differences in nullability.",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",
"aliases": [ "8620" ]
},
"CS8621": {
"description": "Nullability of return type doesn't match target delegate",
"helpUrl": "https://docs.microsoft.com/dotnet/csharp/language-reference/compiler-messages/nullable-warnings",