635 references to CSharp11
Microsoft.CodeAnalysis.CSharp (5)
Errors\MessageID.cs (1)
522
return LanguageVersion.
CSharp11
;
LanguageVersion.cs (4)
291
case LanguageVersion.
CSharp11
:
331
case LanguageVersion.
CSharp11
:
404
case LanguageVersion.
CSharp11
:
518
result = LanguageVersion.
CSharp11
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UseNameofInNullableAttribute\CSharpUseNameofInNullableAttributeDiagnosticAnalyzer.cs (1)
47
if (context.Compilation.LanguageVersion() >= LanguageVersion.
CSharp11
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\LanguageVersionExtensions.cs (1)
19
=> languageVersion >= LanguageVersion.
CSharp11
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MakeMemberRequired\CSharpMakeMemberRequiredCodeFixProvider.cs (1)
41
if (root.GetLanguageVersion() < LanguageVersion.
CSharp11
)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (50)
src\Analyzers\CSharp\Tests\ConvertNamespace\ConvertToFileScopedNamespaceAnalyzerTests.cs (6)
1162
LanguageVersion = LanguageVersion.
CSharp11
,
1232
LanguageVersion = LanguageVersion.
CSharp11
,
1304
LanguageVersion = LanguageVersion.
CSharp11
,
1390
LanguageVersion = LanguageVersion.
CSharp11
,
1462
LanguageVersion = LanguageVersion.
CSharp11
,
1534
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\MakeMemberRequired\MakeMemberRequiredTests.cs (21)
138
LanguageVersion = LanguageVersion.
CSharp11
,
162
LanguageVersion = LanguageVersion.
CSharp11
,
186
LanguageVersion = LanguageVersion.
CSharp11
,
206
LanguageVersion = LanguageVersion.
CSharp11
,
239
LanguageVersion = LanguageVersion.
CSharp11
,
261
LanguageVersion = LanguageVersion.
CSharp11
,
288
LanguageVersion = LanguageVersion.
CSharp11
,
307
LanguageVersion = LanguageVersion.
CSharp11
,
334
LanguageVersion = LanguageVersion.
CSharp11
,
353
LanguageVersion = LanguageVersion.
CSharp11
,
379
LanguageVersion = LanguageVersion.
CSharp11
,
412
LanguageVersion = LanguageVersion.
CSharp11
,
434
LanguageVersion = LanguageVersion.
CSharp11
,
475
LanguageVersion = LanguageVersion.
CSharp11
,
495
LanguageVersion = LanguageVersion.
CSharp11
,
521
LanguageVersion = LanguageVersion.
CSharp11
,
547
LanguageVersion = LanguageVersion.
CSharp11
,
571
LanguageVersion = LanguageVersion.
CSharp11
,
595
LanguageVersion = LanguageVersion.
CSharp11
,
621
LanguageVersion = LanguageVersion.
CSharp11
,
645
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (3)
9955
LanguageVersion = LanguageVersion.
CSharp11
,
9997
LanguageVersion = LanguageVersion.
CSharp11
,
10039
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (11)
1102
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1113
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1124
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1135
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1146
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1157
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1232
expected: LanguageVersion.
CSharp11
,
1246
expected: LanguageVersion.
CSharp11
,
1260
expected: LanguageVersion.
CSharp11
,
1274
expected: LanguageVersion.
CSharp11
,
1292
new CSharpParseOptions(LanguageVersion.
CSharp11
));
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForArrayTests.cs (1)
35
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForBuilderTests.cs (1)
84
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForCreateTests.cs (1)
77
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForFluentTests.cs (1)
39
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForStackAllocTests.cs (2)
38
LanguageVersion = LanguageVersion.
CSharp11
,
59
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests.cs (1)
26
LanguageVersion languageVersion = LanguageVersion.
CSharp11
)
src\Analyzers\CSharp\Tests\UseExplicitTupleName\UseExplicitTupleNameTests.cs (1)
299
LanguageVersion = LanguageVersion.
CSharp11
src\Analyzers\CSharp\Tests\UsePrimaryConstructor\UsePrimaryConstructorTests.cs (1)
57
LanguageVersion = LanguageVersion.
CSharp11
,
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
1791
InlineData(LanguageVersion.
CSharp11
, LanguageVersion.
CSharp11
),
1837
InlineData("11", true, LanguageVersion.
CSharp11
),
1838
InlineData("11.0", true, LanguageVersion.
CSharp11
),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (10)
CodeActions\InitializeParameter\AddParameterCheckTests.cs (7)
51
LanguageVersion = LanguageVersion.
CSharp11
,
244
[InlineData(LanguageVersion.
CSharp11
)]
290
[InlineData(LanguageVersion.
CSharp11
)]
1664
LanguageVersion = LanguageVersion.
CSharp11
,
1714
LanguageVersion = LanguageVersion.
CSharp11
,
1828
LanguageVersion = LanguageVersion.
CSharp11
,
2919
[InlineData(LanguageVersion.
CSharp11
)]
QuickInfo\SemanticQuickInfoSourceTests.cs (3)
9899
await TestWithOptionsAsync(Options.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
), source,
9914
await TestWithOptionsAsync(Options.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
), source,
9933
await TestWithOptionsAsync(Options.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
), source,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Attributes\AttributeTests_RefSafetyRules.cs (5)
82
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersion,
164
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
165
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
173
bool useUpdatedEscapeRulesA = languageVersionA == LanguageVersion.
CSharp11
;
182
Assert.Equal(languageVersionB == LanguageVersion.
CSharp11
, comp.SourceModule.UseUpdatedEscapeRules);
RefReadonlyParameterTests.cs (2)
3706
public void OverloadResolution_07([CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
3729
languageVersion == LanguageVersion.
CSharp11
Semantics\CollectionExpressionTests.cs (2)
134
[InlineData(LanguageVersion.
CSharp11
)]
151
if (languageVersion == LanguageVersion.
CSharp11
)
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UseNameofInNullableAttribute\CSharpUseNameofInNullableAttributeDiagnosticAnalyzer.cs (1)
47
if (context.Compilation.LanguageVersion() >= LanguageVersion.
CSharp11
)
src\Analyzers\CSharp\CodeFixes\MakeMemberRequired\CSharpMakeMemberRequiredCodeFixProvider.cs (1)
41
if (root.GetLanguageVersion() < LanguageVersion.
CSharp11
)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (67)
ConvertProgram\ConvertToProgramMainAnalyzerTests.cs (1)
660
LanguageVersion = LanguageVersion.
CSharp11
,
ConvertToInterpolatedString\ConvertConcatenationToInterpolatedStringTests.cs (1)
1410
LanguageVersion = LanguageVersion.
CSharp11
,
ConvertToRawString\ConvertInterpolatedStringToRawStringTests.cs (1)
30
LanguageVersion = LanguageVersion.
CSharp11
,
ConvertToRawString\ConvertRegularStringToRawStringTests.cs (1)
27
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\ConvertNamespace\ConvertToFileScopedNamespaceAnalyzerTests.cs (6)
1162
LanguageVersion = LanguageVersion.
CSharp11
,
1232
LanguageVersion = LanguageVersion.
CSharp11
,
1304
LanguageVersion = LanguageVersion.
CSharp11
,
1390
LanguageVersion = LanguageVersion.
CSharp11
,
1462
LanguageVersion = LanguageVersion.
CSharp11
,
1534
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\MakeMemberRequired\MakeMemberRequiredTests.cs (21)
138
LanguageVersion = LanguageVersion.
CSharp11
,
162
LanguageVersion = LanguageVersion.
CSharp11
,
186
LanguageVersion = LanguageVersion.
CSharp11
,
206
LanguageVersion = LanguageVersion.
CSharp11
,
239
LanguageVersion = LanguageVersion.
CSharp11
,
261
LanguageVersion = LanguageVersion.
CSharp11
,
288
LanguageVersion = LanguageVersion.
CSharp11
,
307
LanguageVersion = LanguageVersion.
CSharp11
,
334
LanguageVersion = LanguageVersion.
CSharp11
,
353
LanguageVersion = LanguageVersion.
CSharp11
,
379
LanguageVersion = LanguageVersion.
CSharp11
,
412
LanguageVersion = LanguageVersion.
CSharp11
,
434
LanguageVersion = LanguageVersion.
CSharp11
,
475
LanguageVersion = LanguageVersion.
CSharp11
,
495
LanguageVersion = LanguageVersion.
CSharp11
,
521
LanguageVersion = LanguageVersion.
CSharp11
,
547
LanguageVersion = LanguageVersion.
CSharp11
,
571
LanguageVersion = LanguageVersion.
CSharp11
,
595
LanguageVersion = LanguageVersion.
CSharp11
,
621
LanguageVersion = LanguageVersion.
CSharp11
,
645
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (3)
9955
LanguageVersion = LanguageVersion.
CSharp11
,
9997
LanguageVersion = LanguageVersion.
CSharp11
,
10039
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (11)
1102
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1113
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1124
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1135
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1146
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1157
new CSharpParseOptions(LanguageVersion.
CSharp11
));
1232
expected: LanguageVersion.
CSharp11
,
1246
expected: LanguageVersion.
CSharp11
,
1260
expected: LanguageVersion.
CSharp11
,
1274
expected: LanguageVersion.
CSharp11
,
1292
new CSharpParseOptions(LanguageVersion.
CSharp11
));
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForArrayTests.cs (1)
35
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForBuilderTests.cs (1)
84
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForCreateTests.cs (1)
77
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForFluentTests.cs (1)
39
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForStackAllocTests.cs (2)
38
LanguageVersion = LanguageVersion.
CSharp11
,
59
LanguageVersion = LanguageVersion.
CSharp11
,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests.cs (1)
26
LanguageVersion languageVersion = LanguageVersion.
CSharp11
)
src\Analyzers\CSharp\Tests\UseExplicitTupleName\UseExplicitTupleNameTests.cs (1)
299
LanguageVersion = LanguageVersion.
CSharp11
src\Analyzers\CSharp\Tests\UsePrimaryConstructor\UsePrimaryConstructorTests.cs (1)
57
LanguageVersion = LanguageVersion.
CSharp11
,
UseNameofInAttribute\UseNameofInAttributeTests.cs (13)
44
LanguageVersion = LanguageVersion.
CSharp11
,
72
LanguageVersion = LanguageVersion.
CSharp11
,
100
LanguageVersion = LanguageVersion.
CSharp11
,
128
LanguageVersion = LanguageVersion.
CSharp11
,
156
LanguageVersion = LanguageVersion.
CSharp11
,
198
LanguageVersion = LanguageVersion.
CSharp11
,
219
LanguageVersion = LanguageVersion.
CSharp11
,
240
LanguageVersion = LanguageVersion.
CSharp11
,
266
LanguageVersion = LanguageVersion.
CSharp11
,
312
LanguageVersion = LanguageVersion.
CSharp11
,
362
LanguageVersion = LanguageVersion.
CSharp11
,
388
LanguageVersion = LanguageVersion.
CSharp11
,
414
LanguageVersion = LanguageVersion.
CSharp11
,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (213)
Semantics\InterpolationTests.cs (4)
14912
[InlineData(LanguageVersion.
CSharp11
)]
15052
[InlineData(LanguageVersion.
CSharp11
)]
15129
[InlineData(LanguageVersion.
CSharp11
)]
15219
[InlineData(LanguageVersion.
CSharp11
)]
Semantics\LambdaTests.cs (2)
7143
[InlineData(LanguageVersion.
CSharp11
)]
8262
[InlineData(LanguageVersion.
CSharp11
)]
Semantics\NullableReferenceTypesTests.cs (3)
1222
[InlineData(LanguageVersion.
CSharp11
)]
1259
[InlineData(LanguageVersion.
CSharp11
)]
155367
[CombinatorialValues(LanguageVersion.CSharp9, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
Semantics\RecordStructTests.cs (1)
7953
[InlineData(LanguageVersion.
CSharp11
)]
Semantics\RefEscapingTests.cs (100)
125
[InlineData(LanguageVersion.
CSharp11
)]
171
[InlineData(LanguageVersion.
CSharp11
)]
202
[InlineData(LanguageVersion.
CSharp11
)]
251
[InlineData(LanguageVersion.
CSharp11
)]
532
[InlineData(LanguageVersion.
CSharp11
)]
578
[InlineData(LanguageVersion.
CSharp11
)]
624
[InlineData(LanguageVersion.
CSharp11
)]
685
[InlineData(LanguageVersion.
CSharp11
)]
716
[InlineData(LanguageVersion.
CSharp11
)]
816
[InlineData(LanguageVersion.
CSharp11
)]
973
[InlineData(LanguageVersion.
CSharp11
)]
1089
[InlineData(LanguageVersion.
CSharp11
)]
1144
[InlineData(LanguageVersion.
CSharp11
)]
1196
[InlineData(LanguageVersion.
CSharp11
)]
1248
[InlineData(LanguageVersion.
CSharp11
)]
1317
[InlineData(LanguageVersion.
CSharp11
)]
1430
[InlineData(LanguageVersion.
CSharp11
)]
1459
[InlineData(LanguageVersion.
CSharp11
)]
1500
[InlineData(LanguageVersion.
CSharp11
)]
1531
[InlineData(LanguageVersion.
CSharp11
)]
1594
[InlineData(LanguageVersion.
CSharp11
)]
1823
[InlineData(LanguageVersion.
CSharp11
)]
1876
[InlineData(LanguageVersion.
CSharp11
)]
1951
[InlineData(LanguageVersion.
CSharp11
)]
2004
[InlineData(LanguageVersion.
CSharp11
)]
2045
[InlineData(LanguageVersion.
CSharp11
)]
2341
[InlineData(LanguageVersion.
CSharp11
)]
2672
[InlineData(LanguageVersion.
CSharp11
)]
2916
""", options: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
));
2924
[InlineData(LanguageVersion.
CSharp11
)]
3039
""", TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
));
3174
[InlineData(LanguageVersion.
CSharp11
)]
3276
""", TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
));
3446
""", TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
));
3457
[InlineData(LanguageVersion.
CSharp11
)]
3522
[InlineData(LanguageVersion.
CSharp11
)]
3591
[InlineData(LanguageVersion.
CSharp11
)]
3665
[InlineData(LanguageVersion.
CSharp11
)]
3748
[InlineData(LanguageVersion.
CSharp11
)]
3827
""", TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
));
3992
""", TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
));
4131
[InlineData(LanguageVersion.
CSharp11
)]
4197
[InlineData(LanguageVersion.
CSharp11
)]
4292
[InlineData(LanguageVersion.
CSharp11
)]
4456
[InlineData(LanguageVersion.
CSharp11
)]
4502
[InlineData(LanguageVersion.
CSharp11
)]
4595
[InlineData(LanguageVersion.
CSharp11
)]
4688
[InlineData(LanguageVersion.
CSharp11
)]
4742
[InlineData(LanguageVersion.
CSharp11
)]
4797
[InlineData(LanguageVersion.
CSharp11
)]
4848
[InlineData(LanguageVersion.
CSharp11
)]
4922
[InlineData(LanguageVersion.
CSharp11
)]
4968
[InlineData(LanguageVersion.
CSharp11
)]
4992
[InlineData(LanguageVersion.
CSharp11
)]
5016
[InlineData(LanguageVersion.
CSharp11
)]
5066
[InlineData(LanguageVersion.
CSharp11
)]
5116
[InlineData(LanguageVersion.
CSharp11
)]
5166
[InlineData(LanguageVersion.
CSharp11
)]
5195
[InlineData(LanguageVersion.
CSharp11
)]
5250
[InlineData(LanguageVersion.
CSharp11
)]
5298
[InlineData(LanguageVersion.
CSharp11
)]
5337
[InlineData(LanguageVersion.
CSharp11
)]
5391
[InlineData(LanguageVersion.
CSharp11
)]
5423
[InlineData(LanguageVersion.
CSharp11
)]
5451
[InlineData(LanguageVersion.
CSharp11
)]
5479
[InlineData(LanguageVersion.
CSharp11
)]
5531
[InlineData(LanguageVersion.
CSharp11
)]
5566
[InlineData(LanguageVersion.
CSharp11
)]
5601
[InlineData(LanguageVersion.
CSharp11
)]
5645
[InlineData(LanguageVersion.
CSharp11
)]
5744
[InlineData(LanguageVersion.
CSharp11
)]
5844
[InlineData(LanguageVersion.
CSharp11
)]
5916
[InlineData(LanguageVersion.
CSharp11
)]
5949
[InlineData(LanguageVersion.
CSharp11
)]
5987
[InlineData(LanguageVersion.
CSharp11
)]
6023
[InlineData(LanguageVersion.
CSharp11
)]
6065
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersion,
6102
[InlineData(LanguageVersion.
CSharp11
)]
6134
[InlineData(LanguageVersion.
CSharp11
)]
6162
[InlineData(LanguageVersion.
CSharp11
)]
6205
[InlineData(LanguageVersion.
CSharp11
)]
6234
[InlineData(LanguageVersion.
CSharp11
)]
6259
[InlineData(LanguageVersion.
CSharp11
)]
6359
[InlineData(LanguageVersion.
CSharp11
)]
6401
else if (languageVersion == LanguageVersion.
CSharp11
)
6466
[InlineData(LanguageVersion.
CSharp11
)]
6493
[InlineData(LanguageVersion.
CSharp11
)]
6520
[InlineData(LanguageVersion.
CSharp11
)]
6549
[InlineData(LanguageVersion.
CSharp11
)]
6573
[InlineData(LanguageVersion.
CSharp11
)]
6603
[InlineData(LanguageVersion.
CSharp11
)]
6630
[InlineData(LanguageVersion.
CSharp11
)]
6657
[InlineData(LanguageVersion.
CSharp11
)]
6686
[InlineData(LanguageVersion.
CSharp11
)]
6713
[InlineData(LanguageVersion.
CSharp11
)]
6730
[InlineData(LanguageVersion.
CSharp11
)]
6748
[InlineData(LanguageVersion.
CSharp11
)]
6808
[InlineData(LanguageVersion.
CSharp11
)]
9730
[InlineData(LanguageVersion.
CSharp11
)]
9841
""", TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
));
Semantics\RefFieldTests.cs (94)
2276
[InlineData(LanguageVersion.
CSharp11
)]
4917
[InlineData(LanguageVersion.
CSharp11
)]
4943
[InlineData(LanguageVersion.
CSharp11
)]
5046
[InlineData(LanguageVersion.
CSharp11
)]
9110
[InlineData(LanguageVersion.
CSharp11
)]
9150
[InlineData(LanguageVersion.
CSharp11
)]
9173
[InlineData(LanguageVersion.
CSharp11
)]
9196
[InlineData(LanguageVersion.
CSharp11
)]
9240
[InlineData(LanguageVersion.
CSharp11
)]
9283
[InlineData(LanguageVersion.
CSharp11
)]
9329
[InlineData(LanguageVersion.
CSharp11
)]
9351
[InlineData(LanguageVersion.
CSharp11
)]
9401
[InlineData(LanguageVersion.
CSharp11
)]
9428
[InlineData(LanguageVersion.
CSharp11
)]
9488
[InlineData(LanguageVersion.
CSharp11
)]
9533
[InlineData(LanguageVersion.
CSharp11
)]
9578
[InlineData(LanguageVersion.
CSharp11
)]
9642
[InlineData(LanguageVersion.
CSharp11
)]
9724
[InlineData(LanguageVersion.
CSharp11
)]
9774
[InlineData(LanguageVersion.
CSharp11
)]
10116
[InlineData(LanguageVersion.
CSharp11
)]
10144
[InlineData(LanguageVersion.
CSharp11
)]
10297
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersion,
10341
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersion,
10391
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersion,
10442
[InlineData(LanguageVersion.
CSharp11
)]
10610
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
10611
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
10640
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
10641
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
10673
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
10674
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
10730
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
10731
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
10788
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
10789
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
10831
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
10832
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
11513
[InlineData(LanguageVersion.
CSharp11
)]
11568
bool useUpdatedEscapeRules = languageVersion == LanguageVersion.
CSharp11
;
11628
[InlineData(LanguageVersion.
CSharp11
)]
11662
[InlineData(LanguageVersion.
CSharp11
)]
11703
[InlineData(LanguageVersion.
CSharp11
)]
11785
var comp = CreateCompilation(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp11
));
11893
[InlineData(LanguageVersion.
CSharp11
)]
13322
[InlineData(LanguageVersion.
CSharp11
)]
13345
[InlineData(LanguageVersion.
CSharp11
)]
13370
[InlineData(LanguageVersion.
CSharp11
)]
13390
[InlineData(LanguageVersion.
CSharp11
)]
14634
[InlineData(LanguageVersion.
CSharp11
)]
14906
[InlineData(LanguageVersion.
CSharp11
)]
15065
[InlineData(LanguageVersion.
CSharp11
)]
16881
[InlineData(LanguageVersion.
CSharp11
)]
19990
[InlineData(LanguageVersion.
CSharp11
)]
20050
[InlineData(LanguageVersion.
CSharp11
)]
20219
[InlineData(LanguageVersion.
CSharp11
)]
20241
[InlineData(LanguageVersion.
CSharp11
)]
24642
[InlineData(LanguageVersion.
CSharp11
)]
24666
bool useUpdatedRules = languageVersion == LanguageVersion.
CSharp11
;
24678
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
24679
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
24709
bool useUpdatedRules = languageVersionA == LanguageVersion.
CSharp11
;
24720
[InlineData(LanguageVersion.
CSharp11
)]
24743
bool useUpdatedRules = languageVersion == LanguageVersion.
CSharp11
;
24770
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
24771
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
24793
bool useUpdatedRules = languageVersionA == LanguageVersion.
CSharp11
;
24807
[InlineData(LanguageVersion.
CSharp11
)]
24828
if (languageVersion == LanguageVersion.
CSharp11
)
24867
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
24868
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
24898
if (languageVersionA == LanguageVersion.
CSharp11
&&
24918
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
24919
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
24957
if (languageVersionA == LanguageVersion.
CSharp11
&&
25011
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
25047
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
25048
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
25084
if (languageVersionA == LanguageVersion.
CSharp11
&&
25181
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
25249
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionA,
25364
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
25418
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersionB,
26519
[InlineData(LanguageVersion.
CSharp11
, TargetFramework.Net60, false, true)]
26522
[InlineData(LanguageVersion.
CSharp11
, TargetFramework.Net70, true, true)]
26568
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersion,
26615
Assert.Equal(languageVersion == LanguageVersion.
CSharp11
, module.UseUpdatedEscapeRules);
26625
[CombinatorialValues(LanguageVersion.CSharp10, LanguageVersion.
CSharp11
)] LanguageVersion languageVersion,
26667
Assert.Equal(languageVersion == LanguageVersion.
CSharp11
, module.UseUpdatedEscapeRules);
26668
Assert.Equal(languageVersion == LanguageVersion.
CSharp11
, ((SourceModuleSymbol)module).RequiresRefSafetyRulesAttribute());
26681
Assert.Equal(languageVersion == LanguageVersion.
CSharp11
, module.UseUpdatedEscapeRules);
29746
[InlineData(LanguageVersion.
CSharp11
)]
29801
[InlineData(LanguageVersion.
CSharp11
)]
30059
[InlineData(LanguageVersion.
CSharp11
)]
Semantics\RefLocalsAndReturnsTests.cs (3)
567
[InlineData(LanguageVersion.
CSharp11
)]
4937
[InlineData(LanguageVersion.
CSharp11
)]
4977
[InlineData(LanguageVersion.
CSharp11
)]
Semantics\SpanStackSafetyTests.cs (3)
2176
[InlineData(LanguageVersion.
CSharp11
)]
2211
[InlineData(LanguageVersion.
CSharp11
)]
2336
[InlineData(LanguageVersion.
CSharp11
)]
Semantics\StructConstructorTests.cs (3)
4161
[InlineData(LanguageVersion.
CSharp11
)]
4728
[InlineData(LanguageVersion.
CSharp11
)]
4759
[InlineData(LanguageVersion.
CSharp11
)]
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (266)
Diagnostics\DiagnosticTest.cs (1)
120
verifyWithSeverity(new LazyUseSiteDiagnosticsInfoForNullableType(LanguageVersion.
CSharp11
, type));
Parsing\CollectionExpressionParsingTests.cs (1)
18
[InlineData(LanguageVersion.
CSharp11
)]
Parsing\CrefParsingTests.cs (6)
1467
[CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
1494
[CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
1521
[CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
1556
[CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
1591
[CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
1630
[CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
Parsing\DeclarationScopeParsingTests.cs (225)
20
[InlineData(LanguageVersion.
CSharp11
)]
67
[InlineData(LanguageVersion.
CSharp11
)]
138
[InlineData(LanguageVersion.
CSharp11
)]
306
[InlineData(LanguageVersion.
CSharp11
)]
425
[InlineData(LanguageVersion.
CSharp11
)]
594
[InlineData(LanguageVersion.
CSharp11
)]
679
[InlineData(LanguageVersion.
CSharp11
)]
742
[InlineData(LanguageVersion.
CSharp11
)]
796
[InlineData(LanguageVersion.
CSharp11
)]
836
[InlineData(LanguageVersion.
CSharp11
)]
891
[InlineData(LanguageVersion.
CSharp11
)]
933
[InlineData(LanguageVersion.
CSharp11
)]
999
[InlineData(LanguageVersion.
CSharp11
)]
1033
[InlineData(LanguageVersion.
CSharp11
)]
1063
[InlineData(LanguageVersion.
CSharp11
)]
1093
[InlineData(LanguageVersion.
CSharp11
)]
1194
[InlineData(LanguageVersion.
CSharp11
)]
1262
[InlineData(LanguageVersion.
CSharp11
)]
1395
[InlineData(LanguageVersion.
CSharp11
)]
1532
[InlineData(LanguageVersion.
CSharp11
)]
1600
[InlineData(LanguageVersion.
CSharp11
)]
1717
[InlineData(LanguageVersion.
CSharp11
)]
1849
[InlineData(LanguageVersion.
CSharp11
)]
1915
[InlineData(LanguageVersion.
CSharp11
)]
1965
[InlineData(LanguageVersion.
CSharp11
)]
2009
[InlineData(LanguageVersion.
CSharp11
)]
2084
[InlineData(LanguageVersion.
CSharp11
)]
2142
[InlineData(LanguageVersion.
CSharp11
)]
2166
[InlineData(LanguageVersion.
CSharp11
)]
2190
[InlineData(LanguageVersion.
CSharp11
)]
2296
[InlineData(LanguageVersion.
CSharp11
)]
2402
[InlineData(LanguageVersion.
CSharp11
)]
2496
[InlineData(LanguageVersion.
CSharp11
)]
2543
[InlineData(LanguageVersion.
CSharp11
)]
2613
[InlineData(LanguageVersion.
CSharp11
)]
2679
[InlineData(LanguageVersion.
CSharp11
)]
2722
[InlineData(LanguageVersion.
CSharp11
)]
2766
[InlineData(LanguageVersion.
CSharp11
)]
2841
[InlineData(LanguageVersion.
CSharp11
)]
3012
[InlineData(LanguageVersion.
CSharp11
)]
3159
[InlineData(LanguageVersion.
CSharp11
)]
3251
[InlineData(LanguageVersion.
CSharp11
)]
3289
else if (langVersion == LanguageVersion.
CSharp11
)
3481
[InlineData(LanguageVersion.
CSharp11
)]
3548
[InlineData(LanguageVersion.
CSharp11
)]
3619
[InlineData(LanguageVersion.
CSharp11
)]
3695
[InlineData(LanguageVersion.
CSharp11
)]
3771
[InlineData(LanguageVersion.
CSharp11
)]
3843
[InlineData(LanguageVersion.
CSharp11
)]
3930
[InlineData(LanguageVersion.
CSharp11
)]
4010
[InlineData(LanguageVersion.
CSharp11
)]
4081
[InlineData(LanguageVersion.
CSharp11
)]
4150
[InlineData(LanguageVersion.
CSharp11
)]
4225
[InlineData(LanguageVersion.
CSharp11
)]
4298
[InlineData(LanguageVersion.
CSharp11
)]
4374
[InlineData(LanguageVersion.
CSharp11
)]
4448
[InlineData(LanguageVersion.
CSharp11
)]
4519
[InlineData(LanguageVersion.
CSharp11
)]
4594
[InlineData(LanguageVersion.
CSharp11
)]
4670
[InlineData(LanguageVersion.
CSharp11
)]
4745
[InlineData(LanguageVersion.
CSharp11
)]
4816
[InlineData(LanguageVersion.
CSharp11
)]
4887
[InlineData(LanguageVersion.
CSharp11
)]
4962
[InlineData(LanguageVersion.
CSharp11
)]
5038
[InlineData(LanguageVersion.
CSharp11
)]
5105
[InlineData(LanguageVersion.
CSharp11
)]
5176
[InlineData(LanguageVersion.
CSharp11
)]
5249
[InlineData(LanguageVersion.
CSharp11
)]
5322
[InlineData(LanguageVersion.
CSharp11
)]
5406
[InlineData(LanguageVersion.
CSharp11
)]
5475
[InlineData(LanguageVersion.
CSharp11
)]
5545
[InlineData(LanguageVersion.
CSharp11
)]
5624
[InlineData(LanguageVersion.
CSharp11
)]
5695
[InlineData(LanguageVersion.
CSharp11
)]
5774
[InlineData(LanguageVersion.
CSharp11
)]
5895
[InlineData(LanguageVersion.
CSharp11
)]
5947
[InlineData(LanguageVersion.
CSharp11
)]
6003
[InlineData(LanguageVersion.
CSharp11
)]
6081
[InlineData(LanguageVersion.
CSharp11
)]
6149
[InlineData(LanguageVersion.
CSharp11
)]
6206
[InlineData(LanguageVersion.
CSharp11
)]
6296
[InlineData(LanguageVersion.
CSharp11
)]
6379
[InlineData(LanguageVersion.
CSharp11
)]
6435
[InlineData(LanguageVersion.
CSharp11
)]
6506
[InlineData(LanguageVersion.
CSharp11
)]
6566
[InlineData(LanguageVersion.
CSharp11
)]
6638
[InlineData(LanguageVersion.
CSharp11
)]
6699
[InlineData(LanguageVersion.
CSharp11
)]
6790
[InlineData(LanguageVersion.
CSharp11
)]
6846
[InlineData(LanguageVersion.
CSharp11
)]
6906
[InlineData(LanguageVersion.
CSharp11
)]
6967
[InlineData(LanguageVersion.
CSharp11
)]
7027
[InlineData(LanguageVersion.
CSharp11
)]
7083
[InlineData(LanguageVersion.
CSharp11
)]
7139
[InlineData(LanguageVersion.
CSharp11
)]
7199
[InlineData(LanguageVersion.
CSharp11
)]
7260
[InlineData(LanguageVersion.
CSharp11
)]
7312
[InlineData(LanguageVersion.
CSharp11
)]
7368
[InlineData(LanguageVersion.
CSharp11
)]
7446
[InlineData(LanguageVersion.
CSharp11
)]
7514
[InlineData(LanguageVersion.
CSharp11
)]
7586
[InlineData(LanguageVersion.
CSharp11
)]
7656
[InlineData(LanguageVersion.
CSharp11
)]
7727
[InlineData(LanguageVersion.
CSharp11
)]
7799
[InlineData(LanguageVersion.
CSharp11
)]
7866
[InlineData(LanguageVersion.
CSharp11
)]
7934
[InlineData(LanguageVersion.
CSharp11
)]
7990
[InlineData(LanguageVersion.
CSharp11
)]
8042
[InlineData(LanguageVersion.
CSharp11
)]
8081
[InlineData(LanguageVersion.
CSharp11
)]
8149
[InlineData(LanguageVersion.
CSharp11
)]
8183
[InlineData(LanguageVersion.
CSharp11
)]
8246
[InlineData(LanguageVersion.
CSharp11
)]
8313
[InlineData(LanguageVersion.
CSharp11
)]
8351
[InlineData(LanguageVersion.
CSharp11
)]
8388
[InlineData(LanguageVersion.
CSharp11
)]
8429
[InlineData(LanguageVersion.
CSharp11
)]
8477
[InlineData(LanguageVersion.
CSharp11
)]
8522
[InlineData(LanguageVersion.
CSharp11
)]
8564
[InlineData(LanguageVersion.
CSharp11
)]
8613
[InlineData(LanguageVersion.
CSharp11
)]
8661
[InlineData(LanguageVersion.
CSharp11
)]
8702
[InlineData(LanguageVersion.
CSharp11
)]
8752
[InlineData(LanguageVersion.
CSharp11
)]
8797
[InlineData(LanguageVersion.
CSharp11
)]
8854
[InlineData(LanguageVersion.
CSharp11
)]
8900
[InlineData(LanguageVersion.
CSharp11
)]
8971
[InlineData(LanguageVersion.
CSharp11
)]
9012
[InlineData(LanguageVersion.
CSharp11
)]
9057
[InlineData(LanguageVersion.
CSharp11
)]
9103
[InlineData(LanguageVersion.
CSharp11
)]
9148
[InlineData(LanguageVersion.
CSharp11
)]
9189
[InlineData(LanguageVersion.
CSharp11
)]
9238
[InlineData(LanguageVersion.
CSharp11
)]
9279
[InlineData(LanguageVersion.
CSharp11
)]
9325
[InlineData(LanguageVersion.
CSharp11
)]
9371
[InlineData(LanguageVersion.
CSharp11
)]
9408
[InlineData(LanguageVersion.
CSharp11
)]
9449
[InlineData(LanguageVersion.
CSharp11
)]
9490
[InlineData(LanguageVersion.
CSharp11
)]
9535
[InlineData(LanguageVersion.
CSharp11
)]
9583
[InlineData(LanguageVersion.
CSharp11
)]
9654
[InlineData(LanguageVersion.
CSharp11
)]
9688
[InlineData(LanguageVersion.
CSharp11
)]
9726
[InlineData(LanguageVersion.
CSharp11
)]
9789
[InlineData(LanguageVersion.
CSharp11
)]
9828
[InlineData(LanguageVersion.
CSharp11
)]
9905
[InlineData(LanguageVersion.
CSharp11
)]
9975
[InlineData(LanguageVersion.
CSharp11
)]
10013
[InlineData(LanguageVersion.
CSharp11
)]
10069
[InlineData(LanguageVersion.
CSharp11
)]
10111
[InlineData(LanguageVersion.
CSharp11
)]
10174
[InlineData(LanguageVersion.
CSharp11
)]
10217
[InlineData(LanguageVersion.
CSharp11
)]
10287
[InlineData(LanguageVersion.
CSharp11
)]
10325
[InlineData(LanguageVersion.
CSharp11
)]
10367
[InlineData(LanguageVersion.
CSharp11
)]
10410
[InlineData(LanguageVersion.
CSharp11
)]
10452
[InlineData(LanguageVersion.
CSharp11
)]
10490
[InlineData(LanguageVersion.
CSharp11
)]
10528
[InlineData(LanguageVersion.
CSharp11
)]
10570
[InlineData(LanguageVersion.
CSharp11
)]
10613
[InlineData(LanguageVersion.
CSharp11
)]
10647
[InlineData(LanguageVersion.
CSharp11
)]
10685
[InlineData(LanguageVersion.
CSharp11
)]
10739
[InlineData(LanguageVersion.
CSharp11
)]
10797
[InlineData(LanguageVersion.
CSharp11
)]
10867
[InlineData(LanguageVersion.
CSharp11
)]
10955
[InlineData(LanguageVersion.
CSharp11
)]
11009
[InlineData(LanguageVersion.
CSharp11
)]
11110
[InlineData(LanguageVersion.
CSharp11
)]
11352
[InlineData(LanguageVersion.
CSharp11
)]
11384
[InlineData(LanguageVersion.
CSharp11
)]
11472
[InlineData(LanguageVersion.
CSharp11
)]
11508
[InlineData(LanguageVersion.
CSharp11
)]
11598
[InlineData(LanguageVersion.
CSharp11
)]
11678
[InlineData(LanguageVersion.
CSharp11
)]
11733
[InlineData(LanguageVersion.
CSharp11
)]
11793
[InlineData(LanguageVersion.
CSharp11
)]
11833
[InlineData(LanguageVersion.
CSharp11
)]
11888
[InlineData(LanguageVersion.
CSharp11
)]
11979
[InlineData(LanguageVersion.
CSharp11
)]
12020
[InlineData(LanguageVersion.
CSharp11
)]
12076
[InlineData(LanguageVersion.
CSharp11
)]
12120
[InlineData(LanguageVersion.
CSharp11
)]
12165
[InlineData(LanguageVersion.
CSharp11
)]
12207
[InlineData(LanguageVersion.
CSharp11
)]
12253
[InlineData(LanguageVersion.
CSharp11
)]
12312
[InlineData(LanguageVersion.
CSharp11
)]
12379
[InlineData(LanguageVersion.
CSharp11
)]
12426
[InlineData(LanguageVersion.
CSharp11
)]
12496
[InlineData(LanguageVersion.
CSharp11
)]
12559
[InlineData(LanguageVersion.
CSharp11
)]
12605
[InlineData(LanguageVersion.
CSharp11
)]
12657
[InlineData(LanguageVersion.
CSharp11
)]
12707
[InlineData(LanguageVersion.
CSharp11
)]
12763
[InlineData(LanguageVersion.
CSharp11
)]
12814
[InlineData(LanguageVersion.
CSharp11
)]
12871
[InlineData(LanguageVersion.
CSharp11
)]
12917
[InlineData(LanguageVersion.
CSharp11
)]
12967
[InlineData(LanguageVersion.
CSharp11
)]
13018
[InlineData(LanguageVersion.
CSharp11
)]
13068
[InlineData(LanguageVersion.
CSharp11
)]
13114
[InlineData(LanguageVersion.
CSharp11
)]
13168
[InlineData(LanguageVersion.
CSharp11
)]
13214
[InlineData(LanguageVersion.
CSharp11
)]
13264
[InlineData(LanguageVersion.
CSharp11
)]
13315
[InlineData(LanguageVersion.
CSharp11
)]
13357
[InlineData(LanguageVersion.
CSharp11
)]
13403
[InlineData(LanguageVersion.
CSharp11
)]
13462
[InlineData(LanguageVersion.
CSharp11
)]
13529
[InlineData(LanguageVersion.
CSharp11
)]
13581
[InlineData(LanguageVersion.
CSharp11
)]
13651
[InlineData(LanguageVersion.
CSharp11
)]
13725
[InlineData(LanguageVersion.
CSharp11
)]
13835
[InlineData(LanguageVersion.
CSharp11
)]
13952
[InlineData(LanguageVersion.
CSharp11
)]
14011
[InlineData(LanguageVersion.
CSharp11
)]
14075
[InlineData(LanguageVersion.
CSharp11
)]
14143
[InlineData(LanguageVersion.
CSharp11
)]
14217
[InlineData(LanguageVersion.
CSharp11
)]
14264
[InlineData(LanguageVersion.
CSharp11
)]
14351
[InlineData(LanguageVersion.
CSharp11
)]
14407
[InlineData(LanguageVersion.
CSharp11
)]
14475
[InlineData(LanguageVersion.
CSharp11
)]
Parsing\FileModifierParsingTests.cs (4)
1519
[InlineData(LanguageVersion.
CSharp11
)]
3138
[InlineData(LanguageVersion.
CSharp11
)]
3182
[InlineData(LanguageVersion.
CSharp11
)]
3222
[InlineData(LanguageVersion.
CSharp11
)]
Parsing\LambdaParameterParsingTests.cs (3)
5148
[InlineData(LanguageVersion.
CSharp11
)]
5178
[InlineData(LanguageVersion.
CSharp11
)]
5206
[InlineData(LanguageVersion.
CSharp11
)]
Parsing\RefFieldParsingTests.cs (23)
20
[InlineData(LanguageVersion.
CSharp11
)]
57
[InlineData(LanguageVersion.
CSharp11
)]
95
[InlineData(LanguageVersion.
CSharp11
)]
131
[InlineData(LanguageVersion.
CSharp11
)]
168
[InlineData(LanguageVersion.
CSharp11
)]
226
[InlineData(LanguageVersion.
CSharp11
)]
288
[InlineData(LanguageVersion.
CSharp11
)]
348
[InlineData(LanguageVersion.
CSharp11
)]
401
[InlineData(LanguageVersion.
CSharp11
)]
463
[InlineData(LanguageVersion.
CSharp11
)]
546
[InlineData(LanguageVersion.
CSharp11
)]
649
[InlineData(LanguageVersion.
CSharp11
)]
695
[InlineData(LanguageVersion.
CSharp11
)]
735
[InlineData(LanguageVersion.
CSharp11
)]
779
[InlineData(LanguageVersion.
CSharp11
)]
844
[InlineData(LanguageVersion.
CSharp11
)]
876
[InlineData(LanguageVersion.
CSharp11
)]
927
[InlineData(LanguageVersion.
CSharp11
)]
981
[InlineData(LanguageVersion.
CSharp11
)]
1012
[InlineData(LanguageVersion.
CSharp11
)]
1051
[InlineData(LanguageVersion.
CSharp11
)]
1090
[InlineData(LanguageVersion.
CSharp11
)]
1137
[InlineData(LanguageVersion.
CSharp11
)]
Parsing\RefReadonlyTests.cs (3)
1317
[CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
1381
[CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
1413
[CombinatorialValues(LanguageVersion.
CSharp11
, LanguageVersion.CSharp12, LanguageVersion.Preview)] LanguageVersion languageVersion)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
TestOptions.cs (1)
43
public static readonly CSharpParseOptions Regular11 = Regular.WithLanguageVersion(LanguageVersion.
CSharp11
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\LanguageVersionExtensions.cs (1)
19
=> languageVersion >= LanguageVersion.
CSharp11
;
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (1)
12013
languageVersion:=LanguageVersion.
CSharp11
)
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
18
IsLangVersion11AndAbove = ((CSharpCompilation)compilation).LanguageVersion >= Microsoft.CodeAnalysis.CSharp.LanguageVersion.
CSharp11
;
System.Text.RegularExpressions.Generator (2)
RegexGenerator.cs (1)
298
if (languageVersion < LanguageVersion.
CSharp11
)
RegexGenerator.Emitter.cs (1)
94
if (langVer >= LanguageVersion.
CSharp11
)