383 references to ERR_FeatureNotAvailableInVersion7_3
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1880
or ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
LanguageVersion.cs (1)
344
return ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
1760
ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (16)
CodeGen\CodeGenAsyncIteratorTests.cs (5)
612
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M").WithArguments("async streams", "8.0").WithLocation(4, 67),
615
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M").WithArguments("async streams", "8.0").WithLocation(4, 67)
1917
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(2, 2),
1920
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M").WithArguments("async streams", "8.0").WithLocation(4, 60),
1923
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(21, 2)
CodeGen\CodeGenAwaitForeachTests.cs (6)
39
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(7, 9)
69
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(7, 9)
14418
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(11, 9)
14555
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(10, 9)
14697
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(11, 9)
14890
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(11, 9)
CodeGen\CodeGenAwaitUsingTests.cs (3)
40
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("asynchronous using", "8.0").WithLocation(6, 9)
66
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("asynchronous using", "8.0").WithLocation(6, 9),
69
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "var x = new C()").WithArguments("pattern-based disposal", "8.0").WithLocation(6, 22)
CodeGen\CodeGenForEachTests.cs (1)
1753
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "new Enumerable1()").WithArguments("pattern-based disposal", "8.0").WithLocation(6, 27)
CodeGen\CodeGenOperators.cs (1)
6205
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "t1 ?? t2").WithArguments("unconstrained type parameters in null coalescing operator", "8.0").WithLocation(6, 14));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (10)
Attributes\AttributeTests_WellKnownAttributes.cs (2)
13704
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Obsolete").WithArguments("obsolete on property accessor", "8.0").WithLocation(5, 24));
13721
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, @"Deprecated(""don't use this"", DeprecationType.Remove, 50331648u)").WithArguments("obsolete on property accessor", "8.0").WithLocation(5, 24));
Semantics\PatternMatchingTests2.cs (6)
487
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(5, 19),
490
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "_").WithArguments("recursive patterns", "8.0").WithLocation(5, 28));
1205
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(6, 28),
1208
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "_").WithArguments("recursive patterns", "8.0").WithLocation(6, 48),
1211
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(12, 28),
1214
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "_").WithArguments("recursive patterns", "8.0").WithLocation(12, 48));
Semantics\PatternMatchingTests3.cs (2)
1232
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "null").WithArguments("null pointer constant pattern", "8.0").WithLocation(6, 29),
1238
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "null").WithArguments("null pointer constant pattern", "8.0").WithLocation(12, 18),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (110)
Semantics\ForEachTests.cs (2)
2347
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(28, 55)
3198
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "new Enumerable1()").WithArguments("pattern-based disposal", "8.0").WithLocation(6, 27)
Semantics\FunctionPointerTests.cs (1)
3407
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "delegate").WithArguments("function pointers", "9.0").WithLocation(7, 9));
Semantics\GenericConstraintsTests.cs (16)
3421
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "InnerStruct<int>").WithArguments("unmanaged constructed types", "8.0").WithLocation(16, 18),
3424
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "&myStruct").WithArguments("unmanaged constructed types", "8.0").WithLocation(17, 12),
3427
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(20, 55),
3430
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(20, 55));
3468
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "InnerStruct<int>").WithArguments("unmanaged constructed types", "8.0").WithLocation(16, 18)
4005
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "&ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(9, 19)
4035
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "MyStruct<int>*").WithArguments("unmanaged constructed types", "8.0").WithLocation(12, 16),
4038
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "&c.ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(12, 37));
4061
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "sizeof(MyStruct<int>)").WithArguments("unmanaged constructed types", "8.0").WithLocation(8, 20)
4085
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc[] { new MyStruct<int>() }").WithArguments("unmanaged constructed types", "8.0").WithLocation(8, 19));
4108
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "MyStruct<int>").WithArguments("unmanaged constructed types", "8.0").WithLocation(8, 30));
4131
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(9, 27)
4158
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(12, 39)
4188
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M<MyStruct>").WithArguments("unmanaged constructed types", "8.0").WithLocation(13, 9),
4191
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M<(int, int)>").WithArguments("unmanaged constructed types", "8.0").WithLocation(14, 9)
4225
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M<MyStruct<U>>").WithArguments("unmanaged constructed types", "8.0").WithLocation(13, 9),
Semantics\IndexAndRangeTests.cs (8)
83
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "s[i]").WithArguments("index operator", "8.0").WithLocation(12, 13),
86
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "s[r]").WithArguments("index operator", "8.0").WithLocation(13, 13),
89
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "new S()[r]").WithArguments("index operator", "8.0").WithLocation(14, 13));
989
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "^1").WithArguments("index operator", "8.0").WithLocation(6, 17)
1471
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1..2").WithArguments("range operator", "8.0").WithLocation(6, 17),
1474
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1..").WithArguments("range operator", "8.0").WithLocation(7, 17),
1477
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "..2").WithArguments("range operator", "8.0").WithLocation(8, 17),
1480
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "..").WithArguments("range operator", "8.0").WithLocation(9, 17)
Semantics\InheritanceBindingTests.cs (2)
8755
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "where").WithArguments("constraints for override and explicit interface implementation methods", "8.0").WithLocation(14, 29)
8818
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "where").WithArguments("constraints for override and explicit interface implementation methods", "8.0").WithLocation(9, 42)
Semantics\LambdaDiscardParametersTests.cs (1)
274
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "_").WithArguments("lambda discard parameters", "9.0").WithLocation(8, 50)
Semantics\LambdaTests.cs (1)
3415
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "_").WithArguments("lambda discard parameters", "9.0").WithLocation(8, 37));
Semantics\LocalFunctionTests.cs (1)
3732
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(9, 9),
Semantics\NullableReferenceTypesTests.cs (21)
7863
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(10, 2)
97880
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(4, 29),
97883
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(6, 54),
97886
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(8, 44)
100454
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(4, 44)
101907
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(3, 2),
101910
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(4, 2),
101913
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(4, 2),
101916
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(6, 20),
101919
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(7, 16),
101922
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(7, 20),
101925
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(7, 20),
101928
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(8, 20),
101931
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(8, 20),
101934
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(8, 33),
101937
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(9, 20),
101940
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(10, 20),
101943
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(11, 20),
101946
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(12, 20));
136688
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(9, 2)
136718
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(2, 2));
Semantics\NullableTests.cs (1)
61
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(7, 11),
Semantics\ReadOnlyStructsTests.cs (7)
2343
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "readonly").WithArguments("readonly members", "8.0").WithLocation(6, 12),
2346
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "readonly").WithArguments("readonly members", "8.0").WithLocation(8, 12),
2349
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "readonly").WithArguments("readonly members", "8.0").WithLocation(9, 21),
2352
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "readonly").WithArguments("readonly members", "8.0").WithLocation(10, 33),
2355
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "readonly").WithArguments("readonly members", "8.0").WithLocation(12, 12),
2358
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "readonly").WithArguments("readonly members", "8.0").WithLocation(13, 37),
2361
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "readonly").WithArguments("readonly members", "8.0").WithLocation(15, 12));
Semantics\StackAllocInitializerTests.cs (33)
601
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 15),
607
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 15),
613
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 15),
650
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 44),
653
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 44),
656
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(9, 44)
699
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 45),
702
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 45),
705
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(9, 45)
1719
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 11),
1722
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 11),
1725
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(9, 11)
1752
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 24),
1755
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 24),
1758
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 24),
1761
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(10, 23),
1764
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(11, 23),
1767
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(12, 23)
1796
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 16),
1799
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 16),
1802
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(9, 16)
1897
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 11),
1900
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(9, 11),
1903
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(10, 11)
1934
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 19),
1937
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 19),
1940
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 19)
1962
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 18),
1965
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 52),
1968
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 18),
1971
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 52),
1974
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 18),
1977
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 52)
Semantics\StackAllocSpanExpressionsTests.cs (10)
348
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 12),
351
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 34)
515
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 31)
543
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 11)
564
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 23)
591
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 16)
651
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 11)
674
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 18)
694
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 17),
697
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 38)
Semantics\UnsafeTests.cs (2)
10064
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "a").WithArguments("unmanaged constructed types", "8.0").WithLocation(13, 26));
11200
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(4, 14)
Semantics\UsingDeclarationTests.cs (3)
846
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "using").WithArguments("using declarations", "8.0").WithLocation(7, 9)
872
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await using IAsyncDisposable x = null;").WithArguments("pattern-based disposal", "8.0").WithLocation(8, 9),
875
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "using").WithArguments("using declarations", "8.0").WithLocation(8, 15)
Semantics\UsingStatementTests.cs (1)
1166
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "S1 s = new S1()").WithArguments("pattern-based disposal", "8.0").WithLocation(11, 16)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (216)
Compilation\SemanticModelAPITests.cs (1)
99
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "GenericExtension").WithArguments("unmanaged constructed types", "8.0").WithLocation(11, 11));
Symbols\DefaultInterfaceImplementationTests.cs (154)
1796
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(4, 10),
1893
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(4, 10)
2036
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(4, 17)
4552
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
4558
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(5, 14),
4564
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(6, 14),
4570
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(7, 14),
4576
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(7, 31),
4756
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
4759
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(5, 14),
4762
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(6, 14),
4765
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(7, 14),
4768
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(7, 31)
4886
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P1").WithArguments("default interface implementation", "8.0").WithLocation(4, 16),
4889
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P3").WithArguments("default interface implementation", "8.0").WithLocation(5, 16),
4892
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P5").WithArguments("default interface implementation", "8.0").WithLocation(6, 16),
4895
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P7").WithArguments("default interface implementation", "8.0").WithLocation(7, 16)
6099
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 26),
6105
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(6, 7),
6111
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(8, 7),
6117
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(11, 9),
6123
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(12, 9),
6208
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 26),
6211
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(6, 7),
6214
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(8, 7),
6217
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(11, 9),
6220
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(12, 9)
6305
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 33),
6311
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(6, 7),
6317
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(8, 7),
6323
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(11, 9),
6326
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(12, 9)
7550
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(6, 9),
7556
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(7, 9),
7684
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(6, 9),
7687
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(7, 9)
7779
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "E7").WithArguments("default interface implementation", "8.0").WithLocation(4, 32)
27154
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(5, 40),
27157
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(6, 49),
27160
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(7, 39),
27163
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(8, 38),
27166
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P06").WithArguments("default interface implementation", "8.0").WithLocation(9, 32),
27169
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(10, 38),
27172
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(11, 37),
27178
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(12, 39),
27181
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(13, 39),
27187
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(14, 37),
27193
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(14, 43),
27199
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(15, 37),
27208
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(15, 42),
30310
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P6").WithArguments("default interface implementation", "8.0").WithLocation(24, 32),
31831
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
31834
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T2").WithArguments("default interface implementation", "8.0").WithLocation(9, 11),
31837
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T3").WithArguments("default interface implementation", "8.0").WithLocation(12, 12),
31840
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T4").WithArguments("default interface implementation", "8.0").WithLocation(15, 10)
33135
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(14, 13),
33138
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(18, 13)
33820
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(9, 20),
37199
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter()").WithArguments("default interface implementation", "8.0").WithLocation(14, 18),
37202
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter").WithArguments("default interface implementation", "8.0").WithLocation(16, 17),
37205
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(24, 9)
37939
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 23),
40230
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(16, 9),
40233
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(17, 9),
40236
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(22, 9),
40239
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(23, 9)
42608
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter").WithArguments("default interface implementation", "8.0").WithLocation(16, 17),
42611
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter()").WithArguments("default interface implementation", "8.0").WithLocation(14, 27),
42614
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(24, 9)
43003
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 32),
43862
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 16),
43865
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 23),
43868
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 25),
43871
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F4").WithArguments("default interface implementation", "8.0").WithLocation(7, 24),
43874
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
43998
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 25),
44001
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 32),
44004
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 34),
44007
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F4").WithArguments("default interface implementation", "8.0").WithLocation(7, 33),
44010
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
44128
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
44131
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 22),
44134
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 24),
44137
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F4").WithArguments("default interface implementation", "8.0").WithLocation(7, 23),
44140
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
44306
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 26),
44309
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 35),
44312
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 34)
44407
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "I1").WithArguments("default interface implementation", "8.0").WithLocation(4, 12),
44410
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "I2").WithArguments("default interface implementation", "8.0").WithLocation(8, 12),
45141
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
45294
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
45436
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(8, 18)
45603
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18),
45740
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18),
46620
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "+").WithArguments("default interface implementation", "8.0").WithLocation(4, 31),
46623
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "-").WithArguments("default interface implementation", "8.0").WithLocation(10, 31),
46626
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "!").WithArguments("default interface implementation", "8.0").WithLocation(16, 31),
46629
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "~").WithArguments("default interface implementation", "8.0").WithLocation(22, 31),
46632
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "++").WithArguments("default interface implementation", "8.0").WithLocation(28, 31),
46635
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "--").WithArguments("default interface implementation", "8.0").WithLocation(34, 31),
46638
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "true").WithArguments("default interface implementation", "8.0").WithLocation(40, 33),
46641
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "false").WithArguments("default interface implementation", "8.0").WithLocation(46, 33),
46644
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "+").WithArguments("default interface implementation", "8.0").WithLocation(52, 31),
46647
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "-").WithArguments("default interface implementation", "8.0").WithLocation(58, 31),
46650
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "*").WithArguments("default interface implementation", "8.0").WithLocation(64, 31),
46653
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "/").WithArguments("default interface implementation", "8.0").WithLocation(70, 31),
46656
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "%").WithArguments("default interface implementation", "8.0").WithLocation(76, 31),
46659
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "&").WithArguments("default interface implementation", "8.0").WithLocation(82, 31),
46662
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "|").WithArguments("default interface implementation", "8.0").WithLocation(88, 31),
46665
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "^").WithArguments("default interface implementation", "8.0").WithLocation(94, 31),
46668
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "<<").WithArguments("default interface implementation", "8.0").WithLocation(100, 31),
46671
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">>").WithArguments("default interface implementation", "8.0").WithLocation(106, 31),
46674
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">").WithArguments("default interface implementation", "8.0").WithLocation(112, 31),
46677
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "<").WithArguments("default interface implementation", "8.0").WithLocation(118, 31),
46680
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">=").WithArguments("default interface implementation", "8.0").WithLocation(124, 31),
46683
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "<=").WithArguments("default interface implementation", "8.0").WithLocation(130, 31),
46686
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(136, 31),
46689
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">>>").WithArguments("default interface implementation", "8.0").WithLocation(136, 31)
46776
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "+x").WithArguments("default interface implementation", "8.0").WithLocation(9, 13),
46779
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "-x").WithArguments("default interface implementation", "8.0").WithLocation(10, 13),
46782
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "!x").WithArguments("default interface implementation", "8.0").WithLocation(11, 13),
46785
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "~x").WithArguments("default interface implementation", "8.0").WithLocation(12, 13),
46788
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "++x").WithArguments("default interface implementation", "8.0").WithLocation(13, 13),
46791
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x--").WithArguments("default interface implementation", "8.0").WithLocation(14, 13),
46794
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x + y").WithArguments("default interface implementation", "8.0").WithLocation(16, 13),
46797
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x - y").WithArguments("default interface implementation", "8.0").WithLocation(17, 13),
46800
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x * y").WithArguments("default interface implementation", "8.0").WithLocation(18, 13),
46803
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x / y").WithArguments("default interface implementation", "8.0").WithLocation(19, 13),
46806
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x % y").WithArguments("default interface implementation", "8.0").WithLocation(20, 13),
46809
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x && y").WithArguments("default interface implementation", "8.0").WithLocation(21, 13),
46812
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x && y").WithArguments("default interface implementation", "8.0").WithLocation(21, 13),
46815
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x | y").WithArguments("default interface implementation", "8.0").WithLocation(22, 13),
46818
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x ^ y").WithArguments("default interface implementation", "8.0").WithLocation(23, 13),
46821
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x << 1").WithArguments("default interface implementation", "8.0").WithLocation(24, 13),
46824
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >> 2").WithArguments("default interface implementation", "8.0").WithLocation(25, 13),
46827
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x > y").WithArguments("default interface implementation", "8.0").WithLocation(26, 13),
46830
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x < y").WithArguments("default interface implementation", "8.0").WithLocation(27, 13),
46833
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >= y").WithArguments("default interface implementation", "8.0").WithLocation(28, 13),
46836
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x <= y").WithArguments("default interface implementation", "8.0").WithLocation(29, 13),
46839
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >>> 3").WithArguments("default interface implementation", "8.0").WithLocation(31, 13),
46842
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >>> 3").WithArguments("unsigned right shift", "11.0").WithLocation(31, 13)
46874
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x").WithArguments("default interface implementation", "8.0").WithLocation(8, 13),
46877
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x & y").WithArguments("default interface implementation", "8.0").WithLocation(9, 13)
52419
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(9, 22)
57227
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 25),
57230
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 30)
57312
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 25)
57388
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 25)
59421
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P1").WithArguments("default interface implementation", "8.0").WithLocation(9, 37)
62205
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 34),
62208
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 39)
62246
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 34)
62281
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 34)
Symbols\Source\NullablePublicAPITests.cs (56)
133
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(5, 2),
136
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(7, 13),
139
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(11, 2),
142
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(13, 13)
200
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(5, 2),
203
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(7, 13),
206
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(11, 2),
209
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(13, 13)
268
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(5, 2),
271
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(7, 18),
274
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
277
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(10, 18),
280
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(12, 2),
283
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(15, 2)
345
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(6, 2),
348
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
351
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(10, 2),
354
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(11, 10),
357
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(12, 2),
360
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(13, 10),
363
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(14, 2),
366
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(16, 2),
369
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(18, 2),
372
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(20, 2)
445
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(4, 2),
448
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
451
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(14, 2),
454
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(16, 33),
457
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(20, 2),
460
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(22, 34));
549
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
552
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(10, 10),
555
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(10, 17),
558
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(13, 2),
561
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(15, 10),
564
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(15, 17)
623
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(7, 2),
626
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(9, 19),
629
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(11, 2),
632
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(13, 19)
682
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(3, 2),
685
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(5, 11),
688
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
691
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(10, 11)
746
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(1, 2),
749
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(8, 6),
752
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(11, 2),
755
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(14, 6)
811
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(7, 2),
814
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(9, 13),
817
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(12, 2),
820
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(14, 13)
878
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(4, 2),
881
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(11, 9),
884
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(14, 2),
887
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(17, 9)
Symbols\StaticAbstractMembersInInterfacesTests.cs (5)
730
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M04").WithArguments("default interface implementation", "8.0").WithLocation(13, 26),
2362
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M04").WithArguments("default interface implementation", "8.0").WithLocation(13, 26),
3182
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M04").WithArguments("default interface implementation", "8.0").WithLocation(13, 29),
3807
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "--").WithArguments("default interface implementation", "8.0").WithLocation(13, 32),
3921
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "--").WithArguments("default interface implementation", "8.0").WithLocation(13, 32),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (28)
LexicalAndXml\PreprocessorTests.cs (1)
4468
VerifyErrorSpecial(node, new DirectiveInfo { Number = (int)ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, Status = NodeStatus.IsError });
Parsing\DeclarationParsingTests.cs (1)
8549
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, @"C
Parsing\ExpressionParsingTests.cs (1)
5246
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "??=").WithArguments("coalescing assignment", "8.0").WithLocation(1, 32),
Parsing\LocalFunctionParsingTests.cs (8)
1723
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(5, 9),
1808
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(5, 9),
1817
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(6, 15),
1942
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(5, 9),
1951
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(5, 16),
1957
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(6, 9),
1966
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(6, 22),
2486
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(5, 14),
Parsing\PatternParsingTests.cs (15)
1855
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "(x: ((3)))").WithArguments("recursive patterns", "8.0").WithLocation(1, 40));
1951
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "(").WithArguments("parenthesized pattern", "9.0").WithLocation(1, 40),
1954
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "(").WithArguments("parenthesized pattern", "9.0").WithLocation(1, 41),
1957
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "(x: 3)").WithArguments("recursive patterns", "8.0").WithLocation(1, 42));
2039
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T(X: 3, Y: 4){L: 5} p").WithArguments("recursive patterns", "8.0").WithLocation(1, 40),
2163
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "(").WithArguments("recursive patterns", "8.0").WithLocation(1, 40),
2222
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "( ").WithArguments("recursive patterns", "8.0").WithLocation(1, 40),
2291
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "()").WithArguments("recursive patterns", "8.0").WithLocation(1, 40));
2382
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "(x: )").WithArguments("recursive patterns", "8.0").WithLocation(1, 40),
2453
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(1, 32),
2484
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(1, 32),
2552
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(1, 32),
2631
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(1, 32),
2634
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "(a, b, c)").WithArguments("recursive patterns", "8.0").WithLocation(1, 41),
2728
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T( ").WithArguments("recursive patterns", "8.0").WithLocation(1, 40),
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
836
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x?.y!.z").WithArguments("top-level statements", "9.0").WithLocation(1, 1),
842
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "!").WithArguments("nullable reference types", "8.0").WithLocation(1, 5),