130 references to ERR_FeatureNotAvailableInVersion13
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2474or ErrorCode.ERR_FeatureNotAvailableInVersion13
LanguageVersion.cs (1)
356return ErrorCode.ERR_FeatureNotAvailableInVersion13;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
1766ErrorCode.ERR_FeatureNotAvailableInVersion13,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (108)
FieldKeywordTests.cs (35)
693Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 26), 699Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 26), 705Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 26), 708Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q1").WithArguments("field keyword", "14.0").WithLocation(6, 19), 714Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q2").WithArguments("field keyword", "14.0").WithLocation(7, 19), 720Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q3").WithArguments("field keyword", "14.0").WithLocation(8, 19), 726Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q4").WithArguments("field keyword", "14.0").WithLocation(9, 19), 729Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q5").WithArguments("field keyword", "14.0").WithLocation(10, 19)); 853Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 19), 859Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 19), 865Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 19), 868Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 19)); 962Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q1").WithArguments("field keyword", "14.0").WithLocation(3, 12), 971Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q2").WithArguments("field keyword", "14.0").WithLocation(4, 12), 980Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q3").WithArguments("field keyword", "14.0").WithLocation(5, 12), 986Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q4").WithArguments("field keyword", "14.0").WithLocation(6, 12), 1076Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 23), 1079Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 23), 1082Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 16), 1085Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 16), 1088Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P5").WithArguments("field keyword", "14.0").WithLocation(7, 16), 1091Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P6").WithArguments("field keyword", "14.0").WithLocation(8, 16)); 1173Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 23), 1179Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 23), 1185Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P3").WithArguments("field keyword", "14.0").WithLocation(5, 16), 1191Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 16), 1197Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P5").WithArguments("field keyword", "14.0").WithLocation(7, 16), 1203Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P6").WithArguments("field keyword", "14.0").WithLocation(8, 16), 8358Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P3").WithArguments("field keyword", "14.0").WithLocation(4, 27), 8361Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P4").WithArguments("field keyword", "14.0").WithLocation(6, 27)); 8589Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 20), 8595Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 20), 8664Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(3, 27), 8667Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P2").WithArguments("field keyword", "14.0").WithLocation(4, 27)); 10198Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P2").WithArguments("field keyword", "14.0").WithLocation(5, 19),
PartialEventsAndConstructorsTests.cs (4)
149Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "partial").WithArguments("partial events and constructors", "14.0").WithLocation(3, 5), 158Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "partial").WithArguments("partial events and constructors", "14.0").WithLocation(4, 5), 224Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "partial").WithArguments("partial events and constructors", "14.0").WithLocation(5, 5), 236Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "partial").WithArguments("partial events and constructors", "14.0").WithLocation(6, 5),
Semantics\ExtensionOperatorsTests.cs (49)
706Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 18) 1097Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 18), 1100Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "s1").WithArguments("extensions", "14.0").WithLocation(11, 14) 1633Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "-c1").WithArguments("extensions", "14.0").WithLocation(6, 13), 1636Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "-c1").WithArguments("extensions", "14.0").WithLocation(10, 17) 2196Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1").WithArguments("extensions", "14.0").WithLocation(6, 13), 2199Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1").WithArguments("extensions", "14.0").WithLocation(12, 13) 2757Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "(s1, 1) == (s1, 1)").WithArguments("extensions", "14.0").WithLocation(6, 13) 4778Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 9), 4781Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "s1").WithArguments("extensions", "14.0").WithLocation(10, 18) 6281Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "s1").WithArguments("extensions", "14.0").WithLocation(6, 9), 6284Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "s1").WithArguments("extensions", "14.0").WithLocation(10, 18), 6287Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "s1").WithArguments("extensions", "14.0").WithLocation(17, 9), 6290Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "s1").WithArguments("extensions", "14.0").WithLocation(20, 14), 6293Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1" + op).WithArguments("extensions", "14.0").WithLocation(28, 9), 6296Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1" + op).WithArguments("extensions", "14.0").WithLocation(32, 14), 6299Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1" + op).WithArguments("extensions", "14.0").WithLocation(39, 9), 6302Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1" + op).WithArguments("extensions", "14.0").WithLocation(42, 14) 7440Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "c1").WithArguments("extensions", "14.0").WithLocation(6, 13), 7443Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op + "c1").WithArguments("extensions", "14.0").WithLocation(10, 17) 8395Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1++").WithArguments("extensions", "14.0").WithLocation(6, 9), 8398Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1++").WithArguments("extensions", "14.0").WithLocation(10, 18) 11567Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18) 11996Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 13), 11999Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(8, 13), 12002Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(11, 13), 12005Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(12, 13) 12058Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 13), 12061Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(8, 13), 12064Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(11, 13), 12067Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s12 " + op + " s11").WithArguments("extensions", "14.0").WithLocation(12, 13) 13141Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "c1 " + op + " c1").WithArguments("extensions", "14.0").WithLocation(6, 13), 13144Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "c1 " + op + " c1").WithArguments("extensions", "14.0").WithLocation(10, 17) 13809Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1 " + op + " s2").WithArguments("extensions", "14.0").WithLocation(11, 23) 15505Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s1 " + op + " s2").WithArguments("extensions", "14.0").WithLocation(11, 23) 18787Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "(s1, 1) == (s1, 1)").WithArguments("extensions", "14.0").WithLocation(8, 13), 18790Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "(s1, 1) == (s2, 1)").WithArguments("extensions", "14.0").WithLocation(15, 13), 18793Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "(s1, 1) != (s1, 1)").WithArguments("extensions", "14.0").WithLocation(24, 13), 18796Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "(s1, 1) != (s2, 1)").WithArguments("extensions", "14.0").WithLocation(33, 13) 18912Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18) 19039Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + " s12").WithArguments("extensions", "14.0").WithLocation(7, 18) 20333Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(8, 9), 20336Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(15, 18) 21817Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(7, 13), 21820Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + "= s12").WithArguments("extensions", "14.0").WithLocation(10, 13), 21823Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s12 " + op + "= s11").WithArguments("extensions", "14.0").WithLocation(11, 13), 21826Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "s11 " + op + "= s11").WithArguments("extensions", "14.0").WithLocation(12, 13) 23520Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "c1 " + op + "= c1").WithArguments("extensions", "14.0").WithLocation(6, 13), 23523Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "c1 " + op + "= c1").WithArguments("extensions", "14.0").WithLocation(10, 17)
Semantics\ExtensionTests.cs (9)
27510Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Property").WithArguments("extensions", "14.0").WithLocation(2, 12)); 28077Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Property").WithArguments("extensions", "14.0").WithLocation(1, 15)); 28231Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Property").WithArguments("extensions", "14.0").WithLocation(1, 20)); 38532Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "object.M2()").WithArguments("extensions", "14.0").WithLocation(1, 1), 38535Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "object.M2").WithArguments("extensions", "14.0").WithLocation(2, 19), 38538Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "object.M2").WithArguments("extensions", "14.0").WithLocation(3, 9), 38541Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "object.P2").WithArguments("extensions", "14.0").WithLocation(5, 5)); 38559Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "new object().P").WithArguments("extensions", "14.0").WithLocation(1, 5)); 38700Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "42.Member").WithArguments("extensions", "14.0").WithLocation(7, 13));
Semantics\ExtensionTests2.cs (1)
6668Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "extension(int).M").WithArguments("extensions", "14.0").WithLocation(1, 18));
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (10)
48Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 25), 51Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(4, 33) 565Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 22), 568Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(8, 30) 7991Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 25) 7996Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 25), 7999Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(5, 33) 8670Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(3, 22), 8673Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("user-defined compound assignment operators", "14.0").WithLocation(8, 30) 8678Diagnostic(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)
8566Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "ref a").WithArguments("simple lambda parameter modifiers", "14.0").WithLocation(7, 16)); 8639Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "params a").WithArguments("simple lambda parameter modifiers", "14.0").WithLocation(7, 16));
Semantics\NameOfTests.cs (5)
2395Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "List<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(4, 16)); 2423Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "A<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 16)); 2439Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "B<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 23)); 2455Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "A<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 16), 2458Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "B<>").WithArguments("unbound generic types in nameof operator", "14.0").WithLocation(3, 20));
Semantics\NullConditionalAssignmentTests.cs (4)
40Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "=").WithArguments("null conditional assignment", "14.0").WithLocation(6, 14)); 75Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "=").WithArguments("null conditional assignment", "14.0").WithLocation(9, 21)); 115.Where(diag => diag.Code == (int)ErrorCode.ERR_FeatureNotAvailableInVersion13) 119Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, op).WithArguments("null conditional assignment", "14.0").WithLocation(7, 14));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Symbols\DefaultInterfaceImplementationTests.cs (6)
3375Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 24)); 3387Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 9), 3465Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 16)); 3534Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 24)); 3546Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 9), 3620Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P1").WithArguments("field keyword", "14.0").WithLocation(4, 16));
Symbols\SymbolErrorTests.cs (2)
8135Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "P").WithArguments("field keyword", "14.0").WithLocation(3, 16), 8138Diagnostic(ErrorCode.ERR_FeatureNotAvailableInVersion13, "Q").WithArguments("field keyword", "14.0").WithLocation(4, 16),