482 references to ERR_InvalidModifierForLanguageVersion
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2014
or ErrorCode.
ERR_InvalidModifierForLanguageVersion
Symbols\Source\ModifierUtils.cs (1)
206
diagnostics.Add(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, errorLocation,
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
302
diagnostics.Add(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, location,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
PrivateProtected.cs (1)
423
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M").WithArguments("private protected", "7.2", "8.0").WithLocation(3, 27),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
FieldKeywordTests.cs (8)
8503
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("partial", "12.0", "13.0").WithLocation(3, 20),
8506
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("partial", "12.0", "13.0").WithLocation(3, 20),
8512
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("partial", "12.0", "13.0").WithLocation(4, 20),
8515
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("partial", "12.0", "13.0").WithLocation(4, 20),
8524
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("partial", "12.0", "13.0").WithLocation(3, 20),
8527
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("partial", "12.0", "13.0").WithLocation(3, 20),
8530
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("partial", "12.0", "13.0").WithLocation(4, 20),
8533
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("partial", "12.0", "13.0").WithLocation(4, 20));
PartialEventsAndConstructorsTests.cs (2)
218
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "E").WithArguments("partial", "13.0", "14.0").WithLocation(3, 33),
925
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "E").WithArguments("partial", "7.0", "14.0").WithLocation(3, 33),
RefStructInterfacesTests.cs (1)
26832
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "NotSlice").WithArguments("abstract", "10.0", "11.0").WithLocation(33, 35),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\BindingAsyncTests.cs (1)
1311
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F").WithArguments("async", "7.0", "8.0").WithLocation(4, 16),
Semantics\InheritanceBindingTests.cs (3)
104
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "Method12").WithArguments("static", "9.0", "11.0").WithLocation(37, 22),
196
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "Property12").WithArguments("static", "9.0", "11.0").WithLocation(35, 21),
358
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "Event12").WithArguments("static", "9.0", "11.0").WithLocation(35, 37),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (463)
Symbols\DefaultInterfaceImplementationTests.cs (191)
1807
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("virtual", "10.0", "11.0").WithLocation(4, 25),
1901
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("virtual", "10.0", "11.0").WithLocation(4, 25)
4651
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("virtual", "10.0", "11.0").WithLocation(4, 24),
4657
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P3").WithArguments("virtual", "10.0", "11.0").WithLocation(5, 24),
4663
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P5").WithArguments("virtual", "10.0", "11.0").WithLocation(6, 24),
4669
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P7").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 24),
4776
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("virtual", "10.0", "11.0").WithLocation(4, 24),
4779
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P3").WithArguments("virtual", "10.0", "11.0").WithLocation(5, 24),
4782
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P5").WithArguments("virtual", "10.0", "11.0").WithLocation(6, 24),
4785
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P7").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 24)
7614
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "E7").WithArguments("virtual", "10.0", "11.0").WithLocation(4, 40),
7695
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "E7").WithArguments("virtual", "10.0", "11.0").WithLocation(4, 40)
8630
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("public", "7.3", "8.0").WithLocation(4, 17),
8633
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("protected", "7.3", "8.0").WithLocation(5, 20),
8636
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("protected internal", "7.3", "8.0").WithLocation(6, 29),
8639
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M04").WithArguments("internal", "7.3", "8.0").WithLocation(7, 19),
8642
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("private", "7.3", "8.0").WithLocation(8, 18),
8645
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("static", "7.3", "8.0").WithLocation(9, 17),
8648
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("virtual", "7.3", "8.0").WithLocation(10, 18),
8651
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("sealed", "7.3", "8.0").WithLocation(11, 17),
8657
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("abstract", "7.3", "8.0").WithLocation(13, 19),
8660
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M11").WithArguments("extern", "7.3", "8.0").WithLocation(14, 17),
8663
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M12").WithArguments("async", "7.3", "8.0").WithLocation(15, 16),
8684
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M13").WithArguments("private protected", "7.3", "8.0").WithLocation(16, 28)
8829
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "7.3", "8.0").WithLocation(4, 26),
8832
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("public", "7.3", "8.0").WithLocation(4, 26)
8955
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "9.0", "11.0").WithLocation(4, 26),
8958
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M2").WithArguments("virtual", "9.0", "11.0").WithLocation(6, 25),
8961
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M3").WithArguments("sealed", "9.0", "11.0").WithLocation(10, 24),
9259
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "9.0", "11.0").WithLocation(4, 28),
10474
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("extern", "7.3", "8.0").WithLocation(4, 17),
10477
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M2").WithArguments("extern", "7.3", "8.0").WithLocation(5, 25),
10480
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M2").WithArguments("virtual", "7.3", "8.0").WithLocation(5, 25),
10483
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M3").WithArguments("static", "7.3", "8.0").WithLocation(6, 24),
10486
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M3").WithArguments("extern", "7.3", "8.0").WithLocation(6, 24),
10489
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M4").WithArguments("private", "7.3", "8.0").WithLocation(7, 25),
10492
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M4").WithArguments("extern", "7.3", "8.0").WithLocation(7, 25),
10495
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M5").WithArguments("sealed", "7.3", "8.0").WithLocation(8, 24),
10498
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M5").WithArguments("extern", "7.3", "8.0").WithLocation(8, 24),
10700
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M3").WithArguments("abstract", "9.0", "11.0").WithLocation(6, 26),
11250
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "7.3", "8.0").WithLocation(4, 25),
11253
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("partial", "7.3", "8.0").WithLocation(4, 25)
11274
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("partial", "7.3", "8.0").WithLocation(4, 18)
12480
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "9.0", "11.0").WithLocation(24, 29),
12486
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "9.0", "11.0").WithLocation(36, 13)
13585
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P01").WithArguments("public", "7.3", "8.0").WithLocation(4, 16),
13588
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P02").WithArguments("protected", "7.3", "8.0").WithLocation(5, 19),
13591
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P03").WithArguments("protected internal", "7.3", "8.0").WithLocation(6, 28),
13594
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P04").WithArguments("internal", "7.3", "8.0").WithLocation(7, 18),
13597
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P05").WithArguments("private", "7.3", "8.0").WithLocation(8, 17),
13603
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P06").WithArguments("static", "7.3", "8.0").WithLocation(9, 16),
13606
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P07").WithArguments("virtual", "7.3", "8.0").WithLocation(10, 17),
13612
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P08").WithArguments("sealed", "7.3", "8.0").WithLocation(11, 16),
13621
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P10").WithArguments("abstract", "7.3", "8.0").WithLocation(13, 18),
13624
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P11").WithArguments("extern", "7.3", "8.0").WithLocation(14, 16),
13627
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("public", "7.3", "8.0").WithLocation(16, 22),
13633
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("protected", "7.3", "8.0").WithLocation(17, 30),
13636
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("protected internal", "7.3", "8.0").WithLocation(18, 34),
13639
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("internal", "7.3", "8.0").WithLocation(19, 29),
13642
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("private", "7.3", "8.0").WithLocation(20, 23),
13648
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("private", "7.3", "8.0").WithLocation(21, 23),
13654
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P18").WithArguments("private protected", "7.3", "8.0").WithLocation(23, 27),
13657
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("private protected", "7.3", "8.0").WithLocation(24, 38),
14082
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("abstract", "7.3", "8.0").WithLocation(4, 25),
14085
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("public", "7.3", "8.0").WithLocation(4, 25)
14377
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("abstract", "9.0", "11.0").WithLocation(4, 25),
14380
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("virtual", "9.0", "11.0").WithLocation(6, 24),
14383
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P3").WithArguments("sealed", "9.0", "11.0").WithLocation(8, 23),
16693
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("extern", "7.3", "8.0").WithLocation(4, 16),
16696
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("extern", "7.3", "8.0").WithLocation(8, 24),
16699
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("virtual", "7.3", "8.0").WithLocation(8, 24),
16702
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P3").WithArguments("static", "7.3", "8.0").WithLocation(12, 23),
16705
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P3").WithArguments("extern", "7.3", "8.0").WithLocation(12, 23),
16708
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P4").WithArguments("private", "7.3", "8.0").WithLocation(16, 24),
16711
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P4").WithArguments("extern", "7.3", "8.0").WithLocation(16, 24),
16714
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P5").WithArguments("sealed", "7.3", "8.0").WithLocation(20, 23),
16717
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P5").WithArguments("extern", "7.3", "8.0").WithLocation(20, 23),
17228
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P4").WithArguments("abstract", "9.0", "11.0").WithLocation(16, 25),
22059
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("public", "7.3", "8.0").WithLocation(2, 34),
22062
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("protected", "7.3", "8.0").WithLocation(3, 37),
22065
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("protected internal", "7.3", "8.0").WithLocation(4, 46),
22068
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("internal", "7.3", "8.0").WithLocation(5, 36),
22071
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("private", "7.3", "8.0").WithLocation(6, 35),
22080
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("virtual", "7.3", "8.0").WithLocation(8, 35),
22086
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("sealed", "7.3", "8.0").WithLocation(9, 34),
22095
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("abstract", "7.3", "8.0").WithLocation(11, 36),
22098
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("extern", "7.3", "8.0").WithLocation(12, 34),
22101
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("public", "7.3", "8.0").WithLocation(14, 48),
22107
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("protected", "7.3", "8.0").WithLocation(15, 56),
22110
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("protected internal", "7.3", "8.0").WithLocation(16, 60),
22113
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("internal", "7.3", "8.0").WithLocation(17, 55),
22116
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("private", "7.3", "8.0").WithLocation(18, 49),
22122
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("private", "7.3", "8.0").WithLocation(19, 49),
22128
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("private protected", "7.3", "8.0").WithLocation(21, 45),
22131
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("private protected", "7.3", "8.0").WithLocation(22, 64),
22464
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("abstract", "7.3", "8.0").WithLocation(4, 25),
22467
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("public", "7.3", "8.0").WithLocation(4, 25)
24206
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("extern", "7.3", "8.0").WithLocation(4, 16),
24209
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("extern", "7.3", "8.0").WithLocation(8, 24),
24212
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("virtual", "7.3", "8.0").WithLocation(8, 24),
24215
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("private", "7.3", "8.0").WithLocation(12, 24),
24218
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("extern", "7.3", "8.0").WithLocation(12, 24),
24221
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("sealed", "7.3", "8.0").WithLocation(16, 23),
24224
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("extern", "7.3", "8.0").WithLocation(16, 23),
27151
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P01").WithArguments("public", "7.3", "8.0").WithLocation(4, 32),
27217
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P13").WithArguments("extern", "7.3", "8.0").WithLocation(16, 32),
27223
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P14").WithArguments("private protected", "7.3", "8.0").WithLocation(17, 43),
27226
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P15").WithArguments("protected", "7.3", "8.0").WithLocation(18, 35),
27229
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P16").WithArguments("protected internal", "7.3", "8.0").WithLocation(19, 44)
27710
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("abstract", "7.3", "8.0").WithLocation(4, 41),
27713
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("public", "7.3", "8.0").WithLocation(4, 41)
27958
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("abstract", "9.0", "11.0").WithLocation(4, 41),
27961
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("virtual", "9.0", "11.0").WithLocation(6, 40),
27964
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P3").WithArguments("sealed", "9.0", "11.0").WithLocation(8, 39),
30283
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("extern", "7.3", "8.0").WithLocation(4, 32),
30286
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("extern", "7.3", "8.0").WithLocation(8, 40),
30289
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("virtual", "7.3", "8.0").WithLocation(8, 40),
30292
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P3").WithArguments("static", "7.3", "8.0").WithLocation(12, 39),
30295
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P3").WithArguments("extern", "7.3", "8.0").WithLocation(12, 39),
30298
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P4").WithArguments("private", "7.3", "8.0").WithLocation(16, 40),
30301
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P4").WithArguments("extern", "7.3", "8.0").WithLocation(16, 40),
30304
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P5").WithArguments("sealed", "7.3", "8.0").WithLocation(20, 39),
30307
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P5").WithArguments("extern", "7.3", "8.0").WithLocation(20, 39),
30625
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P4").WithArguments("abstract", "9.0", "11.0").WithLocation(16, 41),
33211
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 26),
33214
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "10.0", "11.0").WithLocation(9, 26),
33217
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "10.0", "11.0").WithLocation(14, 20),
33220
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "10.0", "11.0").WithLocation(18, 20)
33831
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 26),
33834
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "10.0", "11.0").WithLocation(9, 27),
37263
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 25),
37266
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "10.0", "11.0").WithLocation(9, 25),
37269
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "10.0", "11.0").WithLocation(14, 19),
37272
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "10.0", "11.0").WithLocation(22, 19)
38099
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 25),
38102
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "10.0", "11.0").WithLocation(9, 26),
40321
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 41),
40324
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "10.0", "11.0").WithLocation(9, 41),
40327
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "10.0", "11.0").WithLocation(14, 35),
40330
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "10.0", "11.0").WithLocation(20, 35)
44425
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I6").WithArguments("extern", "7.3", "8.0").WithLocation(24, 19),
45120
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F1").WithArguments("static", "7.3", "8.0").WithLocation(4, 16),
45123
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("static", "7.3", "8.0").WithLocation(5, 23),
45126
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("public", "7.3", "8.0").WithLocation(5, 23),
45129
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("static", "7.3", "8.0").WithLocation(6, 25),
45132
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("internal", "7.3", "8.0").WithLocation(6, 25),
45135
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F4").WithArguments("static", "7.3", "8.0").WithLocation(7, 24),
45138
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F4").WithArguments("private", "7.3", "8.0").WithLocation(7, 24),
45273
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F1").WithArguments("static", "7.3", "8.0").WithLocation(4, 16),
45276
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("static", "7.3", "8.0").WithLocation(5, 23),
45279
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("public", "7.3", "8.0").WithLocation(5, 23),
45282
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("static", "7.3", "8.0").WithLocation(6, 25),
45285
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("internal", "7.3", "8.0").WithLocation(6, 25),
45288
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F4").WithArguments("static", "7.3", "8.0").WithLocation(7, 24),
45291
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F4").WithArguments("private", "7.3", "8.0").WithLocation(7, 24),
45412
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F1").WithArguments("static", "7.3", "8.0").WithLocation(4, 16),
45415
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("private", "7.3", "8.0").WithLocation(4, 33),
45418
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("static", "7.3", "8.0").WithLocation(5, 23),
45421
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("public", "7.3", "8.0").WithLocation(5, 23),
45424
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("private", "7.3", "8.0").WithLocation(5, 40),
45427
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("static", "7.3", "8.0").WithLocation(6, 25),
45430
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("internal", "7.3", "8.0").WithLocation(6, 25),
45433
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("private", "7.3", "8.0").WithLocation(6, 42),
45606
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F1").WithArguments("static", "7.3", "8.0").WithLocation(4, 32),
45609
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("static", "7.3", "8.0").WithLocation(5, 39),
45612
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("public", "7.3", "8.0").WithLocation(5, 39),
45615
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("static", "7.3", "8.0").WithLocation(6, 41),
45618
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("internal", "7.3", "8.0").WithLocation(6, 41),
45621
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F4").WithArguments("static", "7.3", "8.0").WithLocation(7, 40),
45624
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F4").WithArguments("private", "7.3", "8.0").WithLocation(7, 40)
45743
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F1").WithArguments("static", "7.3", "8.0").WithLocation(4, 32),
45746
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("static", "7.3", "8.0").WithLocation(5, 39),
45749
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F2").WithArguments("public", "7.3", "8.0").WithLocation(5, 39),
45752
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("static", "7.3", "8.0").WithLocation(6, 41),
45755
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F3").WithArguments("internal", "7.3", "8.0").WithLocation(6, 41),
45758
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F4").WithArguments("static", "7.3", "8.0").WithLocation(7, 40),
45761
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "F4").WithArguments("private", "7.3", "8.0").WithLocation(7, 40)
52427
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 26),
52430
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M1").WithArguments("static", "10.0", "11.0").WithLocation(9, 29)
57268
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 25),
57271
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("static", "10.0", "11.0").WithLocation(9, 28)
57347
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 25),
57350
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("static", "10.0", "11.0").WithLocation(9, 28)
57423
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 25),
57426
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("static", "10.0", "11.0").WithLocation(9, 28)
59456
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 41),
59459
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("static", "10.0", "11.0").WithLocation(9, 44)
68496
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments("abstract", "10.0", "11.0").WithLocation(4, 33),
68499
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments("abstract", "10.0", "11.0").WithLocation(9, 33),
68513
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 39),
68516
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("abstract", "10.0", "11.0").WithLocation(9, 39),
Symbols\ExtendedPartialMethodsTests.cs (2)
1949
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M").WithArguments("public", "7.0", "8.0").WithLocation(3, 24),
1952
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M").WithArguments("partial", "7.0", "8.0").WithLocation(3, 24),
Symbols\PartialPropertiesTests.cs (6)
2521
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P").WithArguments("partial", "7.0", "13.0").WithLocation(3, 17),
2524
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P").WithArguments("partial", "7.0", "13.0").WithLocation(4, 17),
5200
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P").WithArguments("partial", "12.0", "13.0").WithLocation(3, 24),
5203
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P").WithArguments("partial", "12.0", "13.0").WithLocation(4, 24),
5206
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("partial", "12.0", "13.0").WithLocation(6, 24),
5209
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "this").WithArguments("partial", "12.0", "13.0").WithLocation(7, 24));
Symbols\StaticAbstractMembersInInterfacesTests.cs (252)
75
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 26),
78
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 25),
84
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "10.0", "11.0").WithLocation(10, 24),
96
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "10.0", "11.0").WithLocation(16, 34),
99
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "10.0", "11.0").WithLocation(16, 34),
108
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "10.0", "11.0").WithLocation(19, 33),
114
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "10.0", "11.0").WithLocation(22, 35),
120
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "10.0", "11.0").WithLocation(25, 32),
129
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "10.0", "11.0").WithLocation(28, 34),
138
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "10.0", "11.0").WithLocation(31, 33),
316
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 26),
322
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 25),
325
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "10.0", "11.0").WithLocation(10, 24),
331
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "10.0", "11.0").WithLocation(16, 34),
334
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "10.0", "11.0").WithLocation(16, 34),
346
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "10.0", "11.0").WithLocation(19, 33),
355
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "10.0", "11.0").WithLocation(22, 35),
364
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "10.0", "11.0").WithLocation(25, 32),
370
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "10.0", "11.0").WithLocation(28, 34),
376
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "10.0", "11.0").WithLocation(31, 33)
595
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 26),
598
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "7.3", "11.0").WithLocation(7, 25),
604
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "7.3", "11.0").WithLocation(10, 24),
613
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M04").WithArguments("static", "7.3", "8.0").WithLocation(13, 26),
619
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "7.3", "11.0").WithLocation(16, 34),
622
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "7.3", "11.0").WithLocation(16, 34),
631
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "7.3", "11.0").WithLocation(19, 33),
637
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "7.3", "11.0").WithLocation(22, 35),
643
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "7.3", "11.0").WithLocation(25, 32),
652
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "7.3", "11.0").WithLocation(28, 34),
661
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "7.3", "11.0").WithLocation(31, 33),
715
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 26),
721
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "7.3", "11.0").WithLocation(7, 25),
724
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "7.3", "11.0").WithLocation(10, 24),
733
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "7.3", "11.0").WithLocation(16, 34),
736
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "7.3", "11.0").WithLocation(16, 34),
748
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "7.3", "11.0").WithLocation(19, 33),
757
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "7.3", "11.0").WithLocation(22, 35),
766
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "7.3", "11.0").WithLocation(25, 32),
772
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "7.3", "11.0").WithLocation(28, 34),
778
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "7.3", "11.0").WithLocation(31, 33)
1657
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 26),
1660
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 25),
1663
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "10.0", "11.0").WithLocation(10, 24),
1669
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "10.0", "11.0").WithLocation(16, 34),
1672
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "10.0", "11.0").WithLocation(16, 34),
1681
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "10.0", "11.0").WithLocation(19, 33),
1687
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "10.0", "11.0").WithLocation(22, 35),
1693
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "10.0", "11.0").WithLocation(25, 32),
1699
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "10.0", "11.0").WithLocation(28, 34),
1705
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "10.0", "11.0").WithLocation(31, 33)
1984
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 26),
1990
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 25),
1993
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "10.0", "11.0").WithLocation(10, 24),
1999
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "10.0", "11.0").WithLocation(16, 34),
2002
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "10.0", "11.0").WithLocation(16, 34),
2014
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "10.0", "11.0").WithLocation(19, 33),
2023
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "10.0", "11.0").WithLocation(22, 35),
2032
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "10.0", "11.0").WithLocation(25, 32),
2038
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "10.0", "11.0").WithLocation(28, 34),
2044
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "10.0", "11.0").WithLocation(31, 33)
2245
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 26),
2248
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "7.3", "11.0").WithLocation(7, 25),
2251
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "7.3", "11.0").WithLocation(10, 24),
2257
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M04").WithArguments("static", "7.3", "8.0").WithLocation(13, 26),
2260
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "7.3", "11.0").WithLocation(16, 34),
2263
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "7.3", "11.0").WithLocation(16, 34),
2272
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "7.3", "11.0").WithLocation(19, 33),
2278
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "7.3", "11.0").WithLocation(22, 35),
2284
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "7.3", "11.0").WithLocation(25, 32),
2290
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "7.3", "11.0").WithLocation(28, 34),
2296
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "7.3", "11.0").WithLocation(31, 33)
2347
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 26),
2353
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "7.3", "11.0").WithLocation(7, 25),
2356
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "7.3", "11.0").WithLocation(10, 24),
2365
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "7.3", "11.0").WithLocation(16, 34),
2368
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "7.3", "11.0").WithLocation(16, 34),
2380
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "7.3", "11.0").WithLocation(19, 33),
2389
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "7.3", "11.0").WithLocation(22, 35),
2398
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "7.3", "11.0").WithLocation(25, 32),
2404
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "7.3", "11.0").WithLocation(28, 34),
2410
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "7.3", "11.0").WithLocation(31, 33)
2463
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 29),
2466
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 28),
2469
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "10.0", "11.0").WithLocation(10, 27),
2475
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "10.0", "11.0").WithLocation(16, 37),
2478
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "10.0", "11.0").WithLocation(16, 37),
2487
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "10.0", "11.0").WithLocation(19, 36),
2493
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "10.0", "11.0").WithLocation(22, 38),
2499
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "10.0", "11.0").WithLocation(25, 35),
2505
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "10.0", "11.0").WithLocation(28, 37),
2511
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "10.0", "11.0").WithLocation(31, 36)
2798
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 29),
2804
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 28),
2807
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "10.0", "11.0").WithLocation(10, 27),
2813
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "10.0", "11.0").WithLocation(16, 37),
2816
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "10.0", "11.0").WithLocation(16, 37),
2828
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "10.0", "11.0").WithLocation(19, 36),
2837
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "10.0", "11.0").WithLocation(22, 38),
2846
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "10.0", "11.0").WithLocation(25, 35),
2852
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "10.0", "11.0").WithLocation(28, 37),
2858
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "10.0", "11.0").WithLocation(31, 36)
3064
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 29),
3067
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "7.3", "11.0").WithLocation(7, 28),
3070
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "7.3", "11.0").WithLocation(10, 27),
3076
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M04").WithArguments("static", "7.3", "8.0").WithLocation(13, 29),
3079
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "7.3", "11.0").WithLocation(16, 37),
3082
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "7.3", "11.0").WithLocation(16, 37),
3091
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "7.3", "11.0").WithLocation(19, 36),
3097
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "7.3", "11.0").WithLocation(22, 38),
3103
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "7.3", "11.0").WithLocation(25, 35),
3109
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "7.3", "11.0").WithLocation(28, 37),
3115
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "7.3", "11.0").WithLocation(31, 36)
3167
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 29),
3173
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments("virtual", "7.3", "11.0").WithLocation(7, 28),
3176
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M03").WithArguments("sealed", "7.3", "11.0").WithLocation(10, 27),
3185
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("abstract", "7.3", "11.0").WithLocation(16, 37),
3188
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M05").WithArguments("virtual", "7.3", "11.0").WithLocation(16, 37),
3200
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M06").WithArguments("abstract", "7.3", "11.0").WithLocation(19, 36),
3209
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M07").WithArguments("abstract", "7.3", "11.0").WithLocation(22, 38),
3218
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M08").WithArguments("virtual", "7.3", "11.0").WithLocation(25, 35),
3224
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M09").WithArguments("virtual", "7.3", "11.0").WithLocation(28, 37),
3230
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M10").WithArguments("sealed", "7.3", "11.0").WithLocation(31, 36)
3281
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "+").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 32),
3284
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "-").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 31),
3290
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "++").WithArguments("sealed", "10.0", "11.0").WithLocation(10, 30),
3302
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!").WithArguments("abstract", "10.0", "11.0").WithLocation(16, 40),
3311
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "~").WithArguments("abstract", "10.0", "11.0").WithLocation(19, 39),
3317
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "+").WithArguments("abstract", "10.0", "11.0").WithLocation(22, 41),
3323
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "-").WithArguments("virtual", "10.0", "11.0").WithLocation(25, 38),
3332
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "*").WithArguments("virtual", "10.0", "11.0").WithLocation(28, 40),
3341
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "/").WithArguments("sealed", "10.0", "11.0").WithLocation(31, 39),
3519
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "+").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 32),
3525
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "-").WithArguments("virtual", "10.0", "11.0").WithLocation(7, 31),
3528
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "++").WithArguments("sealed", "10.0", "11.0").WithLocation(10, 30),
3534
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!").WithArguments("abstract", "10.0", "11.0").WithLocation(16, 40),
3543
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "~").WithArguments("abstract", "10.0", "11.0").WithLocation(19, 39),
3552
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "+").WithArguments("abstract", "10.0", "11.0").WithLocation(22, 41),
3561
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "-").WithArguments("virtual", "10.0", "11.0").WithLocation(25, 38),
3567
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "*").WithArguments("virtual", "10.0", "11.0").WithLocation(28, 40),
3573
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "/").WithArguments("sealed", "10.0", "11.0").WithLocation(31, 39)
3789
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "+").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 32),
3792
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "-").WithArguments("virtual", "7.3", "11.0").WithLocation(7, 31),
3798
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "++").WithArguments("sealed", "7.3", "11.0").WithLocation(10, 30),
3813
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!").WithArguments("abstract", "7.3", "11.0").WithLocation(16, 40),
3822
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "~").WithArguments("abstract", "7.3", "11.0").WithLocation(19, 39),
3828
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "+").WithArguments("abstract", "7.3", "11.0").WithLocation(22, 41),
3834
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "-").WithArguments("virtual", "7.3", "11.0").WithLocation(25, 38),
3843
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "*").WithArguments("virtual", "7.3", "11.0").WithLocation(28, 40),
3852
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "/").WithArguments("sealed", "7.3", "11.0").WithLocation(31, 39),
3906
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "+").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 32),
3912
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "-").WithArguments("virtual", "7.3", "11.0").WithLocation(7, 31),
3915
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "++").WithArguments("sealed", "7.3", "11.0").WithLocation(10, 30),
3924
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!").WithArguments("abstract", "7.3", "11.0").WithLocation(16, 40),
3933
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "~").WithArguments("abstract", "7.3", "11.0").WithLocation(19, 39),
3942
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "+").WithArguments("abstract", "7.3", "11.0").WithLocation(22, 41),
3951
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "-").WithArguments("virtual", "7.3", "11.0").WithLocation(25, 38),
3957
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "*").WithArguments("virtual", "7.3", "11.0").WithLocation(28, 40),
3963
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "/").WithArguments("sealed", "7.3", "11.0").WithLocation(31, 39)
4002
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 34),
4005
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("abstract", "7.3", "11.0").WithLocation(6, 34),
4026
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("abstract", "7.3", "11.0").WithLocation(18, 41),
4032
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("abstract", "7.3", "11.0").WithLocation(20, 41),
4047
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 34),
4050
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("abstract", "10.0", "11.0").WithLocation(6, 34),
4071
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("abstract", "10.0", "11.0").WithLocation(18, 41),
4077
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("abstract", "10.0", "11.0").WithLocation(20, 41),
4194
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("abstract", "7.3", "11.0").WithLocation(4, 39),
4200
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I1").WithArguments("abstract", "7.3", "11.0").WithLocation(6, 39),
4230
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("abstract", "7.3", "11.0").WithLocation(18, 46),
4239
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I3").WithArguments("abstract", "7.3", "11.0").WithLocation(20, 46),
4257
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("abstract", "10.0", "11.0").WithLocation(4, 39),
4263
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I1").WithArguments("abstract", "10.0", "11.0").WithLocation(6, 39),
4293
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("abstract", "10.0", "11.0").WithLocation(18, 46),
4302
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I3").WithArguments("abstract", "10.0", "11.0").WithLocation(20, 46),
4440
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("virtual", "7.3", "11.0").WithLocation(4, 33),
4446
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("virtual", "7.3", "11.0").WithLocation(6, 33),
4452
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("virtual", "7.3", "11.0").WithLocation(11, 40),
4461
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("virtual", "7.3", "11.0").WithLocation(13, 40),
4464
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("abstract", "7.3", "11.0").WithLocation(18, 42),
4470
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("abstract", "7.3", "11.0").WithLocation(20, 42),
4485
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("virtual", "10.0", "11.0").WithLocation(4, 33),
4491
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("virtual", "10.0", "11.0").WithLocation(6, 33),
4497
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("virtual", "10.0", "11.0").WithLocation(11, 40),
4506
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("virtual", "10.0", "11.0").WithLocation(13, 40),
4509
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments("abstract", "10.0", "11.0").WithLocation(18, 42),
4515
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments("abstract", "10.0", "11.0").WithLocation(20, 42),
4626
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("virtual", "7.3", "11.0").WithLocation(4, 38),
4635
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I1").WithArguments("virtual", "7.3", "11.0").WithLocation(6, 38),
4644
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("virtual", "7.3", "11.0").WithLocation(11, 45),
4656
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I2").WithArguments("virtual", "7.3", "11.0").WithLocation(13, 45),
4662
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("abstract", "7.3", "11.0").WithLocation(18, 47),
4671
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I3").WithArguments("abstract", "7.3", "11.0").WithLocation(20, 47),
4689
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("virtual", "10.0", "11.0").WithLocation(4, 38),
4698
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I1").WithArguments("virtual", "10.0", "11.0").WithLocation(6, 38),
4707
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("virtual", "10.0", "11.0").WithLocation(11, 45),
4719
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I2").WithArguments("virtual", "10.0", "11.0").WithLocation(13, 45),
4725
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments("abstract", "10.0", "11.0").WithLocation(18, 47),
4734
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "I3").WithArguments("abstract", "10.0", "11.0").WithLocation(20, 47),
8594
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 26)
9203
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, prefixOp + postfixOp).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 40)
9211
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, prefixOp + postfixOp).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 31)
9454
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "true").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 35),
9457
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "false").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(13, 35)
9868
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "true").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(21, 35),
9871
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "false").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(22, 35)
12472
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 41)
12480
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 33)
12491
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, ">>>").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 33)
12566
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 32)
12575
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "true").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(13, 35)
12584
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "false").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(14, 35)
12672
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 40)
12680
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 32)
12691
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, ">>>").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 32)
12742
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "==").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 35),
12745
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "!=").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(13, 35)
13602
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 25)
13654
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 25)
13706
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 25)
14251
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 41)
14303
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 41)
14804
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 26)
15210
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 26)
15478
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 26)
15898
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("static", "10.0", "11.0").WithLocation(4, 20),
15911
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("static", "10.0", "11.0").WithLocation(4, 20),
15914
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(10, 26),
15917
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(11, 26)
19374
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(14, 41),
19380
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(19, 40)
19391
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(14, 33),
19394
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(19, 32)
19510
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(14, 33),
19513
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(19, 32)
19533
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, ">>>").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(14, 33),
19539
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, ">>>").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(19, 32)
19554
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(14, 33 + checkedKeyword.Length),
19563
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, op).WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(19, 32 + checkedKeyword.Length),
23298
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("static", "10.0", "11.0").WithLocation(4, 19),
23317
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("static", "10.0", "11.0").WithLocation(4, 19),
23320
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(10, 25),
23323
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(11, 25)
26076
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("static", "10.0", "11.0").WithLocation(4, 35),
26098
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments("static", "10.0", "11.0").WithLocation(4, 35),
26104
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M01").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(10, 41),
26107
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M02").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(11, 41)
29006
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(14, 39)
29026
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(14, 47)
31210
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 48)
31218
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "int").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(12, 39)
31277
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "bool").WithArguments(modifier.Trim(), "10.0", "11.0").WithLocation(21, 39)
Symbols\SymbolErrorTests.cs (12)
1731
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "f").WithArguments("static", "7.0", "8.0").WithLocation(6, 28),
1734
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "f").WithArguments("public", "7.0", "8.0").WithLocation(6, 28),
1766
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("static", "7.0", "8.0").WithLocation(3, 23),
1769
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P1").WithArguments("public", "7.0", "8.0").WithLocation(3, 23),
1772
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P2").WithArguments("abstract", "7.0", "8.0").WithLocation(4, 18),
3241
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M").WithArguments("sealed", "7.0", "8.0").WithLocation(3, 17),
3244
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "P").WithArguments("sealed", "7.0", "8.0").WithLocation(4, 19),
4208
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("private", "7.0", "8.0").WithLocation(4, 21),
4214
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("internal", "7.0", "8.0").WithLocation(5, 30)
4232
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "get").WithArguments("private", "7.0", "8.0").WithLocation(4, 32),
4238
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "set").WithArguments("internal", "7.0", "8.0").WithLocation(5, 43)
14961
Diagnostic(ErrorCode.
ERR_InvalidModifierForLanguageVersion
, "M").WithArguments("static", "7.0", "8.0").WithLocation(3, 17),