379 references to ERR_FeatureNotAvailableInVersion7_3
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1820
case ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
:
LanguageVersion.cs (1)
289
return ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
1706
ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (13)
CodeGen\CodeGenAsyncIteratorTests.cs (4)
598
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M").WithArguments("async streams", "8.0").WithLocation(4, 67),
601
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M").WithArguments("async streams", "8.0").WithLocation(4, 67)
1624
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M").WithArguments("async streams", "8.0").WithLocation(4, 60),
1627
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(34, 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)
8159
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(11, 9)
8235
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(10, 9)
8313
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(11, 9)
8445
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("async streams", "8.0").WithLocation(11, 9)
CodeGen\CodeGenAwaitUsingTests.cs (1)
40
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "await").WithArguments("asynchronous using", "8.0").WithLocation(6, 9)
CodeGen\CodeGenForEachTests.cs (1)
1747
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "new Enumerable1()").WithArguments("pattern-based disposal", "8.0").WithLocation(6, 27)
CodeGen\CodeGenOperators.cs (1)
5965
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "t1 ?? t2").WithArguments("unconstrained type parameters in null coalescing operator", "8.0").WithLocation(6, 14));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (10)
Attributes\AttributeTests_WellKnownAttributes.cs (2)
13528
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Obsolete").WithArguments("obsolete on property accessor", "8.0").WithLocation(5, 24));
13545
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)
491
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(5, 19),
494
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "_").WithArguments("recursive patterns", "8.0").WithLocation(5, 28));
1209
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(6, 28),
1212
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "_").WithArguments("recursive patterns", "8.0").WithLocation(6, 48),
1215
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(12, 28),
1218
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 (109)
Semantics\ForEachTests.cs (2)
2346
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(28, 55)
3197
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "new Enumerable1()").WithArguments("pattern-based disposal", "8.0").WithLocation(6, 27)
Semantics\FunctionPointerTests.cs (1)
3386
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)
3822
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "&ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(9, 19)
3852
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "MyStruct<int>*").WithArguments("unmanaged constructed types", "8.0").WithLocation(12, 16),
3855
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "&c.ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(12, 37));
3878
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "sizeof(MyStruct<int>)").WithArguments("unmanaged constructed types", "8.0").WithLocation(8, 20)
3902
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc[] { new MyStruct<int>() }").WithArguments("unmanaged constructed types", "8.0").WithLocation(8, 19));
3925
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "MyStruct<int>").WithArguments("unmanaged constructed types", "8.0").WithLocation(8, 30));
3948
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(9, 27)
3975
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "ms").WithArguments("unmanaged constructed types", "8.0").WithLocation(12, 39)
4005
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M<MyStruct>").WithArguments("unmanaged constructed types", "8.0").WithLocation(13, 9),
4008
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M<(int, int)>").WithArguments("unmanaged constructed types", "8.0").WithLocation(14, 9)
4042
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));
988
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "^1").WithArguments("index operator", "8.0").WithLocation(6, 17)
1470
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1..2").WithArguments("range operator", "8.0").WithLocation(6, 17),
1473
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1..").WithArguments("range operator", "8.0").WithLocation(7, 17),
1476
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "..2").WithArguments("range operator", "8.0").WithLocation(8, 17),
1479
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)
3412
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "_").WithArguments("lambda discard parameters", "9.0").WithLocation(8, 37));
Semantics\LocalFunctionTests.cs (1)
3648
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "static").WithArguments("static local functions", "8.0").WithLocation(9, 9),
Semantics\NullableReferenceTypesTests.cs (21)
7851
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(10, 2)
94110
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(4, 29),
94113
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(6, 54),
94116
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(8, 44)
96684
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(4, 44)
98137
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(3, 2),
98140
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(4, 2),
98143
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(4, 2),
98146
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(6, 20),
98149
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(7, 16),
98152
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(7, 20),
98155
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(7, 20),
98158
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(8, 20),
98161
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(8, 20),
98164
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(8, 33),
98167
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(9, 20),
98170
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(10, 20),
98173
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(11, 20),
98176
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "notnull").WithArguments("notnull generic type constraint", "8.0").WithLocation(12, 20));
132918
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(9, 2)
132948
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(2, 2));
Semantics\NullableTests.cs (1)
65
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)
1703
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 11),
1706
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 11),
1709
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(9, 11)
1736
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 24),
1739
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 24),
1742
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 24),
1745
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(10, 23),
1748
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(11, 23),
1751
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(12, 23)
1780
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 16),
1783
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 16),
1786
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(9, 16)
1881
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 11),
1884
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(9, 11),
1887
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(10, 11)
1918
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 19),
1921
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 19),
1924
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 19)
1946
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 18),
1949
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(6, 52),
1952
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 18),
1955
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(7, 52),
1958
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(8, 18),
1961
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)
7226
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "a").WithArguments("unmanaged constructed types", "8.0").WithLocation(13, 26));
8348
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "stackalloc").WithArguments("stackalloc in nested expressions", "8.0").WithLocation(4, 14)
Semantics\UsingDeclarationTests.cs (2)
846
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "using").WithArguments("using declarations", "8.0").WithLocation(7, 9)
872
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "using").WithArguments("using declarations", "8.0").WithLocation(8, 15)
Semantics\UsingStatementTests.cs (1)
1162
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)
1805
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(4, 10),
1902
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(4, 10)
2045
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(4, 17)
4356
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
4362
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(5, 14),
4368
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(6, 14),
4374
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(7, 14),
4380
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(7, 31),
4560
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
4563
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(5, 14),
4566
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(6, 14),
4569
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(7, 14),
4572
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(7, 31)
4690
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P1").WithArguments("default interface implementation", "8.0").WithLocation(4, 16),
4693
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P3").WithArguments("default interface implementation", "8.0").WithLocation(5, 16),
4696
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P5").WithArguments("default interface implementation", "8.0").WithLocation(6, 16),
4699
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P7").WithArguments("default interface implementation", "8.0").WithLocation(7, 16)
5903
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 26),
5909
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(6, 7),
5915
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(8, 7),
5921
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(11, 9),
5927
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(12, 9),
6012
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 26),
6015
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(6, 7),
6018
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(8, 7),
6021
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(11, 9),
6024
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(12, 9)
6109
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "1").WithArguments("default interface implementation", "8.0").WithLocation(4, 33),
6115
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(6, 7),
6121
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(8, 7),
6127
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(11, 9),
6130
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(12, 9)
7354
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(6, 9),
7360
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(7, 9),
7488
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(6, 9),
7491
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(7, 9)
7583
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "E7").WithArguments("default interface implementation", "8.0").WithLocation(4, 32)
26958
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(5, 40),
26961
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(6, 49),
26964
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(7, 39),
26967
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(8, 38),
26970
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P06").WithArguments("default interface implementation", "8.0").WithLocation(9, 32),
26973
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(10, 38),
26976
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(11, 37),
26982
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(12, 39),
26985
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(13, 39),
26991
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(14, 37),
26997
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(14, 43),
27003
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(15, 37),
27012
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(15, 42),
30114
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P6").WithArguments("default interface implementation", "8.0").WithLocation(24, 32),
31635
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
31638
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T2").WithArguments("default interface implementation", "8.0").WithLocation(9, 11),
31641
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T3").WithArguments("default interface implementation", "8.0").WithLocation(12, 12),
31644
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T4").WithArguments("default interface implementation", "8.0").WithLocation(15, 10)
32939
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(14, 13),
32942
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(18, 13)
33624
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(9, 20),
37003
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter()").WithArguments("default interface implementation", "8.0").WithLocation(14, 18),
37006
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter").WithArguments("default interface implementation", "8.0").WithLocation(16, 17),
37009
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(24, 9)
37743
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 23),
40034
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(16, 9),
40037
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(17, 9),
40040
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "add").WithArguments("default interface implementation", "8.0").WithLocation(22, 9),
40043
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "remove").WithArguments("default interface implementation", "8.0").WithLocation(23, 9)
42412
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter").WithArguments("default interface implementation", "8.0").WithLocation(16, 17),
42415
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "Getter()").WithArguments("default interface implementation", "8.0").WithLocation(14, 27),
42418
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(24, 9)
42807
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 32),
43666
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 16),
43669
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 23),
43672
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 25),
43675
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F4").WithArguments("default interface implementation", "8.0").WithLocation(7, 24),
43678
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
43802
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 25),
43805
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 32),
43808
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 34),
43811
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F4").WithArguments("default interface implementation", "8.0").WithLocation(7, 33),
43814
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
43932
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 15),
43935
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 22),
43938
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 24),
43941
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F4").WithArguments("default interface implementation", "8.0").WithLocation(7, 23),
43944
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
44110
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F1").WithArguments("default interface implementation", "8.0").WithLocation(4, 26),
44113
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F2").WithArguments("default interface implementation", "8.0").WithLocation(5, 35),
44116
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "F3").WithArguments("default interface implementation", "8.0").WithLocation(6, 34)
44211
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "I1").WithArguments("default interface implementation", "8.0").WithLocation(4, 12),
44214
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "I2").WithArguments("default interface implementation", "8.0").WithLocation(8, 12),
44954
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
45107
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18)
45249
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(8, 18)
45416
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18),
45553
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "TestHelper").WithArguments("default interface implementation", "8.0").WithLocation(9, 18),
46433
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "+").WithArguments("default interface implementation", "8.0").WithLocation(4, 31),
46436
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "-").WithArguments("default interface implementation", "8.0").WithLocation(10, 31),
46439
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "!").WithArguments("default interface implementation", "8.0").WithLocation(16, 31),
46442
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "~").WithArguments("default interface implementation", "8.0").WithLocation(22, 31),
46445
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "++").WithArguments("default interface implementation", "8.0").WithLocation(28, 31),
46448
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "--").WithArguments("default interface implementation", "8.0").WithLocation(34, 31),
46451
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "true").WithArguments("default interface implementation", "8.0").WithLocation(40, 33),
46454
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "false").WithArguments("default interface implementation", "8.0").WithLocation(46, 33),
46457
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "+").WithArguments("default interface implementation", "8.0").WithLocation(52, 31),
46460
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "-").WithArguments("default interface implementation", "8.0").WithLocation(58, 31),
46463
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "*").WithArguments("default interface implementation", "8.0").WithLocation(64, 31),
46466
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "/").WithArguments("default interface implementation", "8.0").WithLocation(70, 31),
46469
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "%").WithArguments("default interface implementation", "8.0").WithLocation(76, 31),
46472
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "&").WithArguments("default interface implementation", "8.0").WithLocation(82, 31),
46475
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "|").WithArguments("default interface implementation", "8.0").WithLocation(88, 31),
46478
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "^").WithArguments("default interface implementation", "8.0").WithLocation(94, 31),
46481
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "<<").WithArguments("default interface implementation", "8.0").WithLocation(100, 31),
46484
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">>").WithArguments("default interface implementation", "8.0").WithLocation(106, 31),
46487
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">").WithArguments("default interface implementation", "8.0").WithLocation(112, 31),
46490
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "<").WithArguments("default interface implementation", "8.0").WithLocation(118, 31),
46493
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">=").WithArguments("default interface implementation", "8.0").WithLocation(124, 31),
46496
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "<=").WithArguments("default interface implementation", "8.0").WithLocation(130, 31),
46499
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(136, 31),
46502
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, ">>>").WithArguments("default interface implementation", "8.0").WithLocation(136, 31)
46589
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "+x").WithArguments("default interface implementation", "8.0").WithLocation(9, 13),
46592
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "-x").WithArguments("default interface implementation", "8.0").WithLocation(10, 13),
46595
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "!x").WithArguments("default interface implementation", "8.0").WithLocation(11, 13),
46598
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "~x").WithArguments("default interface implementation", "8.0").WithLocation(12, 13),
46601
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "++x").WithArguments("default interface implementation", "8.0").WithLocation(13, 13),
46604
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x--").WithArguments("default interface implementation", "8.0").WithLocation(14, 13),
46607
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x + y").WithArguments("default interface implementation", "8.0").WithLocation(16, 13),
46610
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x - y").WithArguments("default interface implementation", "8.0").WithLocation(17, 13),
46613
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x * y").WithArguments("default interface implementation", "8.0").WithLocation(18, 13),
46616
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x / y").WithArguments("default interface implementation", "8.0").WithLocation(19, 13),
46619
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x % y").WithArguments("default interface implementation", "8.0").WithLocation(20, 13),
46622
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x && y").WithArguments("default interface implementation", "8.0").WithLocation(21, 13),
46625
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x && y").WithArguments("default interface implementation", "8.0").WithLocation(21, 13),
46628
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x | y").WithArguments("default interface implementation", "8.0").WithLocation(22, 13),
46631
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x ^ y").WithArguments("default interface implementation", "8.0").WithLocation(23, 13),
46634
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x << 1").WithArguments("default interface implementation", "8.0").WithLocation(24, 13),
46637
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >> 2").WithArguments("default interface implementation", "8.0").WithLocation(25, 13),
46640
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x > y").WithArguments("default interface implementation", "8.0").WithLocation(26, 13),
46643
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x < y").WithArguments("default interface implementation", "8.0").WithLocation(27, 13),
46646
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >= y").WithArguments("default interface implementation", "8.0").WithLocation(28, 13),
46649
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x <= y").WithArguments("default interface implementation", "8.0").WithLocation(29, 13),
46652
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >>> 3").WithArguments("default interface implementation", "8.0").WithLocation(31, 13),
46655
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x >>> 3").WithArguments("unsigned right shift", "11.0").WithLocation(31, 13)
46687
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x").WithArguments("default interface implementation", "8.0").WithLocation(8, 13),
46690
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x & y").WithArguments("default interface implementation", "8.0").WithLocation(9, 13)
52232
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M1").WithArguments("default interface implementation", "8.0").WithLocation(9, 22)
57040
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 25),
57043
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 30)
57125
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 25)
57201
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 25)
59234
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "P1").WithArguments("default interface implementation", "8.0").WithLocation(9, 37)
62018
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 34),
62021
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 39)
62059
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "get").WithArguments("default interface implementation", "8.0").WithLocation(9, 34)
62094
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "set").WithArguments("default interface implementation", "8.0").WithLocation(9, 34)
Symbols\Source\NullablePublicAPITests.cs (56)
131
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(5, 2),
134
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(7, 13),
137
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(11, 2),
140
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(13, 13)
198
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(5, 2),
201
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(7, 13),
204
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(11, 2),
207
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(13, 13)
266
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(5, 2),
269
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(7, 18),
272
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
275
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(10, 18),
278
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(12, 2),
281
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(15, 2)
343
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(6, 2),
346
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
349
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(10, 2),
352
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(11, 10),
355
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(12, 2),
358
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(13, 10),
361
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(14, 2),
364
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(16, 2),
367
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(18, 2),
370
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(20, 2)
443
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(4, 2),
446
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
449
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(14, 2),
452
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(16, 33),
455
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(20, 2),
458
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(22, 34));
547
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
550
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(10, 10),
553
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(10, 17),
556
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(13, 2),
559
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(15, 10),
562
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(15, 17)
621
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(7, 2),
624
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(9, 19),
627
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(11, 2),
630
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(13, 19)
680
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(3, 2),
683
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(5, 11),
686
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(8, 2),
689
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(10, 11)
744
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(1, 2),
747
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(8, 6),
750
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(11, 2),
753
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(14, 6)
809
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(7, 2),
812
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(9, 13),
815
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(12, 2),
818
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(14, 13)
876
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(4, 2),
879
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "?").WithArguments("nullable reference types", "8.0").WithLocation(11, 9),
882
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "nullable").WithArguments("nullable reference types", "8.0").WithLocation(14, 2),
885
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),
2380
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M04").WithArguments("default interface implementation", "8.0").WithLocation(13, 26),
3200
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "M04").WithArguments("default interface implementation", "8.0").WithLocation(13, 29),
3825
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "--").WithArguments("default interface implementation", "8.0").WithLocation(13, 32),
3939
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)
8644
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),
2234
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "( ").WithArguments("recursive patterns", "8.0").WithLocation(1, 40),
2303
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "()").WithArguments("recursive patterns", "8.0").WithLocation(1, 40));
2394
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "(x: )").WithArguments("recursive patterns", "8.0").WithLocation(1, 40),
2465
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(1, 32),
2496
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(1, 32),
2564
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(1, 32),
2643
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "switch").WithArguments("recursive patterns", "8.0").WithLocation(1, 32),
2646
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "(a, b, c)").WithArguments("recursive patterns", "8.0").WithLocation(1, 41),
2740
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "T( : Q x ").WithArguments("recursive patterns", "8.0").WithLocation(1, 40),
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
806
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "x?.y!.z").WithArguments("top-level statements", "9.0").WithLocation(1, 1),
812
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion7_3
, "!").WithArguments("nullable reference types", "8.0").WithLocation(1, 5),