383 references to ERR_FeatureNotAvailableInVersion7_3
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1879
or ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
LanguageVersion.cs (1)
324
return ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
1751
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)
9101
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(11, 9)
9177
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(10, 9)
9255
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(11, 9)
9387
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)
6202
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)
1793
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(4, 10),
1890
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(4, 10)
2033
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(4, 17)
4541
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
4547
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(5, 14),
4553
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(6, 14),
4559
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(7, 14),
4565
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(7, 31),
4745
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
4748
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(5, 14),
4751
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(6, 14),
4754
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(7, 14),
4757
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(7, 31)
4875
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P1").WithArguments("default interface implementation", "8.0").WithLocation(4, 16),
4878
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P3").WithArguments("default interface implementation", "8.0").WithLocation(5, 16),
4881
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P5").WithArguments("default interface implementation", "8.0").WithLocation(6, 16),
4884
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P7").WithArguments("default interface implementation", "8.0").WithLocation(7, 16)
6088
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 26),
6094
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(6, 7),
6100
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(8, 7),
6106
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(11, 9),
6112
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(12, 9),
6197
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 26),
6200
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(6, 7),
6203
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(8, 7),
6206
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(11, 9),
6209
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(12, 9)
6294
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 33),
6300
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(6, 7),
6306
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(8, 7),
6312
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(11, 9),
6315
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(12, 9)
7539
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(6, 9),
7545
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(7, 9),
7673
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(6, 9),
7676
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(7, 9)
7768
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "E7").WithArguments("default interface implementation", "8.0").WithLocation(4, 32)
27143
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(5, 40),
27146
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(6, 49),
27149
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(7, 39),
27152
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(8, 38),
27155
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P06").WithArguments("default interface implementation", "8.0").WithLocation(9, 32),
27158
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(10, 38),
27161
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(11, 37),
27167
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(12, 39),
27170
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(13, 39),
27176
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(14, 37),
27182
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(14, 43),
27188
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(15, 37),
27197
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(15, 42),
30299
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P6").WithArguments("default interface implementation", "8.0").WithLocation(24, 32),
31820
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
31823
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T2").WithArguments("default interface implementation", "8.0").WithLocation(9, 11),
31826
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T3").WithArguments("default interface implementation", "8.0").WithLocation(12, 12),
31829
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T4").WithArguments("default interface implementation", "8.0").WithLocation(15, 10)
33124
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(14, 13),
33127
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(18, 13)
33809
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(9, 20),
37188
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter()").WithArguments("default interface implementation", "8.0").WithLocation(14, 18),
37191
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter").WithArguments("default interface implementation", "8.0").WithLocation(16, 17),
37194
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(24, 9)
37928
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 23),
40219
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(16, 9),
40222
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(17, 9),
40225
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(22, 9),
40228
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(23, 9)
42597
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter").WithArguments("default interface implementation", "8.0").WithLocation(16, 17),
42600
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter()").WithArguments("default interface implementation", "8.0").WithLocation(14, 27),
42603
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(24, 9)
42992
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 32),
43851
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 16),
43854
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 23),
43857
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 25),
43860
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F4").WithArguments("default interface implementation", "8.0").WithLocation(7, 24),
43863
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
43987
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 25),
43990
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 32),
43993
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 34),
43996
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F4").WithArguments("default interface implementation", "8.0").WithLocation(7, 33),
43999
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
44117
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
44120
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 22),
44123
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 24),
44126
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F4").WithArguments("default interface implementation", "8.0").WithLocation(7, 23),
44129
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
44295
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 26),
44298
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 35),
44301
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 34)
44396
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "I1").WithArguments("default interface implementation", "8.0").WithLocation(4, 12),
44399
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "I2").WithArguments("default interface implementation", "8.0").WithLocation(8, 12),
45145
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
45298
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
45440
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(8, 18)
45607
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18),
45744
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18),
46624
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "+").WithArguments("default interface implementation", "8.0").WithLocation(4, 31),
46627
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "-").WithArguments("default interface implementation", "8.0").WithLocation(10, 31),
46630
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "!").WithArguments("default interface implementation", "8.0").WithLocation(16, 31),
46633
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "~").WithArguments("default interface implementation", "8.0").WithLocation(22, 31),
46636
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "++").WithArguments("default interface implementation", "8.0").WithLocation(28, 31),
46639
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "--").WithArguments("default interface implementation", "8.0").WithLocation(34, 31),
46642
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "true").WithArguments("default interface implementation", "8.0").WithLocation(40, 33),
46645
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "false").WithArguments("default interface implementation", "8.0").WithLocation(46, 33),
46648
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "+").WithArguments("default interface implementation", "8.0").WithLocation(52, 31),
46651
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "-").WithArguments("default interface implementation", "8.0").WithLocation(58, 31),
46654
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "*").WithArguments("default interface implementation", "8.0").WithLocation(64, 31),
46657
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "/").WithArguments("default interface implementation", "8.0").WithLocation(70, 31),
46660
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "%").WithArguments("default interface implementation", "8.0").WithLocation(76, 31),
46663
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "&").WithArguments("default interface implementation", "8.0").WithLocation(82, 31),
46666
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "|").WithArguments("default interface implementation", "8.0").WithLocation(88, 31),
46669
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "^").WithArguments("default interface implementation", "8.0").WithLocation(94, 31),
46672
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "<<").WithArguments("default interface implementation", "8.0").WithLocation(100, 31),
46675
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">>").WithArguments("default interface implementation", "8.0").WithLocation(106, 31),
46678
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">").WithArguments("default interface implementation", "8.0").WithLocation(112, 31),
46681
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "<").WithArguments("default interface implementation", "8.0").WithLocation(118, 31),
46684
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">=").WithArguments("default interface implementation", "8.0").WithLocation(124, 31),
46687
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "<=").WithArguments("default interface implementation", "8.0").WithLocation(130, 31),
46690
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(136, 31),
46693
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">>>").WithArguments("default interface implementation", "8.0").WithLocation(136, 31)
46780
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "+x").WithArguments("default interface implementation", "8.0").WithLocation(9, 13),
46783
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "-x").WithArguments("default interface implementation", "8.0").WithLocation(10, 13),
46786
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "!x").WithArguments("default interface implementation", "8.0").WithLocation(11, 13),
46789
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "~x").WithArguments("default interface implementation", "8.0").WithLocation(12, 13),
46792
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "++x").WithArguments("default interface implementation", "8.0").WithLocation(13, 13),
46795
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x--").WithArguments("default interface implementation", "8.0").WithLocation(14, 13),
46798
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x + y").WithArguments("default interface implementation", "8.0").WithLocation(16, 13),
46801
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x - y").WithArguments("default interface implementation", "8.0").WithLocation(17, 13),
46804
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x * y").WithArguments("default interface implementation", "8.0").WithLocation(18, 13),
46807
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x / y").WithArguments("default interface implementation", "8.0").WithLocation(19, 13),
46810
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x % y").WithArguments("default interface implementation", "8.0").WithLocation(20, 13),
46813
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x && y").WithArguments("default interface implementation", "8.0").WithLocation(21, 13),
46816
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x && y").WithArguments("default interface implementation", "8.0").WithLocation(21, 13),
46819
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x | y").WithArguments("default interface implementation", "8.0").WithLocation(22, 13),
46822
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x ^ y").WithArguments("default interface implementation", "8.0").WithLocation(23, 13),
46825
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x << 1").WithArguments("default interface implementation", "8.0").WithLocation(24, 13),
46828
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >> 2").WithArguments("default interface implementation", "8.0").WithLocation(25, 13),
46831
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x > y").WithArguments("default interface implementation", "8.0").WithLocation(26, 13),
46834
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x < y").WithArguments("default interface implementation", "8.0").WithLocation(27, 13),
46837
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >= y").WithArguments("default interface implementation", "8.0").WithLocation(28, 13),
46840
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x <= y").WithArguments("default interface implementation", "8.0").WithLocation(29, 13),
46843
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >>> 3").WithArguments("default interface implementation", "8.0").WithLocation(31, 13),
46846
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >>> 3").WithArguments("unsigned right shift", "11.0").WithLocation(31, 13)
46878
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x").WithArguments("default interface implementation", "8.0").WithLocation(8, 13),
46881
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x & y").WithArguments("default interface implementation", "8.0").WithLocation(9, 13)
52423
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(9, 22)
57231
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 25),
57234
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 30)
57316
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 25)
57392
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 25)
59425
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P1").WithArguments("default interface implementation", "8.0").WithLocation(9, 37)
62209
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 34),
62212
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 39)
62250
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 34)
62285
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),