351 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)
10650
if (Compilation.LanguageVersion < LanguageVersion.
CSharp13
)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3004
if (Compilation.LanguageVersion < LanguageVersion.
CSharp13
)
Errors\MessageID.cs (1)
495
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 (76)
src\Analyzers\CSharp\Tests\ConvertTypeOfToNameOf\ConvertTypeOfToNameOfTests.cs (4)
254
LanguageVersion = LanguageVersion.
CSharp13
,
296
LanguageVersion = LanguageVersion.
CSharp13
,
386
LanguageVersion = LanguageVersion.
CSharp13
,
440
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 static 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\UseConditionalExpression\UseConditionalExpressionForAssignmentTests.cs (1)
2223
""", 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\UseImplicitlyTypedLambdaExpression\UseImplicitlyTypedLambdaExpressionTests.cs (1)
330
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 (78)
ExtractMethod\ExtractMethodCodeRefactoringTests.cs (2)
5970
LanguageVersion = LanguageVersion.
CSharp13
,
6020
LanguageVersion = LanguageVersion.
CSharp13
,
src\Analyzers\CSharp\Tests\ConvertTypeOfToNameOf\ConvertTypeOfToNameOfTests.cs (4)
254
LanguageVersion = LanguageVersion.
CSharp13
,
296
LanguageVersion = LanguageVersion.
CSharp13
,
386
LanguageVersion = LanguageVersion.
CSharp13
,
440
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 static 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\UseConditionalExpression\UseConditionalExpressionForAssignmentTests.cs (1)
2223
""", 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\UseImplicitlyTypedLambdaExpression\UseImplicitlyTypedLambdaExpressionTests.cs (1)
330
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 (130)
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 (86)
22
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
41
if (!escapeIdentifier && languageVersion > LanguageVersion.
CSharp13
)
66
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
94
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
116
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
135
if (!escapeIdentifier && languageVersion > LanguageVersion.
CSharp13
)
154
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
179
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
207
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
225
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
243
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
256
if (languageVersion > LanguageVersion.
CSharp13
)
272
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
284
if (languageVersion > LanguageVersion.
CSharp13
)
300
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
317
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
328
if (languageVersion > LanguageVersion.
CSharp13
)
347
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
358
if (languageVersion > LanguageVersion.
CSharp13
)
377
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
388
if (languageVersion > LanguageVersion.
CSharp13
)
407
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
418
if (languageVersion > LanguageVersion.
CSharp13
)
437
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
448
if (languageVersion > LanguageVersion.
CSharp13
)
467
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
478
if (languageVersion > LanguageVersion.
CSharp13
)
494
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
505
if (languageVersion > LanguageVersion.
CSharp13
)
521
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
532
if (languageVersion > LanguageVersion.
CSharp13
)
548
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
565
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
575
if (languageVersion > LanguageVersion.
CSharp13
)
591
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
601
if (languageVersion > LanguageVersion.
CSharp13
)
629
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
641
if (languageVersion > LanguageVersion.
CSharp13
)
657
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
669
if (languageVersion > LanguageVersion.
CSharp13
)
685
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
697
if (languageVersion > LanguageVersion.
CSharp13
)
713
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
724
if (languageVersion > LanguageVersion.
CSharp13
)
740
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
751
if (languageVersion > LanguageVersion.
CSharp13
)
770
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
795
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
815
if (languageVersion > LanguageVersion.
CSharp13
)
837
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
849
if (languageVersion > LanguageVersion.
CSharp13
)
877
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
898
if (languageVersion > LanguageVersion.
CSharp13
)
920
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
945
if (languageVersion > LanguageVersion.
CSharp13
)
964
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
986
if (languageVersion > LanguageVersion.
CSharp13
)
1002
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1022
if (languageVersion > LanguageVersion.
CSharp13
)
1038
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1058
if (languageVersion > LanguageVersion.
CSharp13
)
1077
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1097
if (languageVersion > LanguageVersion.
CSharp13
)
1116
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1135
if (languageVersion > LanguageVersion.
CSharp13
)
1151
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1170
if (languageVersion > LanguageVersion.
CSharp13
)
1186
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1204
if (languageVersion > LanguageVersion.
CSharp13
)
1223
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1241
if (languageVersion > LanguageVersion.
CSharp13
)
1260
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1282
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1300
if (languageVersion > LanguageVersion.
CSharp13
)
1319
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion, bool escapeIdentifier)
1346
if (!escapeIdentifier && languageVersion > LanguageVersion.
CSharp13
)
1371
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion, bool escapeIdentifier)
1399
else if (languageVersion > LanguageVersion.
CSharp13
)
1453
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1463
if (languageVersion > LanguageVersion.
CSharp13
)
1488
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion)
1506
if (languageVersion > LanguageVersion.
CSharp13
)
1517
verify(comp, synthesizeField: languageVersion > LanguageVersion.
CSharp13
);
1558
verify(comp, synthesizeField: languageVersion > LanguageVersion.
CSharp13
);
1579
[CombinatorialValues(LanguageVersion.
CSharp13
, LanguageVersionFacts.CSharpNext)] LanguageVersion languageVersion,
1599
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
;