133 references to ERR_FeatureNotAvailableInVersion13
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2473
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)
1098
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 18),
1101
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(11, 14)
1634
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "-c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
1637
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "-c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
2197
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1").WithArguments("extensions", "14.0").WithLocation(6, 13),
2200
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1").WithArguments("extensions", "14.0").WithLocation(12, 13)
2758
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) == (s1, 1)").WithArguments("extensions", "14.0").WithLocation(6, 13)
4785
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 9),
4788
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(10, 18)
6288
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 9),
6291
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(10, 18),
6294
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(17, 9),
6297
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "s1").WithArguments("extensions", "14.0").WithLocation(20, 14),
6300
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1" + op).WithArguments("extensions", "14.0").WithLocation(28, 9),
6303
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1" + op).WithArguments("extensions", "14.0").WithLocation(32, 14),
6306
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1" + op).WithArguments("extensions", "14.0").WithLocation(39, 9),
6309
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1" + op).WithArguments("extensions", "14.0").WithLocation(42, 14)
7450
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
7453
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, op + "c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
8405
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1++").WithArguments("extensions", "14.0").WithLocation(6, 9),
8408
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1++").WithArguments("extensions", "14.0").WithLocation(10, 18)
11577
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18)
12006
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 13),
12009
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(8, 13),
12012
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(11, 13),
12015
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(12, 13)
12068
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 13),
12071
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(8, 13),
12074
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(11, 13),
12077
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(12, 13)
13151
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + " c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
13154
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + " c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
13819
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1 " + op + " s2").WithArguments("extensions", "14.0").WithLocation(11, 23)
15515
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s1 " + op + " s2").WithArguments("extensions", "14.0").WithLocation(11, 23)
18797
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) == (s1, 1)").WithArguments("extensions", "14.0").WithLocation(8, 13),
18800
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) == (s2, 1)").WithArguments("extensions", "14.0").WithLocation(15, 13),
18803
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) != (s1, 1)").WithArguments("extensions", "14.0").WithLocation(24, 13),
18806
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "(s1, 1) != (s2, 1)").WithArguments("extensions", "14.0").WithLocation(33, 13)
18922
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18)
19049
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18)
20404
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(8, 9),
20407
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(15, 18)
21888
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(7, 13),
21891
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(10, 13),
21894
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s12 " + op + "= s11").WithArguments("extensions", "14.0").WithLocation(11, 13),
21897
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "s11 " + op + "= s11").WithArguments("extensions", "14.0").WithLocation(12, 13)
23597
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + "= c1").WithArguments("extensions", "14.0").WithLocation(6, 13),
23600
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "c1 " + op + "= c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
Semantics\ExtensionTests.cs (9)
27659
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Property").WithArguments("extensions", "14.0").WithLocation(2, 12));
28226
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Property").WithArguments("extensions", "14.0").WithLocation(1, 15));
28380
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "Property").WithArguments("extensions", "14.0").WithLocation(1, 20));
39090
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.M2()").WithArguments("extensions", "14.0").WithLocation(1, 1),
39093
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.M2").WithArguments("extensions", "14.0").WithLocation(2, 19),
39096
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.M2").WithArguments("extensions", "14.0").WithLocation(3, 9),
39099
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "object.P2").WithArguments("extensions", "14.0").WithLocation(5, 5));
39117
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "new object().P").WithArguments("extensions", "14.0").WithLocation(1, 5));
39258
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion13
, "42.Member").WithArguments("extensions", "14.0").WithLocation(7, 13));
Semantics\ExtensionTests2.cs (1)
6809
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)
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),
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),