133 references to ERR_FeatureNotAvailableInVersion13
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2475
or ErrorCode.
ERR_FeatureNotAvailableInVersion13
LanguageVersion.cs (1)
356
return ErrorCode.
ERR_FeatureNotAvailableInVersion13
;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
1766
ErrorCode.
ERR_FeatureNotAvailableInVersion13
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (108)
FieldKeywordTests.cs (35)
817
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 26),
823
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 26),
829
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 26),
832
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q1").WithArguments("field keyword", "14.0").WithLocation(6, 19),
838
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q2").WithArguments("field keyword", "14.0").WithLocation(7, 19),
844
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q3").WithArguments("field keyword", "14.0").WithLocation(8, 19),
850
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q4").WithArguments("field keyword", "14.0").WithLocation(9, 19),
853
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q5").WithArguments("field keyword", "14.0").WithLocation(10, 19));
977
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 19),
983
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 19),
989
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 19),
992
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 19));
1086
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q1").WithArguments("field keyword", "14.0").WithLocation(3, 12),
1095
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q2").WithArguments("field keyword", "14.0").WithLocation(4, 12),
1104
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q3").WithArguments("field keyword", "14.0").WithLocation(5, 12),
1110
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q4").WithArguments("field keyword", "14.0").WithLocation(6, 12),
1200
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 23),
1203
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 23),
1206
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 16),
1209
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 16),
1212
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P5").WithArguments("field keyword", "14.0").WithLocation(7, 16),
1215
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P6").WithArguments("field keyword", "14.0").WithLocation(8, 16));
1297
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 23),
1303
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 23),
1309
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 16),
1315
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 16),
1321
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P5").WithArguments("field keyword", "14.0").WithLocation(7, 16),
1327
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P6").WithArguments("field keyword", "14.0").WithLocation(8, 16),
8482
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(4, 27),
8485
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 27));
8713
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 20),
8719
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 20),
8788
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 27),
8791
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 27));
10322
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(5, 19),
PartialEventsAndConstructorsTests.cs (4)
149
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "partial").WithArguments("partial events and constructors", "14.0").WithLocation(3, 5),
158
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "partial").WithArguments("partial events and constructors", "14.0").WithLocation(4, 5),
224
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "partial").WithArguments("partial events and constructors", "14.0").WithLocation(5, 5),
236
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "partial").WithArguments("partial events and constructors", "14.0").WithLocation(6, 5),
Semantics\ExtensionOperatorsTests.cs (49)
707
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 18)
1097
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 18),
1100
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(11, 14)
1633
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "-c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
1636
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "-c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
2196
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1").WithArguments("extensions", "14.0").WithLocation(6, 13),
2199
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1").WithArguments("extensions", "14.0").WithLocation(12, 13)
2757
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) == (s1, 1)").WithArguments("extensions", "14.0").WithLocation(6, 13)
4779
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 9),
4782
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(10, 18)
6281
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 9),
6284
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(10, 18),
6287
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(17, 9),
6290
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(20, 14),
6293
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1" + op).WithArguments("extensions", "14.0").WithLocation(28, 9),
6296
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1" + op).WithArguments("extensions", "14.0").WithLocation(32, 14),
6299
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1" + op).WithArguments("extensions", "14.0").WithLocation(39, 9),
6302
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1" + op).WithArguments("extensions", "14.0").WithLocation(42, 14)
7443
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
7446
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
8386
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1++").WithArguments("extensions", "14.0").WithLocation(6, 9),
8389
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1++").WithArguments("extensions", "14.0").WithLocation(10, 18)
11540
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18)
11968
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 13),
11971
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(8, 13),
11974
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(11, 13),
11977
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(12, 13)
12030
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 13),
12033
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(8, 13),
12036
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(11, 13),
12039
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(12, 13)
13113
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + " c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
13116
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + " c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
13781
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1 " + op + " s2").WithArguments("extensions", "14.0").WithLocation(11, 23)
15476
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1 " + op + " s2").WithArguments("extensions", "14.0").WithLocation(11, 23)
18758
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) == (s1, 1)").WithArguments("extensions", "14.0").WithLocation(8, 13),
18761
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) == (s2, 1)").WithArguments("extensions", "14.0").WithLocation(15, 13),
18764
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) != (s1, 1)").WithArguments("extensions", "14.0").WithLocation(24, 13),
18767
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) != (s2, 1)").WithArguments("extensions", "14.0").WithLocation(33, 13)
18883
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18)
19010
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18)
20365
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(8, 9),
20368
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(15, 18)
21848
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(7, 13),
21851
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(10, 13),
21854
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + "= s11").WithArguments("extensions", "14.0").WithLocation(11, 13),
21857
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s11").WithArguments("extensions", "14.0").WithLocation(12, 13)
23557
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + "= c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
23560
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + "= c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
Semantics\ExtensionTests.cs (9)
27750
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Property").WithArguments("extensions", "14.0").WithLocation(2, 12));
28317
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Property").WithArguments("extensions", "14.0").WithLocation(1, 15));
28471
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Property").WithArguments("extensions", "14.0").WithLocation(1, 20));
39181
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.M2()").WithArguments("extensions", "14.0").WithLocation(1, 1),
39184
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.M2").WithArguments("extensions", "14.0").WithLocation(2, 19),
39187
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.M2").WithArguments("extensions", "14.0").WithLocation(3, 9),
39190
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.P2").WithArguments("extensions", "14.0").WithLocation(5, 5));
39208
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "new object().P").WithArguments("extensions", "14.0").WithLocation(1, 5));
39349
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "42.Member").WithArguments("extensions", "14.0").WithLocation(7, 13));
Semantics\ExtensionTests2.cs (1)
8259
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "extension(int).M").WithArguments("extensions", "14.0").WithLocation(1, 18));
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (10)
48
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 25),
51
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(4, 33)
565
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 22),
568
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(8, 30)
7991
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 25)
7996
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 25),
7999
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(5, 33)
8670
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 22),
8673
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(8, 30)
8678
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 22)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\LambdaTests.cs (2)
8896
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "ref a").WithArguments("simple lambda parameter modifiers", "14.0").WithLocation(7, 16));
8969
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "params a").WithArguments("simple lambda parameter modifiers", "14.0").WithLocation(7, 16));
Semantics\NameOfTests.cs (5)
2439
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "List<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(4, 16));
2467
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "A<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 16));
2483
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "B<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 23));
2499
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "A<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 16),
2502
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "B<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 20));
Semantics\NullConditionalAssignmentTests.cs (4)
40
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "=").WithArguments("null conditional assignment", "14.0").WithLocation(6, 14));
75
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "=").WithArguments("null conditional assignment", "14.0").WithLocation(9, 21));
115
.Where(diag => diag.Code == (int)ErrorCode.
ERR_FeatureNotAvailableInVersion13
)
119
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op).WithArguments("null conditional assignment", "14.0").WithLocation(7, 14));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Symbols\DefaultInterfaceImplementationTests.cs (6)
3375
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 24));
3387
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 9),
3465
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 16));
3534
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 24));
3546
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 9),
3620
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 16));
Symbols\SymbolErrorTests.cs (2)
8135
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P").WithArguments("field keyword", "14.0").WithLocation(3, 16),
8138
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q").WithArguments("field keyword", "14.0").WithLocation(4, 16),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\ExtensionsParsingTests.cs (3)
32
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "extension").WithArguments("extensions", "14.0").WithLocation(3, 5));
161
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "extension(object o) { }").WithArguments("extensions", "14.0").WithLocation(3, 5),
404
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "extension").WithArguments("extensions", "14.0").WithLocation(1, 1),