344 references to ERR_FeatureNotAvailableInVersion10
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2191
or ErrorCode.
ERR_FeatureNotAvailableInVersion10
LanguageVersion.cs (1)
330
return ErrorCode.
ERR_FeatureNotAvailableInVersion10
;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
1754
ErrorCode.
ERR_FeatureNotAvailableInVersion10
,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (60)
Attributes\AttributeTests.cs (36)
6295
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Goo<int>").WithArguments("generic attributes", "11.0").WithLocation(2, 2));
6355
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Goo<int>").WithArguments("generic attributes", "11.0").WithLocation(2, 2));
7924
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(3, 16),
8901
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A<>").WithArguments("generic attributes", "11.0").WithLocation(4, 2),
8907
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A<int>").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
8916
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "B<>").WithArguments("generic attributes", "11.0").WithLocation(7, 2),
8919
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "B<int>").WithArguments("generic attributes", "11.0").WithLocation(8, 2),
8931
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<>").WithArguments("generic attributes", "11.0").WithLocation(10, 2),
8937
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<int>").WithArguments("generic attributes", "11.0").WithLocation(11, 2),
8943
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<,>").WithArguments("generic attributes", "11.0").WithLocation(12, 2),
8946
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<int, int>").WithArguments("generic attributes", "11.0").WithLocation(13, 2),
8952
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Attribute").WithArguments("generic attributes", "11.0").WithLocation(22, 21),
8955
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Attribute").WithArguments("generic attributes", "11.0").WithLocation(26, 24));
9015
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Attribute").WithArguments("generic attributes", "11.0").WithLocation(12, 21),
9024
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
9027
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias<>").WithArguments("generic attributes", "11.0").WithLocation(6, 2),
9030
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias<int>").WithArguments("generic attributes", "11.0").WithLocation(7, 2));
9077
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias").WithArguments("generic attributes", "11.0").WithLocation(4, 2),
9083
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias<>").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
9089
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Alias<int>").WithArguments("generic attributes", "11.0").WithLocation(6, 2));
9135
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "InnerAlias").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
9141
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "OuterAlias.Inner").WithArguments("generic attributes", "11.0").WithLocation(8, 6));
10269
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 14)
10398
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 30),
10401
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(3, 21),
10407
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A<int>").WithArguments("generic attributes", "11.0").WithLocation(5, 2));
10434
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 30),
10437
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(3, 21),
10443
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "@A<int>").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
10446
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "AAttribute<int>").WithArguments("generic attributes", "11.0").WithLocation(6, 2));
10465
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 21));
10536
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(4, 26));
10580
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 21),
10583
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<ERROR>").WithArguments("generic attributes", "11.0").WithLocation(4, 2),
10589
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<System>").WithArguments("generic attributes", "11.0").WithLocation(5, 2),
10601
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C<>").WithArguments("generic attributes", "11.0").WithLocation(6, 2),
RefStructInterfacesTests.cs (6)
26365
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref struct").WithArguments("allows ref struct constraint", "13.0").WithLocation(3, 39),
26820
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref struct").WithArguments("allows ref struct constraint", "13.0").WithLocation(31, 50),
26826
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref struct").WithArguments("allows ref struct constraint", "13.0").WithLocation(3, 50),
26835
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "S1").WithArguments("static abstract members in interfaces", "11.0").WithLocation(15, 21),
26900
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref struct").WithArguments("allows ref struct constraint", "13.0").WithLocation(3, 46),
26906
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref struct").WithArguments("allows ref struct constraint", "13.0").WithLocation(38, 46),
Semantics\InlineArrayTests.cs (12)
13121
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "f[0]").WithArguments("inline arrays", "12.0").WithLocation(7, 30),
13124
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(25, 12),
13318
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(16, 12),
13480
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "this[0]").WithArguments("inline arrays", "12.0").WithLocation(10, 13),
13486
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(17, 12),
13546
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "f[0]").WithArguments("inline arrays", "12.0").WithLocation(7, 30),
13549
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "this[0]").WithArguments("inline arrays", "12.0").WithLocation(19, 13)
13607
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "f[0]").WithArguments("inline arrays", "12.0").WithLocation(7, 30),
13610
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "f[0]").WithArguments("inline arrays", "12.0").WithLocation(9, 9),
13613
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "f[0]").WithArguments("inline arrays", "12.0").WithLocation(11, 30),
13616
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "f[0]").WithArguments("inline arrays", "12.0").WithLocation(15, 30),
13622
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "this[0]").WithArguments("inline arrays", "12.0").WithLocation(26, 13),
Semantics\PatternMatchingTests.cs (4)
8610
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""").WithArguments("pattern matching ReadOnly/Span<char> on constant string", "11.0").WithLocation(5, 57));
8652
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""").WithArguments("pattern matching ReadOnly/Span<char> on constant string", "11.0").WithLocation(4, 63));
10213
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""").WithArguments("pattern matching ReadOnly/Span<char> on constant string", "11.0").WithLocation(5, 49));
10254
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""").WithArguments("pattern matching ReadOnly/Span<char> on constant string", "11.0").WithLocation(5, 55));
Semantics\PatternMatchingTests_ListPatterns.cs (2)
455
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "[]").WithArguments("list pattern", "11.0").WithLocation(2, 16),
458
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "[.. var x]").WithArguments("list pattern", "11.0").WithLocation(3, 16),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (139)
Semantics\BindingTests.cs (1)
2194
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(2, 14)
Semantics\RecordStructTests.cs (1)
280
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "(int x, int y)").WithArguments("primary constructors", "12.0").WithLocation(2, 13),
Semantics\RefEscapingTests.cs (3)
2307
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(46, 23),
6912
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "var").WithArguments("ref and unsafe in async and iterator methods", "13.0").WithLocation(12, 9),
6915
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "var").WithArguments("ref and unsafe in async and iterator methods", "13.0").WithLocation(14, 9),
Semantics\RefFieldTests.cs (124)
89
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 12),
92
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref readonly T").WithArguments("ref fields", "11.0").WithLocation(4, 12),
95
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(25, 9));
130
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "F1").WithArguments("ref fields", "11.0").WithLocation(8, 25),
133
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 9),
136
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "F1").WithArguments("ref fields", "11.0").WithLocation(14, 25),
139
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F1").WithArguments("ref fields", "11.0").WithLocation(19, 12),
142
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F2").WithArguments("ref fields", "11.0").WithLocation(20, 12),
145
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F1").WithArguments("ref fields", "11.0").WithLocation(21, 16));
171
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 12));
201
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(8, 9),
204
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(9, 27),
207
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(12, 27));
240
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref readonly T").WithArguments("ref fields", "11.0").WithLocation(3, 12));
275
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(13, 9),
278
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(14, 27),
281
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "s.F").WithArguments("ref fields", "11.0").WithLocation(17, 27));
2086
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(4, 5),
2116
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(4, 12),
2230
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 12),
2244
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 12));
2357
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(5, 21),
2360
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "F1").WithArguments("required members", "11.0").WithLocation(5, 27),
2363
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref readonly U").WithArguments("ref fields", "11.0").WithLocation(6, 21),
2366
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "F2").WithArguments("required members", "11.0").WithLocation(6, 36));
2569
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 5),
2651
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref T").WithArguments("ref fields", "11.0").WithLocation(3, 5),
10940
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 33),
10943
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 37),
10946
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 36),
10949
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 37));
11015
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(3, 7),
11018
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 12),
11021
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 42));
11058
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 30),
11061
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 36),
11064
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 35),
11067
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 36),
11070
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(11, 34),
11073
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 33),
11076
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(13, 34));
11129
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 25),
11132
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 31),
11135
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 30),
11138
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 31),
11144
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 29),
11147
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(11, 28),
11150
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 29));
11208
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(2, 18),
11211
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(3, 18));
11246
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 20),
11249
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 20),
11252
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 36),
11840
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "()").WithArguments("primary constructors", "12.0").WithLocation(3, 32)
11909
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(6, 12),
11946
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(6, 20));
12101
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 9),
12104
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 9),
12107
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 9),
12110
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 9),
12113
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(11, 9),
12116
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 9)
12248
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 14),
12251
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 14),
12254
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 14));
12333
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 10),
12336
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 10),
12342
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 10),
12378
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(16, 10),
12381
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(17, 10),
12387
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(18, 10),
12729
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 16),
12732
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 16),
12738
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 16),
12774
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(16, 16),
12777
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(17, 16),
12783
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(18, 16),
13193
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 1),
13199
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 1),
13202
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 1)
13248
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 10),
13254
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 10),
13257
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 10)
13310
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 2),
13313
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 2),
13360
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 7),
13363
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 7)
14409
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 9)
14451
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 14)
14646
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 18),
14649
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 18),
14652
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 18)
14798
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 19),
14804
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 19),
14816
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 19),
14828
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(11, 19),
14834
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(12, 19),
14846
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(13, 19),
15100
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 14),
15103
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 14),
15106
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 14)
20397
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "ref int").WithArguments("ref fields", "11.0").WithLocation(7, 12)
20427
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(3, 20),
20430
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(4, 20),
20433
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(7, 15)
20440
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(3, 20),
20446
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(4, 20),
20452
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "field").WithArguments("ref fields", "11.0").WithLocation(7, 15),
22524
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 45),
22537
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 45));
27633
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 15),
27636
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 15),
27642
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 15),
27723
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 16),
27726
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(8, 16),
27732
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(9, 16),
27819
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(4, 7),
27822
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 7),
27831
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 7),
27920
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(5, 20),
27923
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(6, 24),
27932
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 28),
28297
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 15)
28345
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(7, 16)
Semantics\SpanStackSafetyTests.cs (4)
533
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(10, 20),
542
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(21, 20),
545
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(26, 21)
2417
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(29, 20));
Semantics\Utf8StringsLiteralsTests.cs (6)
1676
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""cat""" + suffix).WithArguments("UTF-8 string literals", "11.0").WithLocation(15, 42)
1729
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"@""cat""" + suffix).WithArguments("UTF-8 string literals", "11.0").WithLocation(15, 42)
1782
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""""cat""""""" + suffix).WithArguments("raw string literals", "11.0").WithLocation(15, 42),
1785
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""""cat""""""" + suffix).WithArguments("UTF-8 string literals", "11.0").WithLocation(15, 42)
1844
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""""
1849
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"""""""
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (137)
Symbols\CheckedUserDefinedOperatorsTests.cs (25)
41
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 30)
554
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
675
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
726
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
1283
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 30)
1735
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
1857
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
1967
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
2092
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 30)
2193
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 38)
2333
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(7, 30)
2427
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(7, 30)
2517
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 37)
2893
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 37)
3059
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(7, 37)
3472
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, op + "x").WithArguments("checked user-defined operators", "11.0").WithLocation(16, 24),
3475
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, op + "x").WithArguments("checked user-defined operators", "11.0").WithLocation(26, 24)
3865
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, op + "x").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 24)
4247
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("checked user-defined operators", "11.0").WithLocation(16, 24),
4250
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("checked user-defined operators", "11.0").WithLocation(26, 24)
4708
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= x").WithArguments("checked user-defined operators", "11.0").WithLocation(16, 19),
4711
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= x").WithArguments("checked user-defined operators", "11.0").WithLocation(26, 19)
4827
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " y").WithArguments("checked user-defined operators", "11.0").WithLocation(14, 24)
5258
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "(long)x").WithArguments("checked user-defined operators", "11.0").WithLocation(23, 26)
5726
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "(long?)x").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 26)
Symbols\DefaultInterfaceImplementationTests.cs (4)
68506
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<T1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(18, 15),
68509
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I4<T1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(23, 15)
68523
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<T1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(18, 21),
68526
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I4<T1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(23, 21)
Symbols\RequiredMembersTests.cs (2)
240
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Field").WithArguments("required members", "11.0").WithLocation(5, 27),
243
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Prop").WithArguments("required members", "11.0").WithLocation(6, 27)
Symbols\Source\FileModifierTests.cs (5)
39
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C").WithArguments("file types", "11.0").WithLocation(1, 12));
59
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C").WithArguments("file types", "11.0").WithLocation(3, 16),
85
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Outer").WithArguments("file types", "11.0").WithLocation(1, 12));
118
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "Outer").WithArguments("file types", "11.0").WithLocation(1, 12),
121
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C").WithArguments("file types", "11.0").WithLocation(3, 16),
Symbols\StaticAbstractMembersInInterfacesTests.cs (82)
8581
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
8591
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
9176
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, prefixOp + "x" + postfixOp).WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13),
9179
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, prefixOp + "x" + postfixOp).WithArguments("checked user-defined operators", "11.0").WithLocation(6, 13)
9187
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, prefixOp + "x" + postfixOp).WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
9200
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 32),
9444
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
9858
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
12434
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13),
12437
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " y").WithArguments("checked user-defined operators", "11.0").WithLocation(6, 13)
12445
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
12453
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13),
12456
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(6, 13)
12469
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 33),
12488
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(12, 33),
12551
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + op + " y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
12634
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
12637
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= y").WithArguments("checked user-defined operators", "11.0").WithLocation(6, 9)
12645
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + "= y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
12653
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
12656
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(6, 9)
12669
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 32),
12688
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(12, 32),
12732
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
13589
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
13599
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13),
13641
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
13651
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
13693
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
13703
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
14238
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
14248
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
14290
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9)
14300
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 9),
14791
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 28)
14801
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 28),
15197
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 31)
15207
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 31),
15465
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 31)
15475
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "T").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 31),
19325
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19328
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 27),
19331
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 34),
19342
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19362
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19365
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 27),
19368
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 34),
19371
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(14, 33),
19377
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(19, 32),
19388
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19453
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19464
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19467
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 27),
19470
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(9, 34),
19482
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19485
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 27),
19488
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 34),
19507
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19521
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19524
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 27),
19527
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(9, 34),
19530
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(14, 33),
19536
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(19, 32),
19548
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I1.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 15),
19551
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(14, 33),
19557
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 27),
19560
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(19, 32),
19566
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 34)
28970
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<Test1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 21),
28981
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<Test1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 21),
28984
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 40),
28987
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 37),
29003
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<Test1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 21),
29014
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "I2<Test1>.").WithArguments("static abstract members in interfaces", "11.0").WithLocation(4, 21),
29017
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(4, 40),
29020
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(9, 37),
29023
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(14, 39),
31183
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, (needCast ? "(int)" : "") + "x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 16),
31186
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "(int)x").WithArguments("checked user-defined operators", "11.0").WithLocation(6, 16)
31194
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, (needCast ? "(int)" : "") + "x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 16)
31207
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "checked").WithArguments("checked user-defined operators", "11.0").WithLocation(12, 40),
31267
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x " + op + " x").WithArguments("static abstract members in interfaces", "11.0").WithLocation(6, 13)
Symbols\SymbolErrorTests.cs (5)
10831
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "<<").WithArguments("relaxed shift operator", "11.0").WithLocation(4, 32),
10837
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(12, 32),
12876
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "System.Attribute").WithArguments("generic attributes", "11.0").WithLocation(1, 14));
12892
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A").WithArguments("generic attributes", "11.0").WithLocation(2, 14),
12895
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "A").WithArguments("generic attributes", "11.0").WithLocation(5, 15));
Symbols\UnsignedRightShiftTests.cs (14)
2720
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(7, 30)
2889
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(7, 30)
3111
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(8, 13)
3205
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(8, 9)
3299
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(8, 13)
3393
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(8, 9)
3427
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 31)
3444
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(4, 37)
3479
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 31)
3496
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(4, 37)
3531
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 31)
3548
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>> y").WithArguments("unsigned right shift", "11.0").WithLocation(4, 40)
3583
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, ">>>").WithArguments("unsigned right shift", "11.0").WithLocation(4, 31)
3600
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "x >>>= y").WithArguments("unsigned right shift", "11.0").WithLocation(4, 40)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\DeclarationScopeParsingTests.cs (1)
3293
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "scoped").WithArguments("ref fields", "11.0").WithLocation(2, 1),
Parsing\FileModifierParsingTests.cs (1)
571
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "C").WithArguments("file types", "11.0").WithLocation(1, 12)
Parsing\MemberDeclarationParsingTests.cs (1)
1623
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, "required ").WithArguments("static abstract members in interfaces", "11.0").WithLocation(1, 27),
Parsing\RawInterpolatedStringLiteralCompilingTests.cs (1)
76
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @"$"""""" """"""").WithArguments("raw string literals", "11.0").WithLocation(3, 22));
Parsing\RawStringLiteralCompilingTests.cs (1)
22
Diagnostic(ErrorCode.
ERR_FeatureNotAvailableInVersion10
, @""""""" """"""").WithArguments("raw string literals", "11.0").WithLocation(3, 22));