319 references to CSharp13
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TargetTests.cs (1)
440
Assert.Equal(CSharp.LanguageVersion.
CSharp13
, CSharp.LanguageVersionFacts.CurrentVersion);
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (1)
10618
if (Compilation.LanguageVersion < LanguageVersion.
CSharp13
)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3017
if (Compilation.LanguageVersion < LanguageVersion.
CSharp13
)
Errors\MessageID.cs (1)
493
return LanguageVersion.
CSharp13
;
LanguageVersion.cs (6)
293
case LanguageVersion.
CSharp13
:
335
case LanguageVersion.
CSharp13
:
408
case LanguageVersion.
CSharp13
:
528
result = LanguageVersion.
CSharp13
;
547
return LanguageVersion.
CSharp13
;
553
internal static LanguageVersion CurrentVersion => LanguageVersion.
CSharp13
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\LanguageVersionExtensions.cs (1)
13
=> languageVersion >= LanguageVersion.
CSharp13
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (70)
src\Analyzers\CSharp\Tests\RemoveUnusedMembers\RemoveUnusedMembersTests.cs (7)
3270
LanguageVersion = LanguageVersion.
CSharp13
,
3368
LanguageVersion = LanguageVersion.
CSharp13
,
3402
LanguageVersion = LanguageVersion.
CSharp13
,
3425
LanguageVersion = LanguageVersion.
CSharp13
,
3449
LanguageVersion = LanguageVersion.
CSharp13
,
3480
LanguageVersion = LanguageVersion.
CSharp13
,
3529
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests_Field.cs (1)
17
private readonly ParseOptions CSharp13 = CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp13
);
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests_CollectionExpression.cs (3)
5887
LanguageVersion = LanguageVersion.
CSharp13
,
5908
LanguageVersion = LanguageVersion.
CSharp13
,
5940
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\UseExplicitArrayInExpressionTree\UseExplicitArrayInExpressionTreeTests.cs (16)
56
LanguageVersion = LanguageVersion.
CSharp13
,
94
LanguageVersion = LanguageVersion.
CSharp13
,
117
LanguageVersion = LanguageVersion.
CSharp13
,
140
LanguageVersion = LanguageVersion.
CSharp13
,
163
LanguageVersion = LanguageVersion.
CSharp13
,
201
LanguageVersion = LanguageVersion.
CSharp13
,
239
LanguageVersion = LanguageVersion.
CSharp13
,
277
LanguageVersion = LanguageVersion.
CSharp13
,
315
LanguageVersion = LanguageVersion.
CSharp13
,
353
LanguageVersion = LanguageVersion.
CSharp13
,
391
LanguageVersion = LanguageVersion.
CSharp13
,
429
LanguageVersion = LanguageVersion.
CSharp13
,
473
LanguageVersion = LanguageVersion.
CSharp13
,
517
LanguageVersion = LanguageVersion.
CSharp13
,
561
LanguageVersion = LanguageVersion.
CSharp13
,
605
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\UseSystemThreadingLock\UseSystemThreadingLockTests.cs (42)
64
LanguageVersion = LanguageVersion.
CSharp13
,
171
LanguageVersion = LanguageVersion.
CSharp13
,
209
LanguageVersion = LanguageVersion.
CSharp13
,
232
LanguageVersion = LanguageVersion.
CSharp13
,
255
LanguageVersion = LanguageVersion.
CSharp13
,
280
LanguageVersion = LanguageVersion.
CSharp13
,
303
LanguageVersion = LanguageVersion.
CSharp13
,
343
LanguageVersion = LanguageVersion.
CSharp13
,
381
LanguageVersion = LanguageVersion.
CSharp13
,
422
LanguageVersion = LanguageVersion.
CSharp13
,
460
LanguageVersion = LanguageVersion.
CSharp13
,
486
LanguageVersion = LanguageVersion.
CSharp13
,
531
LanguageVersion = LanguageVersion.
CSharp13
,
584
LanguageVersion = LanguageVersion.
CSharp13
,
604
LanguageVersion = LanguageVersion.
CSharp13
,
631
LanguageVersion = LanguageVersion.
CSharp13
,
656
LanguageVersion = LanguageVersion.
CSharp13
,
679
LanguageVersion = LanguageVersion.
CSharp13
,
702
LanguageVersion = LanguageVersion.
CSharp13
,
725
LanguageVersion = LanguageVersion.
CSharp13
,
753
LanguageVersion = LanguageVersion.
CSharp13
,
781
LanguageVersion = LanguageVersion.
CSharp13
,
804
LanguageVersion = LanguageVersion.
CSharp13
,
827
LanguageVersion = LanguageVersion.
CSharp13
,
873
LanguageVersion = LanguageVersion.
CSharp13
,
921
LanguageVersion = LanguageVersion.
CSharp13
,
959
LanguageVersion = LanguageVersion.
CSharp13
,
997
LanguageVersion = LanguageVersion.
CSharp13
,
1035
LanguageVersion = LanguageVersion.
CSharp13
,
1073
LanguageVersion = LanguageVersion.
CSharp13
,
1121
LanguageVersion = LanguageVersion.
CSharp13
,
1169
LanguageVersion = LanguageVersion.
CSharp13
,
1217
LanguageVersion = LanguageVersion.
CSharp13
,
1265
LanguageVersion = LanguageVersion.
CSharp13
,
1321
LanguageVersion = LanguageVersion.
CSharp13
,
1377
LanguageVersion = LanguageVersion.
CSharp13
,
1417
LanguageVersion = LanguageVersion.
CSharp13
,
1438
LanguageVersion = LanguageVersion.
CSharp13
,
1478
LanguageVersion = LanguageVersion.
CSharp13
,
1524
LanguageVersion = LanguageVersion.
CSharp13
,
1568
LanguageVersion = LanguageVersion.
CSharp13
,
1612
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\UseUnboundGenericTypeInNameOf\UseUnboundGenericTypeInNameOfTests.cs (1)
90
LanguageVersion = LanguageVersion.
CSharp13
,
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
1793
InlineData(LanguageVersion.
CSharp13
, LanguageVersion.
CSharp13
),
1794
InlineData(LanguageVersion.
CSharp13
, LanguageVersion.LatestMajor),
1795
InlineData(LanguageVersion.
CSharp13
, LanguageVersion.Latest),
1796
InlineData(LanguageVersion.
CSharp13
, LanguageVersion.Default),
1841
InlineData("13", true, LanguageVersion.
CSharp13
),
1842
InlineData("13.0", true, LanguageVersion.
CSharp13
),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (37)
FieldKeywordTests.cs (31)
657
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
686
if (languageVersion == LanguageVersion.
CSharp13
)
827
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
846
if (languageVersion == LanguageVersion.
CSharp13
)
928
Assert.Equal(languageVersion > LanguageVersion.
CSharp13
, ((SourcePropertySymbol)actualProperties[0]).UsesFieldKeyword);
929
Assert.Equal(languageVersion > LanguageVersion.
CSharp13
, ((SourcePropertySymbol)actualProperties[1]).UsesFieldKeyword);
937
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion, bool useInit)
955
if (languageVersion == LanguageVersion.
CSharp13
)
1029
Assert.Equal(languageVersion > LanguageVersion.
CSharp13
, ((SourcePropertySymbol)actualProperties[0]).UsesFieldKeyword);
1030
Assert.Equal(languageVersion > LanguageVersion.
CSharp13
, ((SourcePropertySymbol)actualProperties[1]).UsesFieldKeyword);
1039
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1069
if (languageVersion == LanguageVersion.
CSharp13
)
1136
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1166
if (languageVersion == LanguageVersion.
CSharp13
)
1455
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
8333
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
8366
if (languageVersion == LanguageVersion.
CSharp13
)
8485
[CombinatorialValues(LanguageVersion.CSharp12, LanguageVersion.
CSharp13
)] LanguageVersion languageVersion,
8548
case (LanguageVersion.
CSharp13
, false):
8557
case (LanguageVersion.
CSharp13
, true):
8575
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
8597
if (languageVersion == LanguageVersion.
CSharp13
)
8650
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
8672
if (languageVersion == LanguageVersion.
CSharp13
)
10177
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
10203
if (languageVersion == LanguageVersion.
CSharp13
)
10281
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
10306
if (languageVersion == LanguageVersion.
CSharp13
)
10348
if (languageVersion == LanguageVersion.
CSharp13
)
10363
if (languageVersion == LanguageVersion.
CSharp13
)
10378
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
FirstClassSpanTests.cs (5)
25
LanguageVersion.
CSharp13
,
3059
var targetType = langVersion > LanguageVersion.
CSharp13
? "System.Span<S<string>>" : "System.ReadOnlySpan<S<string>>";
3847
=> langVersion > LanguageVersion.
CSharp13
? $"System.Span<S<{inner}>>" : $"S<{inner}>[]";
3887
=> langVersion > LanguageVersion.
CSharp13
? $"System.ReadOnlySpan<S<{inner}>>" : $"S<{inner}>[]";
3995
var targetType = langVersion > LanguageVersion.
CSharp13
? "System.ReadOnlySpan<I<object>>" : "I<object>[]";
Semantics\CollectionExpressionTests.cs (1)
2291
[InlineData(LanguageVersion.
CSharp13
)]
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (72)
ExtractMethod\ExtractMethodCodeRefactoringTests.cs (2)
5964
LanguageVersion = LanguageVersion.
CSharp13
,
6014
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\RemoveUnusedMembers\RemoveUnusedMembersTests.cs (7)
3270
LanguageVersion = LanguageVersion.
CSharp13
,
3368
LanguageVersion = LanguageVersion.
CSharp13
,
3402
LanguageVersion = LanguageVersion.
CSharp13
,
3425
LanguageVersion = LanguageVersion.
CSharp13
,
3449
LanguageVersion = LanguageVersion.
CSharp13
,
3480
LanguageVersion = LanguageVersion.
CSharp13
,
3529
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests_Field.cs (1)
17
private readonly ParseOptions CSharp13 = CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp13
);
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests_CollectionExpression.cs (3)
5887
LanguageVersion = LanguageVersion.
CSharp13
,
5908
LanguageVersion = LanguageVersion.
CSharp13
,
5940
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\UseExplicitArrayInExpressionTree\UseExplicitArrayInExpressionTreeTests.cs (16)
56
LanguageVersion = LanguageVersion.
CSharp13
,
94
LanguageVersion = LanguageVersion.
CSharp13
,
117
LanguageVersion = LanguageVersion.
CSharp13
,
140
LanguageVersion = LanguageVersion.
CSharp13
,
163
LanguageVersion = LanguageVersion.
CSharp13
,
201
LanguageVersion = LanguageVersion.
CSharp13
,
239
LanguageVersion = LanguageVersion.
CSharp13
,
277
LanguageVersion = LanguageVersion.
CSharp13
,
315
LanguageVersion = LanguageVersion.
CSharp13
,
353
LanguageVersion = LanguageVersion.
CSharp13
,
391
LanguageVersion = LanguageVersion.
CSharp13
,
429
LanguageVersion = LanguageVersion.
CSharp13
,
473
LanguageVersion = LanguageVersion.
CSharp13
,
517
LanguageVersion = LanguageVersion.
CSharp13
,
561
LanguageVersion = LanguageVersion.
CSharp13
,
605
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\UseSystemThreadingLock\UseSystemThreadingLockTests.cs (42)
64
LanguageVersion = LanguageVersion.
CSharp13
,
171
LanguageVersion = LanguageVersion.
CSharp13
,
209
LanguageVersion = LanguageVersion.
CSharp13
,
232
LanguageVersion = LanguageVersion.
CSharp13
,
255
LanguageVersion = LanguageVersion.
CSharp13
,
280
LanguageVersion = LanguageVersion.
CSharp13
,
303
LanguageVersion = LanguageVersion.
CSharp13
,
343
LanguageVersion = LanguageVersion.
CSharp13
,
381
LanguageVersion = LanguageVersion.
CSharp13
,
422
LanguageVersion = LanguageVersion.
CSharp13
,
460
LanguageVersion = LanguageVersion.
CSharp13
,
486
LanguageVersion = LanguageVersion.
CSharp13
,
531
LanguageVersion = LanguageVersion.
CSharp13
,
584
LanguageVersion = LanguageVersion.
CSharp13
,
604
LanguageVersion = LanguageVersion.
CSharp13
,
631
LanguageVersion = LanguageVersion.
CSharp13
,
656
LanguageVersion = LanguageVersion.
CSharp13
,
679
LanguageVersion = LanguageVersion.
CSharp13
,
702
LanguageVersion = LanguageVersion.
CSharp13
,
725
LanguageVersion = LanguageVersion.
CSharp13
,
753
LanguageVersion = LanguageVersion.
CSharp13
,
781
LanguageVersion = LanguageVersion.
CSharp13
,
804
LanguageVersion = LanguageVersion.
CSharp13
,
827
LanguageVersion = LanguageVersion.
CSharp13
,
873
LanguageVersion = LanguageVersion.
CSharp13
,
921
LanguageVersion = LanguageVersion.
CSharp13
,
959
LanguageVersion = LanguageVersion.
CSharp13
,
997
LanguageVersion = LanguageVersion.
CSharp13
,
1035
LanguageVersion = LanguageVersion.
CSharp13
,
1073
LanguageVersion = LanguageVersion.
CSharp13
,
1121
LanguageVersion = LanguageVersion.
CSharp13
,
1169
LanguageVersion = LanguageVersion.
CSharp13
,
1217
LanguageVersion = LanguageVersion.
CSharp13
,
1265
LanguageVersion = LanguageVersion.
CSharp13
,
1321
LanguageVersion = LanguageVersion.
CSharp13
,
1377
LanguageVersion = LanguageVersion.
CSharp13
,
1417
LanguageVersion = LanguageVersion.
CSharp13
,
1438
LanguageVersion = LanguageVersion.
CSharp13
,
1478
LanguageVersion = LanguageVersion.
CSharp13
,
1524
LanguageVersion = LanguageVersion.
CSharp13
,
1568
LanguageVersion = LanguageVersion.
CSharp13
,
1612
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\UseUnboundGenericTypeInNameOf\UseUnboundGenericTypeInNameOfTests.cs (1)
90
LanguageVersion = LanguageVersion.
CSharp13
,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\DelegateTypeTests.cs (8)
6485
foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.
CSharp13
, CSharp.LanguageVersion.CSharp12 })
6524
foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.
CSharp13
, CSharp.LanguageVersion.CSharp12 })
6569
foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.
CSharp13
, CSharp.LanguageVersion.CSharp12 })
6614
foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.
CSharp13
, CSharp.LanguageVersion.CSharp12 })
6659
foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.
CSharp13
, CSharp.LanguageVersion.CSharp12 })
6704
foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.
CSharp13
, CSharp.LanguageVersion.CSharp12 })
6743
foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.
CSharp13
, CSharp.LanguageVersion.CSharp12 })
6782
foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.
CSharp13
, CSharp.LanguageVersion.CSharp12 })
Semantics\RefEscapingTests.cs (2)
3363
""", TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp13
));
6880
[InlineData(LanguageVersion.
CSharp13
)]
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (110)
Parsing\FieldKeywordParsingTests.cs (44)
21
return !escapeIdentifier && languageVersion > LanguageVersion.
CSharp13
;
55
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
114
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
116
bool expectedParsedAsToken = languageVersion > LanguageVersion.
CSharp13
;
156
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
158
bool expectedParsedAsToken = languageVersion > LanguageVersion.
CSharp13
;
207
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
209
bool expectedParsedAsToken = languageVersion > LanguageVersion.
CSharp13
;
263
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
266
bool expectedParsedAsToken = languageVersion > LanguageVersion.
CSharp13
;
327
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
384
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
450
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
521
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
600
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
667
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
670
bool expectedParsedAsToken = languageVersion > LanguageVersion.
CSharp13
;
748
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
844
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
894
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
951
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
997
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1043
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1089
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1139
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1193
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1239
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1308
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1359
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1413
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1475
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1553
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1616
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1692
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1743
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1833
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion,
1912
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
1963
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
2022
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
2081
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
2145
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
2218
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
2269
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
2326
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersion.Preview)] LanguageVersion languageVersion)
Syntax\FieldAndValueKeywordTests.cs (66)
22
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
41
if (!escapeIdentifier && languageVersion > LanguageVersion.
CSharp13
)
92
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
114
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
133
if (!escapeIdentifier && languageVersion > LanguageVersion.
CSharp13
)
152
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
177
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
205
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
223
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
241
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
254
if (languageVersion > LanguageVersion.
CSharp13
)
270
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
282
if (languageVersion > LanguageVersion.
CSharp13
)
298
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
315
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
326
if (languageVersion > LanguageVersion.
CSharp13
)
342
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
353
if (languageVersion > LanguageVersion.
CSharp13
)
369
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
380
if (languageVersion > LanguageVersion.
CSharp13
)
396
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
407
if (languageVersion > LanguageVersion.
CSharp13
)
423
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
434
if (languageVersion > LanguageVersion.
CSharp13
)
450
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
467
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
484
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
501
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
518
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
534
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
556
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
574
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
591
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
602
if (languageVersion > LanguageVersion.
CSharp13
)
618
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
643
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
662
if (languageVersion > LanguageVersion.
CSharp13
)
684
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
701
if (languageVersion > LanguageVersion.
CSharp13
)
717
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
739
if (languageVersion > LanguageVersion.
CSharp13
)
755
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
775
if (languageVersion > LanguageVersion.
CSharp13
)
791
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
811
if (languageVersion > LanguageVersion.
CSharp13
)
827
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
847
if (languageVersion > LanguageVersion.
CSharp13
)
909
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
927
if (languageVersion > LanguageVersion.
CSharp13
)
943
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
961
if (languageVersion > LanguageVersion.
CSharp13
)
977
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
999
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1017
if (languageVersion > LanguageVersion.
CSharp13
)
1036
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion, bool escapeIdentifier)
1063
if (!escapeIdentifier && languageVersion > LanguageVersion.
CSharp13
)
1088
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion, bool escapeIdentifier)
1115
else if (languageVersion > LanguageVersion.
CSharp13
)
1166
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1176
if (languageVersion > LanguageVersion.
CSharp13
)
1201
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1219
if (languageVersion > LanguageVersion.
CSharp13
)
1230
verify(comp, synthesizeField: languageVersion > LanguageVersion.
CSharp13
);
1271
verify(comp, synthesizeField: languageVersion > LanguageVersion.
CSharp13
);
1292
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
1312
if (languageVersion > LanguageVersion.
CSharp13
)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
TestOptions.cs (1)
45
public static readonly CSharpParseOptions Regular13 = Regular.WithLanguageVersion(LanguageVersion.
CSharp13
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\LanguageVersionExtensions.cs (1)
13
=> languageVersion >= LanguageVersion.
CSharp13
;