319 references to ERR_FeatureNotAvailableInVersion10
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2134
case ErrorCode.
ERR_FeatureNotAvailableInVersion10
:
LanguageVersion.cs (1)
295
return ErrorCode.
ERR_FeatureNotAvailableInVersion10
;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
1709
ErrorCode.
ERR_FeatureNotAvailableInVersion10
,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (42)
Attributes\AttributeTests.cs (36)
5997
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Goo<int>").WithArguments("generic attributes", "11.0").WithLocation(2, 2));
6057
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Goo<int>").WithArguments("generic attributes", "11.0").WithLocation(2, 2));
7626
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(3, 16),
8601
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A<>").WithArguments("generic attributes", "11.0").WithLocation(4, 2),
8607
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A<int>").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
8616
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "B<>").WithArguments("generic attributes", "11.0").WithLocation(7, 2),
8619
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "B<int>").WithArguments("generic attributes", "11.0").WithLocation(8, 2),
8631
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<>").WithArguments("generic attributes", "11.0").WithLocation(10, 2),
8637
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<int>").WithArguments("generic attributes", "11.0").WithLocation(11, 2),
8643
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<,>").WithArguments("generic attributes", "11.0").WithLocation(12, 2),
8646
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<int, int>").WithArguments("generic attributes", "11.0").WithLocation(13, 2),
8652
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Attribute").WithArguments("generic attributes", "11.0").WithLocation(22, 21),
8655
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Attribute").WithArguments("generic attributes", "11.0").WithLocation(26, 24));
8715
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Attribute").WithArguments("generic attributes", "11.0").WithLocation(12, 21),
8724
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
8727
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias<>").WithArguments("generic attributes", "11.0").WithLocation(6, 2),
8730
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias<int>").WithArguments("generic attributes", "11.0").WithLocation(7, 2));
8777
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias").WithArguments("generic attributes", "11.0").WithLocation(4, 2),
8783
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias<>").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
8789
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias<int>").WithArguments("generic attributes", "11.0").WithLocation(6, 2));
8835
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "InnerAlias").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
8841
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "OuterAlias.Inner").WithArguments("generic attributes", "11.0").WithLocation(8, 6));
9969
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 14)
10098
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 30),
10101
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(3, 21),
10107
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A<int>").WithArguments("generic attributes", "11.0").WithLocation(5, 2));
10134
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 30),
10137
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(3, 21),
10143
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "@A<int>").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
10146
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "AAttribute<int>").WithArguments("generic attributes", "11.0").WithLocation(6, 2));
10165
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 21));
10236
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(4, 26));
10280
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 21),
10283
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<ERROR>").WithArguments("generic attributes", "11.0").WithLocation(4, 2),
10289
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<System>").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
10301
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<>").WithArguments("generic attributes", "11.0").WithLocation(6, 2),
Semantics\PatternMatchingTests.cs (4)
8608
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""").WithArguments("pattern matching ReadOnly/Span<char> on constant string", "11.0").WithLocation(5, 57));
8650
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""").WithArguments("pattern matching ReadOnly/Span<char> on constant string", "11.0").WithLocation(4, 63));
10210
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""").WithArguments("pattern matching ReadOnly/Span<char> on constant string", "11.0").WithLocation(5, 49));
10251
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""").WithArguments("pattern matching ReadOnly/Span<char> on constant string", "11.0").WithLocation(5, 55));
Semantics\PatternMatchingTests_ListPatterns.cs (2)
456
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "[]").WithArguments("list pattern", "11.0").WithLocation(2, 16),
459
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "[.. var x]").WithArguments("list pattern", "11.0").WithLocation(3, 16),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (132)
Semantics\BindingTests.cs (1)
2161
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 14)
Semantics\RefEscapingTests.cs (1)
2301
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(46, 23),
Semantics\RefFieldTests.cs (120)
88
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 12),
91
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref readonly T").WithArguments("ref fields", "11.0").WithLocation(4, 12),
94
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(25, 9));
129
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "F1").WithArguments("ref fields", "11.0").WithLocation(8, 25),
132
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 9),
135
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "F1").WithArguments("ref fields", "11.0").WithLocation(14, 25),
138
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F1").WithArguments("ref fields", "11.0").WithLocation(19, 12),
141
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F2").WithArguments("ref fields", "11.0").WithLocation(20, 12),
144
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F1").WithArguments("ref fields", "11.0").WithLocation(21, 16));
170
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 12));
200
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(8, 9),
203
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(9, 27),
206
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(12, 27));
239
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref readonly T").WithArguments("ref fields", "11.0").WithLocation(3, 12));
274
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(13, 9),
277
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(14, 27),
280
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(17, 27));
2059
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(4, 5),
2167
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 12),
2181
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 12));
2294
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(5, 21),
2297
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "F1").WithArguments("required members", "11.0").WithLocation(5, 27),
2300
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref readonly U").WithArguments("ref fields", "11.0").WithLocation(6, 21),
2303
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "F2").WithArguments("required members", "11.0").WithLocation(6, 36));
2506
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 5),
2588
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 5),
10428
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 33),
10431
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 37),
10434
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 36),
10437
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 37));
10503
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(3, 7),
10506
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 12),
10509
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 42));
10546
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 30),
10549
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 36),
10552
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 35),
10555
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 36),
10558
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(11, 34),
10561
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 33),
10564
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(13, 34));
10617
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 25),
10620
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 31),
10623
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 30),
10626
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 31),
10632
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 29),
10635
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(11, 28),
10638
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 29));
10696
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(2, 18),
10699
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(3, 18));
10734
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 20),
10737
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 20),
10740
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 36),
11349
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(6, 12),
11386
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(6, 20));
11541
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 9),
11544
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 9),
11547
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 9),
11550
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 9),
11553
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(11, 9),
11556
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 9)
11688
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 14),
11691
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 14),
11694
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 14));
11773
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 10),
11776
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 10),
11782
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 10),
11818
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(16, 10),
11821
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(17, 10),
11827
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(18, 10),
12169
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 16),
12172
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 16),
12178
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 16),
12214
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(16, 16),
12217
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(17, 16),
12223
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(18, 16),
12633
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 1),
12639
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 1),
12642
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 1)
12688
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 10),
12694
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 10),
12697
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 10)
12750
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 2),
12753
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 2),
12800
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 7),
12803
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 7)
13849
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 9)
13891
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 14)
14086
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 18),
14089
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 18),
14092
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 18)
14238
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 19),
14244
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 19),
14256
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 19),
14268
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(11, 19),
14274
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 19),
14286
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(13, 19),
14540
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 14),
14543
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 14),
14546
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 14)
19781
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(7, 12)
19811
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(3, 20),
19814
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(4, 20),
19817
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(7, 15)
19824
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(3, 20),
19830
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(4, 20),
19836
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(7, 15),
26261
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 15),
26264
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 15),
26270
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 15),
26351
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 16),
26354
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 16),
26360
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 16),
26447
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 7),
26450
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 7),
26459
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 7),
26548
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 20),
26551
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 24),
26560
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 28),
26925
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 15)
26973
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 16)
Semantics\SpanStackSafetyTests.cs (4)
533
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 20),
542
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(21, 20),
545
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(26, 21)
1925
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(29, 20));
Semantics\Utf8StringsLiteralsTests.cs (6)
1675
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""cat""" + suffix).WithArguments("UTF-8 string literals", "11.0").WithLocation(15, 42)
1728
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"@""cat""" + suffix).WithArguments("UTF-8 string literals", "11.0").WithLocation(15, 42)
1781
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""""cat""""""" + suffix).WithArguments("raw string literals", "11.0").WithLocation(15, 42),
1784
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""""cat""""""" + suffix).WithArguments("UTF-8 string literals", "11.0").WithLocation(15, 42)
1843
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""""
1848
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""""
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (137)
Symbols\CheckedUserDefinedOperatorsTests.cs (25)
41
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 30)
529
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
650
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
701
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
1258
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 30)
1710
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
1832
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
1942
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
2067
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
2168
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 38)
2308
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(7, 30)
2402
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(7, 30)
2492
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 37)
2868
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 37)
3034
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 37)
3447
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, op + "x").WithArguments("checked user-defined operators", "11.0").WithLocation(16, 24),
3450
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, op + "x").WithArguments("checked user-defined operators", "11.0").WithLocation(26, 24)
3840
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, op + "x").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 24)
4222
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("checked user-defined operators", "11.0").WithLocation(16, 24),
4225
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("checked user-defined operators", "11.0").WithLocation(26, 24)
4683
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= x").WithArguments("checked user-defined operators", "11.0").WithLocation(16, 19),
4686
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= x").WithArguments("checked user-defined operators", "11.0").WithLocation(26, 19)
4802
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " y").WithArguments("checked user-defined operators", "11.0").WithLocation(14, 24)
5233
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "(long)x").WithArguments("checked user-defined operators", "11.0").WithLocation(23, 26)
5701
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "(long?)x").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 26)
Symbols\DefaultInterfaceImplementationTests.cs (4)
68312
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<T1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(18, 15),
68315
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I4<T1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(23, 15)
68329
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<T1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(18, 21),
68332
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I4<T1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(23, 21)
Symbols\RequiredMembersTests.cs (2)
256
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Field").WithArguments("required members", "11.0").WithLocation(5, 27),
259
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Prop").WithArguments("required members", "11.0").WithLocation(6, 27)
Symbols\Source\FileModifierTests.cs (5)
32
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C").WithArguments("file types", "11.0").WithLocation(1, 12));
52
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C").WithArguments("file types", "11.0").WithLocation(3, 16),
78
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Outer").WithArguments("file types", "11.0").WithLocation(1, 12));
111
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Outer").WithArguments("file types", "11.0").WithLocation(1, 12),
114
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C").WithArguments("file types", "11.0").WithLocation(3, 16),
Symbols\StaticAbstractMembersInInterfacesTests.cs (82)
8599
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
8609
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
9194
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, prefixOp + "x" + postfixOp).WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13),
9197
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, prefixOp + "x" + postfixOp).WithArguments("checked user-defined operators", "11.0").WithLocation(6, 13)
9205
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, prefixOp + "x" + postfixOp).WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
9218
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 32),
9462
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
9876
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
12452
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13),
12455
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " y").WithArguments("checked user-defined operators", "11.0").WithLocation(6, 13)
12463
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
12471
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13),
12474
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(6, 13)
12487
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 33),
12506
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(12, 33),
12569
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + op + " y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
12652
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
12655
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= y").WithArguments("checked user-defined operators", "11.0").WithLocation(6, 9)
12663
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
12671
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
12674
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(6, 9)
12687
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 32),
12706
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(12, 32),
12750
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
13619
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
13629
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13),
13671
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
13681
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
13723
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
13733
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
14280
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
14290
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
14332
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
14342
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
14833
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 28)
14843
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 28),
15239
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 31)
15249
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 31),
15507
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 31)
15517
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 31),
18811
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
18814
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 27),
18817
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 34),
18828
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
18848
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
18851
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 27),
18854
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 34),
18857
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(14, 33),
18863
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(19, 32),
18874
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
18939
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
18950
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
18953
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 27),
18956
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(9, 34),
18968
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
18971
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 27),
18974
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 34),
18993
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19007
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19010
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 27),
19013
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(9, 34),
19016
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(14, 33),
19022
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(19, 32),
19034
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19037
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(14, 33),
19043
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 27),
19046
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(19, 32),
19052
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 34)
28456
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<Test1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 21),
28467
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<Test1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 21),
28470
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 40),
28473
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 37),
28489
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<Test1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 21),
28500
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<Test1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 21),
28503
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 40),
28506
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 37),
28509
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(14, 39),
30669
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, (needCast ? "(int)" : "") + "x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 16),
30672
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "(int)x").WithArguments("checked user-defined operators", "11.0").WithLocation(6, 16)
30680
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, (needCast ? "(int)" : "") + "x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 16)
30693
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 40),
30753
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
Symbols\SymbolErrorTests.cs (5)
10688
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "<<").WithArguments("relaxed shift operator", "11.0").WithLocation(4, 32),
10694
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(12, 32),
12728
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(1, 14));
12744
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A").WithArguments("generic attributes", "11.0").WithLocation(2, 14),
12747
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A").WithArguments("generic attributes", "11.0").WithLocation(5, 15));
Symbols\UnsignedRightShiftTests.cs (14)
2720
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(7, 30)
2892
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(7, 30)
3117
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(8, 13)
3211
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(8, 9)
3305
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(8, 13)
3399
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(8, 9)
3433
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 31)
3450
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(4, 37)
3485
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 31)
3502
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(4, 37)
3537
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 31)
3554
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(4, 40)
3589
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 31)
3606
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(4, 40)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\DeclarationScopeParsingTests.cs (1)
3300
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(2, 1),
Parsing\FileModifierParsingTests.cs (1)
570
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C").WithArguments("file types", "11.0").WithLocation(1, 12)
Parsing\MemberDeclarationParsingTests.cs (1)
1657
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "required ").WithArguments("static abstract members in interfaces", "11.0").WithLocation(1, 27),
Parsing\RawInterpolatedStringLiteralCompilingTests.cs (1)
76
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"$"""""" """"""").WithArguments("raw string literals", "11.0").WithLocation(3, 22));
Parsing\RawStringLiteralCompilingTests.cs (1)
22
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @""""""" """"""").WithArguments("raw string literals", "11.0").WithLocation(3, 22));