130 references to ERR_FeatureNotAvailableInVersion13
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2474
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)
693
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 26),
699
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 26),
705
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 26),
708
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q1").WithArguments("field keyword", "14.0").WithLocation(6, 19),
714
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q2").WithArguments("field keyword", "14.0").WithLocation(7, 19),
720
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q3").WithArguments("field keyword", "14.0").WithLocation(8, 19),
726
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q4").WithArguments("field keyword", "14.0").WithLocation(9, 19),
729
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q5").WithArguments("field keyword", "14.0").WithLocation(10, 19));
853
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 19),
859
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 19),
865
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 19),
868
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 19));
962
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q1").WithArguments("field keyword", "14.0").WithLocation(3, 12),
971
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q2").WithArguments("field keyword", "14.0").WithLocation(4, 12),
980
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q3").WithArguments("field keyword", "14.0").WithLocation(5, 12),
986
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Q4").WithArguments("field keyword", "14.0").WithLocation(6, 12),
1076
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 23),
1079
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 23),
1082
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 16),
1085
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 16),
1088
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P5").WithArguments("field keyword", "14.0").WithLocation(7, 16),
1091
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P6").WithArguments("field keyword", "14.0").WithLocation(8, 16));
1173
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 23),
1179
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 23),
1185
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 16),
1191
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 16),
1197
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P5").WithArguments("field keyword", "14.0").WithLocation(7, 16),
1203
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P6").WithArguments("field keyword", "14.0").WithLocation(8, 16),
8358
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P3").WithArguments("field keyword", "14.0").WithLocation(4, 27),
8361
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 27));
8589
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 20),
8595
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 20),
8664
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 27),
8667
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 27));
10198
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)
706
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)
4778
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 9),
4781
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)
7440
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
7443
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
8395
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1++").WithArguments("extensions", "14.0").WithLocation(6, 9),
8398
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1++").WithArguments("extensions", "14.0").WithLocation(10, 18)
11567
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18)
11996
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 13),
11999
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(8, 13),
12002
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(11, 13),
12005
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(12, 13)
12058
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 13),
12061
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(8, 13),
12064
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(11, 13),
12067
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(12, 13)
13141
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + " c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
13144
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + " c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
13809
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1 " + op + " s2").WithArguments("extensions", "14.0").WithLocation(11, 23)
15505
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1 " + op + " s2").WithArguments("extensions", "14.0").WithLocation(11, 23)
18787
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) == (s1, 1)").WithArguments("extensions", "14.0").WithLocation(8, 13),
18790
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) == (s2, 1)").WithArguments("extensions", "14.0").WithLocation(15, 13),
18793
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) != (s1, 1)").WithArguments("extensions", "14.0").WithLocation(24, 13),
18796
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) != (s2, 1)").WithArguments("extensions", "14.0").WithLocation(33, 13)
18912
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18)
19039
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18)
20333
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(8, 9),
20336
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(15, 18)
21817
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(7, 13),
21820
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(10, 13),
21823
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + "= s11").WithArguments("extensions", "14.0").WithLocation(11, 13),
21826
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s11").WithArguments("extensions", "14.0").WithLocation(12, 13)
23520
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + "= c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
23523
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + "= c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
Semantics\ExtensionTests.cs (9)
27510
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Property").WithArguments("extensions", "14.0").WithLocation(2, 12));
28077
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Property").WithArguments("extensions", "14.0").WithLocation(1, 15));
28231
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Property").WithArguments("extensions", "14.0").WithLocation(1, 20));
38532
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.M2()").WithArguments("extensions", "14.0").WithLocation(1, 1),
38535
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.M2").WithArguments("extensions", "14.0").WithLocation(2, 19),
38538
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.M2").WithArguments("extensions", "14.0").WithLocation(3, 9),
38541
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.P2").WithArguments("extensions", "14.0").WithLocation(5, 5));
38559
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "new object().P").WithArguments("extensions", "14.0").WithLocation(1, 5));
38700
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "42.Member").WithArguments("extensions", "14.0").WithLocation(7, 13));
Semantics\ExtensionTests2.cs (1)
6668
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)
8566
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "ref a").WithArguments("simple lambda parameter modifiers", "14.0").WithLocation(7, 16));
8639
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "params a").WithArguments("simple lambda parameter modifiers", "14.0").WithLocation(7, 16));
Semantics\NameOfTests.cs (5)
2395
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "List<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(4, 16));
2423
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "A<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 16));
2439
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "B<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 23));
2455
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "A<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 16),
2458
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),