1488 references to CSharp12
Microsoft.CodeAnalysis.CSharp (6)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
1304
(binder.Compilation.LanguageVersion > LanguageVersion.
CSharp12
|| member.ContainingModule == binder.Compilation.SourceModule)))
Errors\MessageID.cs (1)
502
return LanguageVersion.
CSharp12
;
LanguageVersion.cs (4)
292
case LanguageVersion.
CSharp12
:
333
case LanguageVersion.
CSharp12
:
406
case LanguageVersion.
CSharp12
:
523
result = LanguageVersion.
CSharp12
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\LanguageVersionExtensions.cs (1)
13
=> languageVersion >= LanguageVersion.
CSharp12
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (636)
src\Analyzers\CSharp\Tests\AddAccessibilityModifiers\AddAccessibilityModifiersTests.cs (8)
231
LanguageVersion = LanguageVersion.
CSharp12
,
598
LanguageVersion = LanguageVersion.
CSharp12
,
626
LanguageVersion = LanguageVersion.
CSharp12
,
649
LanguageVersion = LanguageVersion.
CSharp12
,
662
LanguageVersion = LanguageVersion.
CSharp12
,
694
LanguageVersion = LanguageVersion.
CSharp12
,
718
LanguageVersion = LanguageVersion.
CSharp12
,
745
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\AddParameter\AddParameterTests.cs (2)
2941
""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp12
));
2983
""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp12
));
src\Analyzers\CSharp\Tests\ConvertNamespace\ConvertToFileScopedNamespaceAnalyzerTests.cs (3)
726
LanguageVersion = LanguageVersion.
CSharp12
,
781
LanguageVersion = LanguageVersion.
CSharp12
,
836
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\GenerateDefaultConstructors\GenerateDefaultConstructorsTests.cs (1)
960
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (26)
73
LanguageVersion = LanguageVersion.
CSharp12
,
108
LanguageVersion = LanguageVersion.
CSharp12
,
147
LanguageVersion = LanguageVersion.
CSharp12
,
10453
LanguageVersion = LanguageVersion.
CSharp12
,
10486
LanguageVersion = LanguageVersion.
CSharp12
,
10519
LanguageVersion = LanguageVersion.
CSharp12
,
10552
LanguageVersion = LanguageVersion.
CSharp12
,
10589
LanguageVersion = LanguageVersion.
CSharp12
,
10979
LanguageVersion = LanguageVersion.
CSharp12
,
11016
LanguageVersion = LanguageVersion.
CSharp12
,
11053
LanguageVersion = LanguageVersion.
CSharp12
,
11090
LanguageVersion = LanguageVersion.
CSharp12
,
11125
LanguageVersion = LanguageVersion.
CSharp12
,
11160
LanguageVersion = LanguageVersion.
CSharp12
,
11202
LanguageVersion = LanguageVersion.
CSharp12
,
11237
LanguageVersion = LanguageVersion.
CSharp12
,
11272
LanguageVersion = LanguageVersion.
CSharp12
,
11308
LanguageVersion = LanguageVersion.
CSharp12
,
11344
LanguageVersion = LanguageVersion.
CSharp12
,
11380
LanguageVersion = LanguageVersion.
CSharp12
,
11416
LanguageVersion = LanguageVersion.
CSharp12
,
11452
LanguageVersion = LanguageVersion.
CSharp12
,
11488
LanguageVersion = LanguageVersion.
CSharp12
,
11564
LanguageVersion = LanguageVersion.
CSharp12
,
11640
LanguageVersion = LanguageVersion.
CSharp12
,
11794
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\MakeRefStruct\MakeRefStructTests.cs (1)
75
await TestMissingInRegularAndScriptAsync(text, new TestParameters(CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
)));
src\Analyzers\CSharp\Tests\MakeStructMemberReadOnly\MakeStructMemberReadOnlyTests.cs (32)
1436
LanguageVersion = LanguageVersion.
CSharp12
,
1470
LanguageVersion = LanguageVersion.
CSharp12
,
1504
LanguageVersion = LanguageVersion.
CSharp12
,
1562
LanguageVersion = LanguageVersion.
CSharp12
,
1620
LanguageVersion = LanguageVersion.
CSharp12
,
1678
LanguageVersion = LanguageVersion.
CSharp12
,
1736
LanguageVersion = LanguageVersion.
CSharp12
,
1756
LanguageVersion = LanguageVersion.
CSharp12
,
1776
LanguageVersion = LanguageVersion.
CSharp12
,
1796
LanguageVersion = LanguageVersion.
CSharp12
,
1819
LanguageVersion = LanguageVersion.
CSharp12
,
1842
LanguageVersion = LanguageVersion.
CSharp12
,
1867
LanguageVersion = LanguageVersion.
CSharp12
,
1908
LanguageVersion = LanguageVersion.
CSharp12
,
1935
LanguageVersion = LanguageVersion.
CSharp12
,
1953
LanguageVersion = LanguageVersion.
CSharp12
,
1994
LanguageVersion = LanguageVersion.
CSharp12
,
2035
LanguageVersion = LanguageVersion.
CSharp12
,
2066
LanguageVersion = LanguageVersion.
CSharp12
,
2086
LanguageVersion = LanguageVersion.
CSharp12
,
2106
LanguageVersion = LanguageVersion.
CSharp12
,
2133
LanguageVersion = LanguageVersion.
CSharp12
,
2177
LanguageVersion = LanguageVersion.
CSharp12
,
2204
LanguageVersion = LanguageVersion.
CSharp12
,
2244
LanguageVersion = LanguageVersion.
CSharp12
,
2292
LanguageVersion = LanguageVersion.
CSharp12
,
2342
LanguageVersion = LanguageVersion.
CSharp12
,
2392
LanguageVersion = LanguageVersion.
CSharp12
,
2452
LanguageVersion = LanguageVersion.
CSharp12
,
2488
LanguageVersion = LanguageVersion.
CSharp12
,
2518
LanguageVersion = LanguageVersion.
CSharp12
,
2548
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\MakeStructReadOnly\MakeStructReadOnlyTests.cs (3)
23
private static Task TestMissingAsync(string testCode, LanguageVersion version = LanguageVersion.
CSharp12
)
26
private static async Task TestAsync(string testCode, string fixedCode, LanguageVersion version = LanguageVersion.
CSharp12
)
450
LanguageVersion.
CSharp12
);
src\Analyzers\CSharp\Tests\RemoveUnnecessaryCast\RemoveUnnecessaryCastTests.cs (11)
13635
LanguageVersion = LanguageVersion.
CSharp12
,
13653
LanguageVersion = LanguageVersion.
CSharp12
,
13678
LanguageVersion = LanguageVersion.
CSharp12
,
13705
LanguageVersion = LanguageVersion.
CSharp12
,
13738
LanguageVersion = LanguageVersion.
CSharp12
,
13761
LanguageVersion = LanguageVersion.
CSharp12
,
13791
LanguageVersion = LanguageVersion.
CSharp12
,
13835
LanguageVersion = LanguageVersion.
CSharp12
,
13872
LanguageVersion = LanguageVersion.
CSharp12
,
13950
LanguageVersion = LanguageVersion.
CSharp12
,
13990
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\RemoveUnnecessaryLambdaExpression\RemoveUnnecessaryLambdaExpressionTests.cs (3)
27
LanguageVersion version = LanguageVersion.
CSharp12
,
44
LanguageVersion version = LanguageVersion.
CSharp12
,
123
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (1)
10071
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (7)
1101
LanguageVersion.
CSharp12
,
1112
LanguageVersion.
CSharp12
,
1123
LanguageVersion.
CSharp12
,
1134
LanguageVersion.
CSharp12
,
1145
LanguageVersion.
CSharp12
,
1156
LanguageVersion.
CSharp12
,
1291
expected: LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests.cs (1)
24
private readonly ParseOptions CSharp12 = CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
);
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForArrayTests.cs (23)
56
LanguageVersion = LanguageVersion.
CSharp12
,
77
LanguageVersion = LanguageVersion.
CSharp12
,
98
LanguageVersion = LanguageVersion.
CSharp12
,
123
LanguageVersion = LanguageVersion.
CSharp12
,
148
LanguageVersion = LanguageVersion.
CSharp12
,
169
LanguageVersion = LanguageVersion.
CSharp12
,
190
LanguageVersion = LanguageVersion.
CSharp12
,
205
LanguageVersion = LanguageVersion.
CSharp12
,
230
LanguageVersion = LanguageVersion.
CSharp12
,
251
LanguageVersion = LanguageVersion.
CSharp12
,
278
LanguageVersion = LanguageVersion.
CSharp12
,
299
LanguageVersion = LanguageVersion.
CSharp12
,
320
LanguageVersion = LanguageVersion.
CSharp12
,
341
LanguageVersion = LanguageVersion.
CSharp12
,
356
LanguageVersion = LanguageVersion.
CSharp12
,
371
LanguageVersion = LanguageVersion.
CSharp12
,
386
LanguageVersion = LanguageVersion.
CSharp12
,
407
LanguageVersion = LanguageVersion.
CSharp12
,
422
LanguageVersion = LanguageVersion.
CSharp12
,
447
LanguageVersion = LanguageVersion.
CSharp12
,
474
LanguageVersion = LanguageVersion.
CSharp12
,
489
LanguageVersion = LanguageVersion.
CSharp12
,
510
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForBuilderTests.cs (43)
107
LanguageVersion = LanguageVersion.
CSharp12
,
141
LanguageVersion = LanguageVersion.
CSharp12
,
175
LanguageVersion = LanguageVersion.
CSharp12
,
199
LanguageVersion = LanguageVersion.
CSharp12
,
237
LanguageVersion = LanguageVersion.
CSharp12
,
275
LanguageVersion = LanguageVersion.
CSharp12
,
313
LanguageVersion = LanguageVersion.
CSharp12
,
351
LanguageVersion = LanguageVersion.
CSharp12
,
377
LanguageVersion = LanguageVersion.
CSharp12
,
401
LanguageVersion = LanguageVersion.
CSharp12
,
442
LanguageVersion = LanguageVersion.
CSharp12
,
485
LanguageVersion = LanguageVersion.
CSharp12
,
515
LanguageVersion = LanguageVersion.
CSharp12
,
545
LanguageVersion = LanguageVersion.
CSharp12
,
592
LanguageVersion = LanguageVersion.
CSharp12
,
639
LanguageVersion = LanguageVersion.
CSharp12
,
686
LanguageVersion = LanguageVersion.
CSharp12
,
726
LanguageVersion = LanguageVersion.
CSharp12
,
768
LanguageVersion = LanguageVersion.
CSharp12
,
810
LanguageVersion = LanguageVersion.
CSharp12
,
856
LanguageVersion = LanguageVersion.
CSharp12
,
894
LanguageVersion = LanguageVersion.
CSharp12
,
932
LanguageVersion = LanguageVersion.
CSharp12
,
970
LanguageVersion = LanguageVersion.
CSharp12
,
995
LanguageVersion = LanguageVersion.
CSharp12
,
1034
LanguageVersion = LanguageVersion.
CSharp12
,
1072
LanguageVersion = LanguageVersion.
CSharp12
,
1110
LanguageVersion = LanguageVersion.
CSharp12
,
1148
LanguageVersion = LanguageVersion.
CSharp12
,
1186
LanguageVersion = LanguageVersion.
CSharp12
,
1212
LanguageVersion = LanguageVersion.
CSharp12
,
1238
LanguageVersion = LanguageVersion.
CSharp12
,
1278
LanguageVersion = LanguageVersion.
CSharp12
,
1317
LanguageVersion = LanguageVersion.
CSharp12
,
1360
LanguageVersion = LanguageVersion.
CSharp12
,
1383
LanguageVersion = LanguageVersion.
CSharp12
,
1405
LanguageVersion = LanguageVersion.
CSharp12
,
1442
LanguageVersion = LanguageVersion.
CSharp12
,
1482
LanguageVersion = LanguageVersion.
CSharp12
,
1521
LanguageVersion = LanguageVersion.
CSharp12
,
1559
LanguageVersion = LanguageVersion.
CSharp12
,
1584
LanguageVersion = LanguageVersion.
CSharp12
,
1625
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForCreateTests.cs (50)
99
LanguageVersion = LanguageVersion.
CSharp12
,
121
LanguageVersion = LanguageVersion.
CSharp12
,
149
LanguageVersion = LanguageVersion.
CSharp12
,
170
LanguageVersion = LanguageVersion.
CSharp12
,
192
LanguageVersion = LanguageVersion.
CSharp12
,
214
LanguageVersion = LanguageVersion.
CSharp12
,
236
LanguageVersion = LanguageVersion.
CSharp12
,
258
LanguageVersion = LanguageVersion.
CSharp12
,
280
LanguageVersion = LanguageVersion.
CSharp12
,
296
LanguageVersion = LanguageVersion.
CSharp12
,
318
LanguageVersion = LanguageVersion.
CSharp12
,
340
LanguageVersion = LanguageVersion.
CSharp12
,
362
LanguageVersion = LanguageVersion.
CSharp12
,
378
LanguageVersion = LanguageVersion.
CSharp12
,
394
LanguageVersion = LanguageVersion.
CSharp12
,
416
LanguageVersion = LanguageVersion.
CSharp12
,
438
LanguageVersion = LanguageVersion.
CSharp12
,
460
LanguageVersion = LanguageVersion.
CSharp12
,
476
LanguageVersion = LanguageVersion.
CSharp12
,
497
LanguageVersion = LanguageVersion.
CSharp12
,
513
LanguageVersion = LanguageVersion.
CSharp12
,
535
LanguageVersion = LanguageVersion.
CSharp12
,
557
LanguageVersion = LanguageVersion.
CSharp12
,
579
LanguageVersion = LanguageVersion.
CSharp12
,
597
LanguageVersion = LanguageVersion.
CSharp12
,
615
LanguageVersion = LanguageVersion.
CSharp12
,
641
LanguageVersion = LanguageVersion.
CSharp12
,
667
LanguageVersion = LanguageVersion.
CSharp12
,
693
LanguageVersion = LanguageVersion.
CSharp12
,
719
LanguageVersion = LanguageVersion.
CSharp12
,
745
LanguageVersion = LanguageVersion.
CSharp12
,
763
LanguageVersion = LanguageVersion.
CSharp12
,
782
LanguageVersion = LanguageVersion.
CSharp12
,
804
LanguageVersion = LanguageVersion.
CSharp12
,
828
LanguageVersion = LanguageVersion.
CSharp12
,
859
LanguageVersion = LanguageVersion.
CSharp12
,
881
LanguageVersion = LanguageVersion.
CSharp12
,
915
LanguageVersion = LanguageVersion.
CSharp12
,
937
LanguageVersion = LanguageVersion.
CSharp12
,
971
LanguageVersion = LanguageVersion.
CSharp12
,
987
LanguageVersion = LanguageVersion.
CSharp12
,
1015
LanguageVersion = LanguageVersion.
CSharp12
,
1053
LanguageVersion = LanguageVersion.
CSharp12
,
1090
LanguageVersion = LanguageVersion.
CSharp12
,
1131
LanguageVersion = LanguageVersion.
CSharp12
,
1156
LanguageVersion = LanguageVersion.
CSharp12
,
1181
LanguageVersion = LanguageVersion.
CSharp12
,
1215
LanguageVersion = LanguageVersion.
CSharp12
,
1241
LanguageVersion = LanguageVersion.
CSharp12
,
1259
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForEmptyTests.cs (49)
51
LanguageVersion = LanguageVersion.
CSharp12
,
82
LanguageVersion = LanguageVersion.
CSharp12
,
113
LanguageVersion = LanguageVersion.
CSharp12
,
142
LanguageVersion = LanguageVersion.
CSharp12
,
161
LanguageVersion = LanguageVersion.
CSharp12
,
198
LanguageVersion = LanguageVersion.
CSharp12
,
219
LanguageVersion = LanguageVersion.
CSharp12
,
254
LanguageVersion = LanguageVersion.
CSharp12
,
287
LanguageVersion = LanguageVersion.
CSharp12
,
320
LanguageVersion = LanguageVersion.
CSharp12
,
353
LanguageVersion = LanguageVersion.
CSharp12
,
386
LanguageVersion = LanguageVersion.
CSharp12
,
417
LanguageVersion = LanguageVersion.
CSharp12
,
438
LanguageVersion = LanguageVersion.
CSharp12
,
471
LanguageVersion = LanguageVersion.
CSharp12
,
496
LanguageVersion = LanguageVersion.
CSharp12
,
553
LanguageVersion = LanguageVersion.
CSharp12
,
621
LanguageVersion = LanguageVersion.
CSharp12
,
689
LanguageVersion = LanguageVersion.
CSharp12
,
721
LanguageVersion = LanguageVersion.
CSharp12
,
742
LanguageVersion = LanguageVersion.
CSharp12
,
776
LanguageVersion = LanguageVersion.
CSharp12
,
798
LanguageVersion = LanguageVersion.
CSharp12
,
832
LanguageVersion = LanguageVersion.
CSharp12
,
865
LanguageVersion = LanguageVersion.
CSharp12
,
900
LanguageVersion = LanguageVersion.
CSharp12
,
951
LanguageVersion = LanguageVersion.
CSharp12
,
989
LanguageVersion = LanguageVersion.
CSharp12
,
1041
LanguageVersion = LanguageVersion.
CSharp12
,
1094
LanguageVersion = LanguageVersion.
CSharp12
,
1149
LanguageVersion = LanguageVersion.
CSharp12
,
1187
LanguageVersion = LanguageVersion.
CSharp12
,
1244
LanguageVersion = LanguageVersion.
CSharp12
,
1268
LanguageVersion = LanguageVersion.
CSharp12
,
1288
LanguageVersion = LanguageVersion.
CSharp12
,
1315
LanguageVersion = LanguageVersion.
CSharp12
,
1352
LanguageVersion = LanguageVersion.
CSharp12
,
1382
LanguageVersion = LanguageVersion.
CSharp12
,
1412
LanguageVersion = LanguageVersion.
CSharp12
,
1442
LanguageVersion = LanguageVersion.
CSharp12
,
1472
LanguageVersion = LanguageVersion.
CSharp12
,
1508
LanguageVersion = LanguageVersion.
CSharp12
,
1548
LanguageVersion = LanguageVersion.
CSharp12
,
1586
LanguageVersion = LanguageVersion.
CSharp12
,
1609
LanguageVersion = LanguageVersion.
CSharp12
,
1632
LanguageVersion = LanguageVersion.
CSharp12
,
1669
LanguageVersion = LanguageVersion.
CSharp12
,
1694
LanguageVersion = LanguageVersion.
CSharp12
,
1716
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForFluentTests.cs (89)
73
LanguageVersion = LanguageVersion.
CSharp12
,
107
LanguageVersion = LanguageVersion.
CSharp12
,
141
LanguageVersion = LanguageVersion.
CSharp12
,
164
LanguageVersion = LanguageVersion.
CSharp12
,
198
LanguageVersion = LanguageVersion.
CSharp12
,
232
LanguageVersion = LanguageVersion.
CSharp12
,
254
LanguageVersion = LanguageVersion.
CSharp12
,
290
LanguageVersion = LanguageVersion.
CSharp12
,
326
LanguageVersion = LanguageVersion.
CSharp12
,
362
LanguageVersion = LanguageVersion.
CSharp12
,
398
LanguageVersion = LanguageVersion.
CSharp12
,
434
LanguageVersion = LanguageVersion.
CSharp12
,
470
LanguageVersion = LanguageVersion.
CSharp12
,
506
LanguageVersion = LanguageVersion.
CSharp12
,
542
LanguageVersion = LanguageVersion.
CSharp12
,
578
LanguageVersion = LanguageVersion.
CSharp12
,
614
LanguageVersion = LanguageVersion.
CSharp12
,
650
LanguageVersion = LanguageVersion.
CSharp12
,
686
LanguageVersion = LanguageVersion.
CSharp12
,
709
LanguageVersion = LanguageVersion.
CSharp12
,
732
LanguageVersion = LanguageVersion.
CSharp12
,
755
LanguageVersion = LanguageVersion.
CSharp12
,
795
LanguageVersion = LanguageVersion.
CSharp12
,
831
LanguageVersion = LanguageVersion.
CSharp12
,
854
LanguageVersion = LanguageVersion.
CSharp12
,
898
LanguageVersion = LanguageVersion.
CSharp12
,
934
LanguageVersion = LanguageVersion.
CSharp12
,
957
LanguageVersion = LanguageVersion.
CSharp12
,
993
LanguageVersion = LanguageVersion.
CSharp12
,
1029
LanguageVersion = LanguageVersion.
CSharp12
,
1071
LanguageVersion = LanguageVersion.
CSharp12
,
1118
LanguageVersion = LanguageVersion.
CSharp12
,
1160
LanguageVersion = LanguageVersion.
CSharp12
,
1207
LanguageVersion = LanguageVersion.
CSharp12
,
1233
LanguageVersion = LanguageVersion.
CSharp12
,
1259
LanguageVersion = LanguageVersion.
CSharp12
,
1285
LanguageVersion = LanguageVersion.
CSharp12
,
1310
LanguageVersion = LanguageVersion.
CSharp12
,
1335
LanguageVersion = LanguageVersion.
CSharp12
,
1371
LanguageVersion = LanguageVersion.
CSharp12
,
1407
LanguageVersion = LanguageVersion.
CSharp12
,
1443
LanguageVersion = LanguageVersion.
CSharp12
,
1481
LanguageVersion = LanguageVersion.
CSharp12
,
1519
LanguageVersion = LanguageVersion.
CSharp12
,
1543
LanguageVersion = LanguageVersion.
CSharp12
,
1570
LanguageVersion = LanguageVersion.
CSharp12
,
1608
LanguageVersion = LanguageVersion.
CSharp12
,
1646
LanguageVersion = LanguageVersion.
CSharp12
,
1684
LanguageVersion = LanguageVersion.
CSharp12
,
1728
LanguageVersion = LanguageVersion.
CSharp12
,
1772
LanguageVersion = LanguageVersion.
CSharp12
,
1810
LanguageVersion = LanguageVersion.
CSharp12
,
1848
LanguageVersion = LanguageVersion.
CSharp12
,
1894
LanguageVersion = LanguageVersion.
CSharp12
,
1939
LanguageVersion = LanguageVersion.
CSharp12
,
1973
LanguageVersion = LanguageVersion.
CSharp12
,
1995
LanguageVersion = LanguageVersion.
CSharp12
,
2031
LanguageVersion = LanguageVersion.
CSharp12
,
2079
LanguageVersion = LanguageVersion.
CSharp12
,
2114
LanguageVersion = LanguageVersion.
CSharp12
,
2149
LanguageVersion = LanguageVersion.
CSharp12
,
2183
LanguageVersion = LanguageVersion.
CSharp12
,
2206
LanguageVersion = LanguageVersion.
CSharp12
,
2242
LanguageVersion = LanguageVersion.
CSharp12
,
2265
LanguageVersion = LanguageVersion.
CSharp12
,
2301
LanguageVersion = LanguageVersion.
CSharp12
,
2324
LanguageVersion = LanguageVersion.
CSharp12
,
2360
LanguageVersion = LanguageVersion.
CSharp12
,
2398
LanguageVersion = LanguageVersion.
CSharp12
,
2432
LanguageVersion = LanguageVersion.
CSharp12
,
2466
LanguageVersion = LanguageVersion.
CSharp12
,
2501
LanguageVersion = LanguageVersion.
CSharp12
,
2536
LanguageVersion = LanguageVersion.
CSharp12
,
2573
LanguageVersion = LanguageVersion.
CSharp12
,
2610
LanguageVersion = LanguageVersion.
CSharp12
,
2650
LanguageVersion = LanguageVersion.
CSharp12
,
2674
LanguageVersion = LanguageVersion.
CSharp12
,
2698
LanguageVersion = LanguageVersion.
CSharp12
,
2728
LanguageVersion = LanguageVersion.
CSharp12
,
2761
LanguageVersion = LanguageVersion.
CSharp12
,
2783
LanguageVersion = LanguageVersion.
CSharp12
,
2823
LanguageVersion = LanguageVersion.
CSharp12
,
2859
LanguageVersion = LanguageVersion.
CSharp12
,
2886
LanguageVersion = LanguageVersion.
CSharp12
,
2929
LanguageVersion = LanguageVersion.
CSharp12
,
2963
LanguageVersion = LanguageVersion.
CSharp12
,
2997
LanguageVersion = LanguageVersion.
CSharp12
,
3031
LanguageVersion = LanguageVersion.
CSharp12
,
3065
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForStackAllocTests.cs (54)
80
LanguageVersion = LanguageVersion.
CSharp12
,
101
LanguageVersion = LanguageVersion.
CSharp12
,
133
LanguageVersion = LanguageVersion.
CSharp12
,
165
LanguageVersion = LanguageVersion.
CSharp12
,
197
LanguageVersion = LanguageVersion.
CSharp12
,
229
LanguageVersion = LanguageVersion.
CSharp12
,
250
LanguageVersion = LanguageVersion.
CSharp12
,
271
LanguageVersion = LanguageVersion.
CSharp12
,
292
LanguageVersion = LanguageVersion.
CSharp12
,
313
LanguageVersion = LanguageVersion.
CSharp12
,
347
LanguageVersion = LanguageVersion.
CSharp12
,
368
LanguageVersion = LanguageVersion.
CSharp12
,
389
LanguageVersion = LanguageVersion.
CSharp12
,
410
LanguageVersion = LanguageVersion.
CSharp12
,
431
LanguageVersion = LanguageVersion.
CSharp12
,
467
LanguageVersion = LanguageVersion.
CSharp12
,
503
LanguageVersion = LanguageVersion.
CSharp12
,
535
LanguageVersion = LanguageVersion.
CSharp12
,
567
LanguageVersion = LanguageVersion.
CSharp12
,
589
LanguageVersion = LanguageVersion.
CSharp12
,
621
LanguageVersion = LanguageVersion.
CSharp12
,
642
LanguageVersion = LanguageVersion.
CSharp12
,
674
LanguageVersion = LanguageVersion.
CSharp12
,
695
LanguageVersion = LanguageVersion.
CSharp12
,
717
LanguageVersion = LanguageVersion.
CSharp12
,
741
LanguageVersion = LanguageVersion.
CSharp12
,
763
LanguageVersion = LanguageVersion.
CSharp12
,
785
LanguageVersion = LanguageVersion.
CSharp12
,
809
LanguageVersion = LanguageVersion.
CSharp12
,
833
LanguageVersion = LanguageVersion.
CSharp12
,
855
LanguageVersion = LanguageVersion.
CSharp12
,
877
LanguageVersion = LanguageVersion.
CSharp12
,
900
LanguageVersion = LanguageVersion.
CSharp12
,
933
LanguageVersion = LanguageVersion.
CSharp12
,
968
LanguageVersion = LanguageVersion.
CSharp12
,
1002
LanguageVersion = LanguageVersion.
CSharp12
,
1038
LanguageVersion = LanguageVersion.
CSharp12
,
1061
LanguageVersion = LanguageVersion.
CSharp12
,
1085
LanguageVersion = LanguageVersion.
CSharp12
,
1111
LanguageVersion = LanguageVersion.
CSharp12
,
1151
LanguageVersion = LanguageVersion.
CSharp12
,
1191
LanguageVersion = LanguageVersion.
CSharp12
,
1229
LanguageVersion = LanguageVersion.
CSharp12
,
1269
LanguageVersion = LanguageVersion.
CSharp12
,
1305
LanguageVersion = LanguageVersion.
CSharp12
,
1343
LanguageVersion = LanguageVersion.
CSharp12
,
1381
LanguageVersion = LanguageVersion.
CSharp12
,
1421
LanguageVersion = LanguageVersion.
CSharp12
,
1457
LanguageVersion = LanguageVersion.
CSharp12
,
1495
LanguageVersion = LanguageVersion.
CSharp12
,
1533
LanguageVersion = LanguageVersion.
CSharp12
,
1575
LanguageVersion = LanguageVersion.
CSharp12
,
1595
LanguageVersion = LanguageVersion.
CSharp12
,
1631
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests.cs (5)
1683
""", OutputKind.ConsoleApplication, LanguageVersion.
CSharp12
);
1715
""", languageVersion: LanguageVersion.
CSharp12
);
1749
LanguageVersion = LanguageVersion.
CSharp12
,
1786
LanguageVersion = LanguageVersion.
CSharp12
,
1827
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests_CollectionExpression.cs (21)
31
LanguageVersion = LanguageVersion.
CSharp12
,
375
LanguageVersion = LanguageVersion.
CSharp12
,
798
LanguageVersion = LanguageVersion.
CSharp12
,
823
LanguageVersion = LanguageVersion.
CSharp12
,
1941
LanguageVersion = LanguageVersion.
CSharp12
,
4385
LanguageVersion = LanguageVersion.
CSharp12
,
5346
LanguageVersion = LanguageVersion.
CSharp12
,
5386
LanguageVersion = LanguageVersion.
CSharp12
,
5423
LanguageVersion = LanguageVersion.
CSharp12
,
5457
LanguageVersion = LanguageVersion.
CSharp12
,
5491
LanguageVersion = LanguageVersion.
CSharp12
,
5525
LanguageVersion = LanguageVersion.
CSharp12
,
5569
LanguageVersion = LanguageVersion.
CSharp12
,
5603
LanguageVersion = LanguageVersion.
CSharp12
,
5637
LanguageVersion = LanguageVersion.
CSharp12
,
5681
LanguageVersion = LanguageVersion.
CSharp12
,
5705
LanguageVersion = LanguageVersion.
CSharp12
,
5743
LanguageVersion = LanguageVersion.
CSharp12
,
5777
LanguageVersion = LanguageVersion.
CSharp12
,
5811
LanguageVersion = LanguageVersion.
CSharp12
,
5865
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCompoundAssignment\UseCompoundCoalesceAssignmentTests.cs (3)
958
""", LanguageVersion.
CSharp12
);
978
""", LanguageVersion.
CSharp12
);
1001
""", LanguageVersion.
CSharp12
);
src\Analyzers\CSharp\Tests\UseObjectInitializer\UseObjectInitializerTests.cs (22)
76
LanguageVersion = LanguageVersion.
CSharp12
,
183
LanguageVersion = LanguageVersion.
CSharp12
,
248
LanguageVersion = LanguageVersion.
CSharp12
,
312
LanguageVersion = LanguageVersion.
CSharp12
,
357
LanguageVersion = LanguageVersion.
CSharp12
,
404
LanguageVersion = LanguageVersion.
CSharp12
,
451
LanguageVersion = LanguageVersion.
CSharp12
,
497
LanguageVersion = LanguageVersion.
CSharp12
,
546
LanguageVersion = LanguageVersion.
CSharp12
,
597
LanguageVersion = LanguageVersion.
CSharp12
,
678
LanguageVersion = LanguageVersion.
CSharp12
,
734
LanguageVersion = LanguageVersion.
CSharp12
,
791
LanguageVersion = LanguageVersion.
CSharp12
,
836
LanguageVersion = LanguageVersion.
CSharp12
,
888
LanguageVersion = LanguageVersion.
CSharp12
,
989
LanguageVersion = LanguageVersion.
CSharp12
,
1042
LanguageVersion = LanguageVersion.
CSharp12
,
1154
LanguageVersion = LanguageVersion.
CSharp12
,
1219
LanguageVersion = LanguageVersion.
CSharp12
,
1256
LanguageVersion = LanguageVersion.
CSharp12
,
1338
LanguageVersion = LanguageVersion.
CSharp12
,
1411
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UsePrimaryConstructor\UsePrimaryConstructorTests.cs (127)
40
LanguageVersion = LanguageVersion.
CSharp12
,
74
LanguageVersion = LanguageVersion.
CSharp12
,
96
LanguageVersion = LanguageVersion.
CSharp12
,
117
LanguageVersion = LanguageVersion.
CSharp12
,
146
LanguageVersion = LanguageVersion.
CSharp12
,
183
LanguageVersion = LanguageVersion.
CSharp12
,
220
LanguageVersion = LanguageVersion.
CSharp12
,
259
LanguageVersion = LanguageVersion.
CSharp12
,
298
LanguageVersion = LanguageVersion.
CSharp12
,
339
LanguageVersion = LanguageVersion.
CSharp12
,
355
LanguageVersion = LanguageVersion.
CSharp12
,
373
LanguageVersion = LanguageVersion.
CSharp12
,
397
LanguageVersion = LanguageVersion.
CSharp12
,
421
LanguageVersion = LanguageVersion.
CSharp12
,
445
LanguageVersion = LanguageVersion.
CSharp12
,
469
LanguageVersion = LanguageVersion.
CSharp12
,
490
LanguageVersion = LanguageVersion.
CSharp12
,
511
LanguageVersion = LanguageVersion.
CSharp12
,
529
LanguageVersion = LanguageVersion.
CSharp12
,
550
LanguageVersion = LanguageVersion.
CSharp12
,
574
LanguageVersion = LanguageVersion.
CSharp12
,
603
LanguageVersion = LanguageVersion.
CSharp12
,
630
LanguageVersion = LanguageVersion.
CSharp12
,
658
LanguageVersion = LanguageVersion.
CSharp12
,
686
LanguageVersion = LanguageVersion.
CSharp12
,
715
LanguageVersion = LanguageVersion.
CSharp12
,
738
LanguageVersion = LanguageVersion.
CSharp12
,
793
LanguageVersion = LanguageVersion.
CSharp12
,
832
LanguageVersion = LanguageVersion.
CSharp12
,
871
LanguageVersion = LanguageVersion.
CSharp12
,
910
LanguageVersion = LanguageVersion.
CSharp12
,
951
LanguageVersion = LanguageVersion.
CSharp12
,
994
LanguageVersion = LanguageVersion.
CSharp12
,
1037
LanguageVersion = LanguageVersion.
CSharp12
,
1059
LanguageVersion = LanguageVersion.
CSharp12
,
1081
LanguageVersion = LanguageVersion.
CSharp12
,
1111
LanguageVersion = LanguageVersion.
CSharp12
,
1147
LanguageVersion = LanguageVersion.
CSharp12
,
1187
LanguageVersion = LanguageVersion.
CSharp12
,
1217
LanguageVersion = LanguageVersion.
CSharp12
,
1265
LanguageVersion = LanguageVersion.
CSharp12
,
1309
LanguageVersion = LanguageVersion.
CSharp12
,
1349
LanguageVersion = LanguageVersion.
CSharp12
,
1398
LanguageVersion = LanguageVersion.
CSharp12
,
1445
LanguageVersion = LanguageVersion.
CSharp12
,
1487
LanguageVersion = LanguageVersion.
CSharp12
,
1529
LanguageVersion = LanguageVersion.
CSharp12
,
1577
LanguageVersion = LanguageVersion.
CSharp12
,
1625
LanguageVersion = LanguageVersion.
CSharp12
,
1672
LanguageVersion = LanguageVersion.
CSharp12
,
1721
LanguageVersion = LanguageVersion.
CSharp12
,
1754
LanguageVersion = LanguageVersion.
CSharp12
,
1786
LanguageVersion = LanguageVersion.
CSharp12
,
1827
LanguageVersion = LanguageVersion.
CSharp12
,
1886
LanguageVersion = LanguageVersion.
CSharp12
,
1914
LanguageVersion = LanguageVersion.
CSharp12
,
1942
LanguageVersion = LanguageVersion.
CSharp12
,
1976
LanguageVersion = LanguageVersion.
CSharp12
,
2012
LanguageVersion = LanguageVersion.
CSharp12
,
2049
LanguageVersion = LanguageVersion.
CSharp12
,
2088
LanguageVersion = LanguageVersion.
CSharp12
,
2120
LanguageVersion = LanguageVersion.
CSharp12
,
2155
LanguageVersion = LanguageVersion.
CSharp12
,
2183
LanguageVersion = LanguageVersion.
CSharp12
,
2217
LanguageVersion = LanguageVersion.
CSharp12
,
2247
LanguageVersion = LanguageVersion.
CSharp12
,
2283
LanguageVersion = LanguageVersion.
CSharp12
,
2311
LanguageVersion = LanguageVersion.
CSharp12
,
2345
LanguageVersion = LanguageVersion.
CSharp12
,
2375
LanguageVersion = LanguageVersion.
CSharp12
,
2411
LanguageVersion = LanguageVersion.
CSharp12
,
2440
LanguageVersion = LanguageVersion.
CSharp12
,
2473
LanguageVersion = LanguageVersion.
CSharp12
,
2502
LanguageVersion = LanguageVersion.
CSharp12
,
2535
LanguageVersion = LanguageVersion.
CSharp12
,
2565
LanguageVersion = LanguageVersion.
CSharp12
,
2586
LanguageVersion = LanguageVersion.
CSharp12
,
2612
LanguageVersion = LanguageVersion.
CSharp12
,
2638
LanguageVersion = LanguageVersion.
CSharp12
,
2660
LanguageVersion = LanguageVersion.
CSharp12
,
2682
LanguageVersion = LanguageVersion.
CSharp12
,
2706
LanguageVersion = LanguageVersion.
CSharp12
,
2730
LanguageVersion = LanguageVersion.
CSharp12
,
2754
LanguageVersion = LanguageVersion.
CSharp12
,
2778
LanguageVersion = LanguageVersion.
CSharp12
,
2804
LanguageVersion = LanguageVersion.
CSharp12
,
2830
LanguageVersion = LanguageVersion.
CSharp12
,
2863
LanguageVersion = LanguageVersion.
CSharp12
,
2904
LanguageVersion = LanguageVersion.
CSharp12
,
2936
LanguageVersion = LanguageVersion.
CSharp12
,
2968
LanguageVersion = LanguageVersion.
CSharp12
,
2996
LanguageVersion = LanguageVersion.
CSharp12
,
3024
LanguageVersion = LanguageVersion.
CSharp12
,
3052
LanguageVersion = LanguageVersion.
CSharp12
,
3129
LanguageVersion = LanguageVersion.
CSharp12
,
3167
LanguageVersion = LanguageVersion.
CSharp12
,
3212
LanguageVersion = LanguageVersion.
CSharp12
,
3250
LanguageVersion = LanguageVersion.
CSharp12
,
3292
LanguageVersion = LanguageVersion.
CSharp12
,
3321
LanguageVersion = LanguageVersion.
CSharp12
,
3343
LanguageVersion = LanguageVersion.
CSharp12
,
3370
LanguageVersion = LanguageVersion.
CSharp12
,
3391
LanguageVersion = LanguageVersion.
CSharp12
,
3420
LanguageVersion = LanguageVersion.
CSharp12
,
3442
LanguageVersion = LanguageVersion.
CSharp12
,
3468
LanguageVersion = LanguageVersion.
CSharp12
,
3497
LanguageVersion = LanguageVersion.
CSharp12
,
3526
LanguageVersion = LanguageVersion.
CSharp12
,
3555
LanguageVersion = LanguageVersion.
CSharp12
,
3584
LanguageVersion = LanguageVersion.
CSharp12
,
3606
LanguageVersion = LanguageVersion.
CSharp12
,
3628
LanguageVersion = LanguageVersion.
CSharp12
,
3645
LanguageVersion = LanguageVersion.
CSharp12
,
3692
LanguageVersion = LanguageVersion.
CSharp12
,
3728
LanguageVersion = LanguageVersion.
CSharp12
,
3765
LanguageVersion = LanguageVersion.
CSharp12
,
3791
LanguageVersion = LanguageVersion.
CSharp12
,
3813
LanguageVersion = LanguageVersion.
CSharp12
,
3839
LanguageVersion = LanguageVersion.
CSharp12
,
3869
LanguageVersion = LanguageVersion.
CSharp12
,
3912
LanguageVersion = LanguageVersion.
CSharp12
,
3955
LanguageVersion = LanguageVersion.
CSharp12
,
3998
LanguageVersion = LanguageVersion.
CSharp12
,
4027
LanguageVersion = LanguageVersion.
CSharp12
,
4070
LanguageVersion = LanguageVersion.
CSharp12
,
4100
LanguageVersion = LanguageVersion.
CSharp12
,
4126
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseSystemThreadingLock\UseSystemThreadingLockTests.cs (3)
87
LanguageVersion = LanguageVersion.
CSharp12
,
110
LanguageVersion = LanguageVersion.
CSharp12
,
133
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseUtf8StringLiteral\UseUtf8StringLiteralTests.cs (48)
47
LanguageVersion = LanguageVersion.
CSharp12
86
LanguageVersion = LanguageVersion.
CSharp12
106
LanguageVersion = LanguageVersion.
CSharp12
133
LanguageVersion = LanguageVersion.
CSharp12
153
LanguageVersion = LanguageVersion.
CSharp12
177
LanguageVersion = LanguageVersion.
CSharp12
199
LanguageVersion = LanguageVersion.
CSharp12
219
LanguageVersion = LanguageVersion.
CSharp12
250
LanguageVersion = LanguageVersion.
CSharp12
283
LanguageVersion = LanguageVersion.
CSharp12
314
LanguageVersion = LanguageVersion.
CSharp12
345
LanguageVersion = LanguageVersion.
CSharp12
376
LanguageVersion = LanguageVersion.
CSharp12
407
LanguageVersion = LanguageVersion.
CSharp12
437
LanguageVersion = LanguageVersion.
CSharp12
468
LanguageVersion = LanguageVersion.
CSharp12
499
LanguageVersion = LanguageVersion.
CSharp12
534
LanguageVersion = LanguageVersion.
CSharp12
565
LanguageVersion = LanguageVersion.
CSharp12
596
LanguageVersion = LanguageVersion.
CSharp12
617
LanguageVersion = LanguageVersion.
CSharp12
638
LanguageVersion = LanguageVersion.
CSharp12
659
LanguageVersion = LanguageVersion.
CSharp12
693
LanguageVersion = LanguageVersion.
CSharp12
774
LanguageVersion = LanguageVersion.
CSharp12
802
LanguageVersion = LanguageVersion.
CSharp12
835
LanguageVersion = LanguageVersion.
CSharp12
890
LanguageVersion = LanguageVersion.
CSharp12
921
LanguageVersion = LanguageVersion.
CSharp12
952
LanguageVersion = LanguageVersion.
CSharp12
983
LanguageVersion = LanguageVersion.
CSharp12
1014
LanguageVersion = LanguageVersion.
CSharp12
1045
LanguageVersion = LanguageVersion.
CSharp12
1076
LanguageVersion = LanguageVersion.
CSharp12
1096
LanguageVersion = LanguageVersion.
CSharp12
1127
LanguageVersion = LanguageVersion.
CSharp12
1158
LanguageVersion = LanguageVersion.
CSharp12
1189
LanguageVersion = LanguageVersion.
CSharp12
1220
LanguageVersion = LanguageVersion.
CSharp12
1251
LanguageVersion = LanguageVersion.
CSharp12
1292
LanguageVersion = LanguageVersion.
CSharp12
1347
LanguageVersion = LanguageVersion.
CSharp12
1436
LanguageVersion = LanguageVersion.
CSharp12
1467
LanguageVersion = LanguageVersion.
CSharp12
1498
LanguageVersion = LanguageVersion.
CSharp12
1529
LanguageVersion = LanguageVersion.
CSharp12
1564
LanguageVersion = LanguageVersion.
CSharp12
1599
LanguageVersion = LanguageVersion.
CSharp12
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
1791
InlineData(LanguageVersion.
CSharp12
, LanguageVersion.
CSharp12
),
1838
InlineData("12", true, LanguageVersion.
CSharp12
),
1839
InlineData("12.0", true, LanguageVersion.
CSharp12
),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (12)
CodeActions\InitializeParameter\AddParameterCheckTests.cs (2)
2948
LanguageVersion = LanguageVersion.
CSharp12
,
2962
LanguageVersion = LanguageVersion.
CSharp12
,
Formatting\FormattingEngineTests.cs (6)
2713
AssertFormatWithView(expected, code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2738
AssertFormatWithView(expected, code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2763
AssertFormatWithView(expected, code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2783
AssertFormatAfterTypeChar(code, expected, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2803
AssertFormatAfterTypeChar(code, expected, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2823
AssertFormatAfterTypeChar(code, expected, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
Formatting\Indentation\SmartIndenterTests.cs (4)
3331
options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
3351
options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
3372
options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
3393
options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
FieldKeywordTests.cs (3)
8485
[CombinatorialValues(LanguageVersion.
CSharp12
, LanguageVersion.CSharp13)] LanguageVersion languageVersion,
8512
case (LanguageVersion.
CSharp12
, false):
8533
case (LanguageVersion.
CSharp12
, true):
RefReadonlyParameterTests.cs (1)
3706
public void OverloadResolution_07([CombinatorialValues(LanguageVersion.CSharp11, LanguageVersion.
CSharp12
, LanguageVersion.Preview)] LanguageVersion languageVersion)
Semantics\CollectionExpressionTests.cs (1)
2292
[InlineData(LanguageVersion.
CSharp12
)]
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (732)
AddDebuggerDisplay\AddDebuggerDisplayTests.cs (1)
65
LanguageVersion = LanguageVersion.
CSharp12
,
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorTests.cs (79)
49
LanguageVersion = LanguageVersion.
CSharp12
,
68
LanguageVersion = LanguageVersion.
CSharp12
,
91
LanguageVersion = LanguageVersion.
CSharp12
,
120
LanguageVersion = LanguageVersion.
CSharp12
,
157
LanguageVersion = LanguageVersion.
CSharp12
,
194
LanguageVersion = LanguageVersion.
CSharp12
,
233
LanguageVersion = LanguageVersion.
CSharp12
,
272
LanguageVersion = LanguageVersion.
CSharp12
,
313
LanguageVersion = LanguageVersion.
CSharp12
,
339
LanguageVersion = LanguageVersion.
CSharp12
,
365
LanguageVersion = LanguageVersion.
CSharp12
,
391
LanguageVersion = LanguageVersion.
CSharp12
,
417
LanguageVersion = LanguageVersion.
CSharp12
,
443
LanguageVersion = LanguageVersion.
CSharp12
,
472
LanguageVersion = LanguageVersion.
CSharp12
,
501
LanguageVersion = LanguageVersion.
CSharp12
,
528
LanguageVersion = LanguageVersion.
CSharp12
,
564
LanguageVersion = LanguageVersion.
CSharp12
,
600
LanguageVersion = LanguageVersion.
CSharp12
,
622
LanguageVersion = LanguageVersion.
CSharp12
,
648
LanguageVersion = LanguageVersion.
CSharp12
,
700
LanguageVersion = LanguageVersion.
CSharp12
,
738
LanguageVersion = LanguageVersion.
CSharp12
,
776
LanguageVersion = LanguageVersion.
CSharp12
,
816
LanguageVersion = LanguageVersion.
CSharp12
,
858
LanguageVersion = LanguageVersion.
CSharp12
,
900
LanguageVersion = LanguageVersion.
CSharp12
,
943
LanguageVersion = LanguageVersion.
CSharp12
,
974
LanguageVersion = LanguageVersion.
CSharp12
,
1010
LanguageVersion = LanguageVersion.
CSharp12
,
1050
LanguageVersion = LanguageVersion.
CSharp12
,
1080
LanguageVersion = LanguageVersion.
CSharp12
,
1128
LanguageVersion = LanguageVersion.
CSharp12
,
1172
LanguageVersion = LanguageVersion.
CSharp12
,
1212
LanguageVersion = LanguageVersion.
CSharp12
,
1260
LanguageVersion = LanguageVersion.
CSharp12
,
1309
LanguageVersion = LanguageVersion.
CSharp12
,
1356
LanguageVersion = LanguageVersion.
CSharp12
,
1392
LanguageVersion = LanguageVersion.
CSharp12
,
1424
LanguageVersion = LanguageVersion.
CSharp12
,
1456
LanguageVersion = LanguageVersion.
CSharp12
,
1488
LanguageVersion = LanguageVersion.
CSharp12
,
1524
LanguageVersion = LanguageVersion.
CSharp12
,
1556
LanguageVersion = LanguageVersion.
CSharp12
,
1592
LanguageVersion = LanguageVersion.
CSharp12
,
1634
LanguageVersion = LanguageVersion.
CSharp12
,
1672
LanguageVersion = LanguageVersion.
CSharp12
,
1710
LanguageVersion = LanguageVersion.
CSharp12
,
1752
LanguageVersion = LanguageVersion.
CSharp12
,
1779
LanguageVersion = LanguageVersion.
CSharp12
,
1807
LanguageVersion = LanguageVersion.
CSharp12
,
1841
LanguageVersion = LanguageVersion.
CSharp12
,
1877
LanguageVersion = LanguageVersion.
CSharp12
,
1914
LanguageVersion = LanguageVersion.
CSharp12
,
1953
LanguageVersion = LanguageVersion.
CSharp12
,
1985
LanguageVersion = LanguageVersion.
CSharp12
,
2020
LanguageVersion = LanguageVersion.
CSharp12
,
2048
LanguageVersion = LanguageVersion.
CSharp12
,
2082
LanguageVersion = LanguageVersion.
CSharp12
,
2112
LanguageVersion = LanguageVersion.
CSharp12
,
2148
LanguageVersion = LanguageVersion.
CSharp12
,
2176
LanguageVersion = LanguageVersion.
CSharp12
,
2210
LanguageVersion = LanguageVersion.
CSharp12
,
2240
LanguageVersion = LanguageVersion.
CSharp12
,
2276
LanguageVersion = LanguageVersion.
CSharp12
,
2305
LanguageVersion = LanguageVersion.
CSharp12
,
2338
LanguageVersion = LanguageVersion.
CSharp12
,
2367
LanguageVersion = LanguageVersion.
CSharp12
,
2400
LanguageVersion = LanguageVersion.
CSharp12
,
2426
LanguageVersion = LanguageVersion.
CSharp12
,
2448
LanguageVersion = LanguageVersion.
CSharp12
,
2480
LanguageVersion = LanguageVersion.
CSharp12
,
2520
LanguageVersion = LanguageVersion.
CSharp12
,
2552
LanguageVersion = LanguageVersion.
CSharp12
,
2592
LanguageVersion = LanguageVersion.
CSharp12
,
2632
LanguageVersion = LanguageVersion.
CSharp12
,
2661
LanguageVersion = LanguageVersion.
CSharp12
,
2689
LanguageVersion = LanguageVersion.
CSharp12
,
2717
LanguageVersion = LanguageVersion.
CSharp12
,
ConvertTupleToStruct\ConvertTupleToStructTests.cs (3)
172
await TestAsync(text, expected, languageVersion: LanguageVersion.
CSharp12
, options: PreferImplicitTypeWithInfo(), testHost: host);
213
await TestAsync(text, expected, languageVersion: LanguageVersion.
CSharp12
, options: PreferImplicitTypeWithInfo(), testHost: host);
250
await TestAsync(text, expected, languageVersion: LanguageVersion.
CSharp12
, options: PreferImplicitTypeWithInfo(), testHost: host);
EditAndContinue\Helpers\EditingTestBase.cs (1)
132
CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
),
EmbeddedLanguages\JsonStringDetectorTests.cs (1)
102
LanguageVersion = LanguageVersion.
CSharp12
,
ExtractClass\ExtractClassTests.cs (7)
288
LanguageVersion = LanguageVersion.
CSharp12
,
409
LanguageVersion = LanguageVersion.
CSharp12
,
454
LanguageVersion = LanguageVersion.
CSharp12
,
470
LanguageVersion = LanguageVersion.
CSharp12
,
488
LanguageVersion = LanguageVersion.
CSharp12
,
504
LanguageVersion = LanguageVersion.
CSharp12
,
546
LanguageVersion = LanguageVersion.
CSharp12
,
GenerateVariable\GenerateVariableTests.cs (3)
10002
""" + TestResources.NetFX.ValueTuple.tuplelib_cs, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
10046
""", parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
10092
""", parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
InlineTemporary\InlineTemporaryTests.cs (1)
4300
[InlineData(LanguageVersion.
CSharp12
)]
src\Analyzers\CSharp\Tests\AddAccessibilityModifiers\AddAccessibilityModifiersTests.cs (8)
231
LanguageVersion = LanguageVersion.
CSharp12
,
598
LanguageVersion = LanguageVersion.
CSharp12
,
626
LanguageVersion = LanguageVersion.
CSharp12
,
649
LanguageVersion = LanguageVersion.
CSharp12
,
662
LanguageVersion = LanguageVersion.
CSharp12
,
694
LanguageVersion = LanguageVersion.
CSharp12
,
718
LanguageVersion = LanguageVersion.
CSharp12
,
745
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\AddParameter\AddParameterTests.cs (2)
2941
""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp12
));
2983
""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp12
));
src\Analyzers\CSharp\Tests\ConvertNamespace\ConvertToFileScopedNamespaceAnalyzerTests.cs (3)
726
LanguageVersion = LanguageVersion.
CSharp12
,
781
LanguageVersion = LanguageVersion.
CSharp12
,
836
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\GenerateDefaultConstructors\GenerateDefaultConstructorsTests.cs (1)
960
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (26)
73
LanguageVersion = LanguageVersion.
CSharp12
,
108
LanguageVersion = LanguageVersion.
CSharp12
,
147
LanguageVersion = LanguageVersion.
CSharp12
,
10453
LanguageVersion = LanguageVersion.
CSharp12
,
10486
LanguageVersion = LanguageVersion.
CSharp12
,
10519
LanguageVersion = LanguageVersion.
CSharp12
,
10552
LanguageVersion = LanguageVersion.
CSharp12
,
10589
LanguageVersion = LanguageVersion.
CSharp12
,
10979
LanguageVersion = LanguageVersion.
CSharp12
,
11016
LanguageVersion = LanguageVersion.
CSharp12
,
11053
LanguageVersion = LanguageVersion.
CSharp12
,
11090
LanguageVersion = LanguageVersion.
CSharp12
,
11125
LanguageVersion = LanguageVersion.
CSharp12
,
11160
LanguageVersion = LanguageVersion.
CSharp12
,
11202
LanguageVersion = LanguageVersion.
CSharp12
,
11237
LanguageVersion = LanguageVersion.
CSharp12
,
11272
LanguageVersion = LanguageVersion.
CSharp12
,
11308
LanguageVersion = LanguageVersion.
CSharp12
,
11344
LanguageVersion = LanguageVersion.
CSharp12
,
11380
LanguageVersion = LanguageVersion.
CSharp12
,
11416
LanguageVersion = LanguageVersion.
CSharp12
,
11452
LanguageVersion = LanguageVersion.
CSharp12
,
11488
LanguageVersion = LanguageVersion.
CSharp12
,
11564
LanguageVersion = LanguageVersion.
CSharp12
,
11640
LanguageVersion = LanguageVersion.
CSharp12
,
11794
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\MakeRefStruct\MakeRefStructTests.cs (1)
75
await TestMissingInRegularAndScriptAsync(text, new TestParameters(CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
)));
src\Analyzers\CSharp\Tests\MakeStructMemberReadOnly\MakeStructMemberReadOnlyTests.cs (32)
1436
LanguageVersion = LanguageVersion.
CSharp12
,
1470
LanguageVersion = LanguageVersion.
CSharp12
,
1504
LanguageVersion = LanguageVersion.
CSharp12
,
1562
LanguageVersion = LanguageVersion.
CSharp12
,
1620
LanguageVersion = LanguageVersion.
CSharp12
,
1678
LanguageVersion = LanguageVersion.
CSharp12
,
1736
LanguageVersion = LanguageVersion.
CSharp12
,
1756
LanguageVersion = LanguageVersion.
CSharp12
,
1776
LanguageVersion = LanguageVersion.
CSharp12
,
1796
LanguageVersion = LanguageVersion.
CSharp12
,
1819
LanguageVersion = LanguageVersion.
CSharp12
,
1842
LanguageVersion = LanguageVersion.
CSharp12
,
1867
LanguageVersion = LanguageVersion.
CSharp12
,
1908
LanguageVersion = LanguageVersion.
CSharp12
,
1935
LanguageVersion = LanguageVersion.
CSharp12
,
1953
LanguageVersion = LanguageVersion.
CSharp12
,
1994
LanguageVersion = LanguageVersion.
CSharp12
,
2035
LanguageVersion = LanguageVersion.
CSharp12
,
2066
LanguageVersion = LanguageVersion.
CSharp12
,
2086
LanguageVersion = LanguageVersion.
CSharp12
,
2106
LanguageVersion = LanguageVersion.
CSharp12
,
2133
LanguageVersion = LanguageVersion.
CSharp12
,
2177
LanguageVersion = LanguageVersion.
CSharp12
,
2204
LanguageVersion = LanguageVersion.
CSharp12
,
2244
LanguageVersion = LanguageVersion.
CSharp12
,
2292
LanguageVersion = LanguageVersion.
CSharp12
,
2342
LanguageVersion = LanguageVersion.
CSharp12
,
2392
LanguageVersion = LanguageVersion.
CSharp12
,
2452
LanguageVersion = LanguageVersion.
CSharp12
,
2488
LanguageVersion = LanguageVersion.
CSharp12
,
2518
LanguageVersion = LanguageVersion.
CSharp12
,
2548
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\MakeStructReadOnly\MakeStructReadOnlyTests.cs (3)
23
private static Task TestMissingAsync(string testCode, LanguageVersion version = LanguageVersion.
CSharp12
)
26
private static async Task TestAsync(string testCode, string fixedCode, LanguageVersion version = LanguageVersion.
CSharp12
)
450
LanguageVersion.
CSharp12
);
src\Analyzers\CSharp\Tests\RemoveUnnecessaryCast\RemoveUnnecessaryCastTests.cs (11)
13635
LanguageVersion = LanguageVersion.
CSharp12
,
13653
LanguageVersion = LanguageVersion.
CSharp12
,
13678
LanguageVersion = LanguageVersion.
CSharp12
,
13705
LanguageVersion = LanguageVersion.
CSharp12
,
13738
LanguageVersion = LanguageVersion.
CSharp12
,
13761
LanguageVersion = LanguageVersion.
CSharp12
,
13791
LanguageVersion = LanguageVersion.
CSharp12
,
13835
LanguageVersion = LanguageVersion.
CSharp12
,
13872
LanguageVersion = LanguageVersion.
CSharp12
,
13950
LanguageVersion = LanguageVersion.
CSharp12
,
13990
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\RemoveUnnecessaryLambdaExpression\RemoveUnnecessaryLambdaExpressionTests.cs (3)
27
LanguageVersion version = LanguageVersion.
CSharp12
,
44
LanguageVersion version = LanguageVersion.
CSharp12
,
123
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (1)
10071
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (7)
1101
LanguageVersion.
CSharp12
,
1112
LanguageVersion.
CSharp12
,
1123
LanguageVersion.
CSharp12
,
1134
LanguageVersion.
CSharp12
,
1145
LanguageVersion.
CSharp12
,
1156
LanguageVersion.
CSharp12
,
1291
expected: LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests.cs (1)
24
private readonly ParseOptions CSharp12 = CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
);
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForArrayTests.cs (23)
56
LanguageVersion = LanguageVersion.
CSharp12
,
77
LanguageVersion = LanguageVersion.
CSharp12
,
98
LanguageVersion = LanguageVersion.
CSharp12
,
123
LanguageVersion = LanguageVersion.
CSharp12
,
148
LanguageVersion = LanguageVersion.
CSharp12
,
169
LanguageVersion = LanguageVersion.
CSharp12
,
190
LanguageVersion = LanguageVersion.
CSharp12
,
205
LanguageVersion = LanguageVersion.
CSharp12
,
230
LanguageVersion = LanguageVersion.
CSharp12
,
251
LanguageVersion = LanguageVersion.
CSharp12
,
278
LanguageVersion = LanguageVersion.
CSharp12
,
299
LanguageVersion = LanguageVersion.
CSharp12
,
320
LanguageVersion = LanguageVersion.
CSharp12
,
341
LanguageVersion = LanguageVersion.
CSharp12
,
356
LanguageVersion = LanguageVersion.
CSharp12
,
371
LanguageVersion = LanguageVersion.
CSharp12
,
386
LanguageVersion = LanguageVersion.
CSharp12
,
407
LanguageVersion = LanguageVersion.
CSharp12
,
422
LanguageVersion = LanguageVersion.
CSharp12
,
447
LanguageVersion = LanguageVersion.
CSharp12
,
474
LanguageVersion = LanguageVersion.
CSharp12
,
489
LanguageVersion = LanguageVersion.
CSharp12
,
510
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForBuilderTests.cs (43)
107
LanguageVersion = LanguageVersion.
CSharp12
,
141
LanguageVersion = LanguageVersion.
CSharp12
,
175
LanguageVersion = LanguageVersion.
CSharp12
,
199
LanguageVersion = LanguageVersion.
CSharp12
,
237
LanguageVersion = LanguageVersion.
CSharp12
,
275
LanguageVersion = LanguageVersion.
CSharp12
,
313
LanguageVersion = LanguageVersion.
CSharp12
,
351
LanguageVersion = LanguageVersion.
CSharp12
,
377
LanguageVersion = LanguageVersion.
CSharp12
,
401
LanguageVersion = LanguageVersion.
CSharp12
,
442
LanguageVersion = LanguageVersion.
CSharp12
,
485
LanguageVersion = LanguageVersion.
CSharp12
,
515
LanguageVersion = LanguageVersion.
CSharp12
,
545
LanguageVersion = LanguageVersion.
CSharp12
,
592
LanguageVersion = LanguageVersion.
CSharp12
,
639
LanguageVersion = LanguageVersion.
CSharp12
,
686
LanguageVersion = LanguageVersion.
CSharp12
,
726
LanguageVersion = LanguageVersion.
CSharp12
,
768
LanguageVersion = LanguageVersion.
CSharp12
,
810
LanguageVersion = LanguageVersion.
CSharp12
,
856
LanguageVersion = LanguageVersion.
CSharp12
,
894
LanguageVersion = LanguageVersion.
CSharp12
,
932
LanguageVersion = LanguageVersion.
CSharp12
,
970
LanguageVersion = LanguageVersion.
CSharp12
,
995
LanguageVersion = LanguageVersion.
CSharp12
,
1034
LanguageVersion = LanguageVersion.
CSharp12
,
1072
LanguageVersion = LanguageVersion.
CSharp12
,
1110
LanguageVersion = LanguageVersion.
CSharp12
,
1148
LanguageVersion = LanguageVersion.
CSharp12
,
1186
LanguageVersion = LanguageVersion.
CSharp12
,
1212
LanguageVersion = LanguageVersion.
CSharp12
,
1238
LanguageVersion = LanguageVersion.
CSharp12
,
1278
LanguageVersion = LanguageVersion.
CSharp12
,
1317
LanguageVersion = LanguageVersion.
CSharp12
,
1360
LanguageVersion = LanguageVersion.
CSharp12
,
1383
LanguageVersion = LanguageVersion.
CSharp12
,
1405
LanguageVersion = LanguageVersion.
CSharp12
,
1442
LanguageVersion = LanguageVersion.
CSharp12
,
1482
LanguageVersion = LanguageVersion.
CSharp12
,
1521
LanguageVersion = LanguageVersion.
CSharp12
,
1559
LanguageVersion = LanguageVersion.
CSharp12
,
1584
LanguageVersion = LanguageVersion.
CSharp12
,
1625
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForCreateTests.cs (50)
99
LanguageVersion = LanguageVersion.
CSharp12
,
121
LanguageVersion = LanguageVersion.
CSharp12
,
149
LanguageVersion = LanguageVersion.
CSharp12
,
170
LanguageVersion = LanguageVersion.
CSharp12
,
192
LanguageVersion = LanguageVersion.
CSharp12
,
214
LanguageVersion = LanguageVersion.
CSharp12
,
236
LanguageVersion = LanguageVersion.
CSharp12
,
258
LanguageVersion = LanguageVersion.
CSharp12
,
280
LanguageVersion = LanguageVersion.
CSharp12
,
296
LanguageVersion = LanguageVersion.
CSharp12
,
318
LanguageVersion = LanguageVersion.
CSharp12
,
340
LanguageVersion = LanguageVersion.
CSharp12
,
362
LanguageVersion = LanguageVersion.
CSharp12
,
378
LanguageVersion = LanguageVersion.
CSharp12
,
394
LanguageVersion = LanguageVersion.
CSharp12
,
416
LanguageVersion = LanguageVersion.
CSharp12
,
438
LanguageVersion = LanguageVersion.
CSharp12
,
460
LanguageVersion = LanguageVersion.
CSharp12
,
476
LanguageVersion = LanguageVersion.
CSharp12
,
497
LanguageVersion = LanguageVersion.
CSharp12
,
513
LanguageVersion = LanguageVersion.
CSharp12
,
535
LanguageVersion = LanguageVersion.
CSharp12
,
557
LanguageVersion = LanguageVersion.
CSharp12
,
579
LanguageVersion = LanguageVersion.
CSharp12
,
597
LanguageVersion = LanguageVersion.
CSharp12
,
615
LanguageVersion = LanguageVersion.
CSharp12
,
641
LanguageVersion = LanguageVersion.
CSharp12
,
667
LanguageVersion = LanguageVersion.
CSharp12
,
693
LanguageVersion = LanguageVersion.
CSharp12
,
719
LanguageVersion = LanguageVersion.
CSharp12
,
745
LanguageVersion = LanguageVersion.
CSharp12
,
763
LanguageVersion = LanguageVersion.
CSharp12
,
782
LanguageVersion = LanguageVersion.
CSharp12
,
804
LanguageVersion = LanguageVersion.
CSharp12
,
828
LanguageVersion = LanguageVersion.
CSharp12
,
859
LanguageVersion = LanguageVersion.
CSharp12
,
881
LanguageVersion = LanguageVersion.
CSharp12
,
915
LanguageVersion = LanguageVersion.
CSharp12
,
937
LanguageVersion = LanguageVersion.
CSharp12
,
971
LanguageVersion = LanguageVersion.
CSharp12
,
987
LanguageVersion = LanguageVersion.
CSharp12
,
1015
LanguageVersion = LanguageVersion.
CSharp12
,
1053
LanguageVersion = LanguageVersion.
CSharp12
,
1090
LanguageVersion = LanguageVersion.
CSharp12
,
1131
LanguageVersion = LanguageVersion.
CSharp12
,
1156
LanguageVersion = LanguageVersion.
CSharp12
,
1181
LanguageVersion = LanguageVersion.
CSharp12
,
1215
LanguageVersion = LanguageVersion.
CSharp12
,
1241
LanguageVersion = LanguageVersion.
CSharp12
,
1259
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForEmptyTests.cs (49)
51
LanguageVersion = LanguageVersion.
CSharp12
,
82
LanguageVersion = LanguageVersion.
CSharp12
,
113
LanguageVersion = LanguageVersion.
CSharp12
,
142
LanguageVersion = LanguageVersion.
CSharp12
,
161
LanguageVersion = LanguageVersion.
CSharp12
,
198
LanguageVersion = LanguageVersion.
CSharp12
,
219
LanguageVersion = LanguageVersion.
CSharp12
,
254
LanguageVersion = LanguageVersion.
CSharp12
,
287
LanguageVersion = LanguageVersion.
CSharp12
,
320
LanguageVersion = LanguageVersion.
CSharp12
,
353
LanguageVersion = LanguageVersion.
CSharp12
,
386
LanguageVersion = LanguageVersion.
CSharp12
,
417
LanguageVersion = LanguageVersion.
CSharp12
,
438
LanguageVersion = LanguageVersion.
CSharp12
,
471
LanguageVersion = LanguageVersion.
CSharp12
,
496
LanguageVersion = LanguageVersion.
CSharp12
,
553
LanguageVersion = LanguageVersion.
CSharp12
,
621
LanguageVersion = LanguageVersion.
CSharp12
,
689
LanguageVersion = LanguageVersion.
CSharp12
,
721
LanguageVersion = LanguageVersion.
CSharp12
,
742
LanguageVersion = LanguageVersion.
CSharp12
,
776
LanguageVersion = LanguageVersion.
CSharp12
,
798
LanguageVersion = LanguageVersion.
CSharp12
,
832
LanguageVersion = LanguageVersion.
CSharp12
,
865
LanguageVersion = LanguageVersion.
CSharp12
,
900
LanguageVersion = LanguageVersion.
CSharp12
,
951
LanguageVersion = LanguageVersion.
CSharp12
,
989
LanguageVersion = LanguageVersion.
CSharp12
,
1041
LanguageVersion = LanguageVersion.
CSharp12
,
1094
LanguageVersion = LanguageVersion.
CSharp12
,
1149
LanguageVersion = LanguageVersion.
CSharp12
,
1187
LanguageVersion = LanguageVersion.
CSharp12
,
1244
LanguageVersion = LanguageVersion.
CSharp12
,
1268
LanguageVersion = LanguageVersion.
CSharp12
,
1288
LanguageVersion = LanguageVersion.
CSharp12
,
1315
LanguageVersion = LanguageVersion.
CSharp12
,
1352
LanguageVersion = LanguageVersion.
CSharp12
,
1382
LanguageVersion = LanguageVersion.
CSharp12
,
1412
LanguageVersion = LanguageVersion.
CSharp12
,
1442
LanguageVersion = LanguageVersion.
CSharp12
,
1472
LanguageVersion = LanguageVersion.
CSharp12
,
1508
LanguageVersion = LanguageVersion.
CSharp12
,
1548
LanguageVersion = LanguageVersion.
CSharp12
,
1586
LanguageVersion = LanguageVersion.
CSharp12
,
1609
LanguageVersion = LanguageVersion.
CSharp12
,
1632
LanguageVersion = LanguageVersion.
CSharp12
,
1669
LanguageVersion = LanguageVersion.
CSharp12
,
1694
LanguageVersion = LanguageVersion.
CSharp12
,
1716
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForFluentTests.cs (89)
73
LanguageVersion = LanguageVersion.
CSharp12
,
107
LanguageVersion = LanguageVersion.
CSharp12
,
141
LanguageVersion = LanguageVersion.
CSharp12
,
164
LanguageVersion = LanguageVersion.
CSharp12
,
198
LanguageVersion = LanguageVersion.
CSharp12
,
232
LanguageVersion = LanguageVersion.
CSharp12
,
254
LanguageVersion = LanguageVersion.
CSharp12
,
290
LanguageVersion = LanguageVersion.
CSharp12
,
326
LanguageVersion = LanguageVersion.
CSharp12
,
362
LanguageVersion = LanguageVersion.
CSharp12
,
398
LanguageVersion = LanguageVersion.
CSharp12
,
434
LanguageVersion = LanguageVersion.
CSharp12
,
470
LanguageVersion = LanguageVersion.
CSharp12
,
506
LanguageVersion = LanguageVersion.
CSharp12
,
542
LanguageVersion = LanguageVersion.
CSharp12
,
578
LanguageVersion = LanguageVersion.
CSharp12
,
614
LanguageVersion = LanguageVersion.
CSharp12
,
650
LanguageVersion = LanguageVersion.
CSharp12
,
686
LanguageVersion = LanguageVersion.
CSharp12
,
709
LanguageVersion = LanguageVersion.
CSharp12
,
732
LanguageVersion = LanguageVersion.
CSharp12
,
755
LanguageVersion = LanguageVersion.
CSharp12
,
795
LanguageVersion = LanguageVersion.
CSharp12
,
831
LanguageVersion = LanguageVersion.
CSharp12
,
854
LanguageVersion = LanguageVersion.
CSharp12
,
898
LanguageVersion = LanguageVersion.
CSharp12
,
934
LanguageVersion = LanguageVersion.
CSharp12
,
957
LanguageVersion = LanguageVersion.
CSharp12
,
993
LanguageVersion = LanguageVersion.
CSharp12
,
1029
LanguageVersion = LanguageVersion.
CSharp12
,
1071
LanguageVersion = LanguageVersion.
CSharp12
,
1118
LanguageVersion = LanguageVersion.
CSharp12
,
1160
LanguageVersion = LanguageVersion.
CSharp12
,
1207
LanguageVersion = LanguageVersion.
CSharp12
,
1233
LanguageVersion = LanguageVersion.
CSharp12
,
1259
LanguageVersion = LanguageVersion.
CSharp12
,
1285
LanguageVersion = LanguageVersion.
CSharp12
,
1310
LanguageVersion = LanguageVersion.
CSharp12
,
1335
LanguageVersion = LanguageVersion.
CSharp12
,
1371
LanguageVersion = LanguageVersion.
CSharp12
,
1407
LanguageVersion = LanguageVersion.
CSharp12
,
1443
LanguageVersion = LanguageVersion.
CSharp12
,
1481
LanguageVersion = LanguageVersion.
CSharp12
,
1519
LanguageVersion = LanguageVersion.
CSharp12
,
1543
LanguageVersion = LanguageVersion.
CSharp12
,
1570
LanguageVersion = LanguageVersion.
CSharp12
,
1608
LanguageVersion = LanguageVersion.
CSharp12
,
1646
LanguageVersion = LanguageVersion.
CSharp12
,
1684
LanguageVersion = LanguageVersion.
CSharp12
,
1728
LanguageVersion = LanguageVersion.
CSharp12
,
1772
LanguageVersion = LanguageVersion.
CSharp12
,
1810
LanguageVersion = LanguageVersion.
CSharp12
,
1848
LanguageVersion = LanguageVersion.
CSharp12
,
1894
LanguageVersion = LanguageVersion.
CSharp12
,
1939
LanguageVersion = LanguageVersion.
CSharp12
,
1973
LanguageVersion = LanguageVersion.
CSharp12
,
1995
LanguageVersion = LanguageVersion.
CSharp12
,
2031
LanguageVersion = LanguageVersion.
CSharp12
,
2079
LanguageVersion = LanguageVersion.
CSharp12
,
2114
LanguageVersion = LanguageVersion.
CSharp12
,
2149
LanguageVersion = LanguageVersion.
CSharp12
,
2183
LanguageVersion = LanguageVersion.
CSharp12
,
2206
LanguageVersion = LanguageVersion.
CSharp12
,
2242
LanguageVersion = LanguageVersion.
CSharp12
,
2265
LanguageVersion = LanguageVersion.
CSharp12
,
2301
LanguageVersion = LanguageVersion.
CSharp12
,
2324
LanguageVersion = LanguageVersion.
CSharp12
,
2360
LanguageVersion = LanguageVersion.
CSharp12
,
2398
LanguageVersion = LanguageVersion.
CSharp12
,
2432
LanguageVersion = LanguageVersion.
CSharp12
,
2466
LanguageVersion = LanguageVersion.
CSharp12
,
2501
LanguageVersion = LanguageVersion.
CSharp12
,
2536
LanguageVersion = LanguageVersion.
CSharp12
,
2573
LanguageVersion = LanguageVersion.
CSharp12
,
2610
LanguageVersion = LanguageVersion.
CSharp12
,
2650
LanguageVersion = LanguageVersion.
CSharp12
,
2674
LanguageVersion = LanguageVersion.
CSharp12
,
2698
LanguageVersion = LanguageVersion.
CSharp12
,
2728
LanguageVersion = LanguageVersion.
CSharp12
,
2761
LanguageVersion = LanguageVersion.
CSharp12
,
2783
LanguageVersion = LanguageVersion.
CSharp12
,
2823
LanguageVersion = LanguageVersion.
CSharp12
,
2859
LanguageVersion = LanguageVersion.
CSharp12
,
2886
LanguageVersion = LanguageVersion.
CSharp12
,
2929
LanguageVersion = LanguageVersion.
CSharp12
,
2963
LanguageVersion = LanguageVersion.
CSharp12
,
2997
LanguageVersion = LanguageVersion.
CSharp12
,
3031
LanguageVersion = LanguageVersion.
CSharp12
,
3065
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForStackAllocTests.cs (54)
80
LanguageVersion = LanguageVersion.
CSharp12
,
101
LanguageVersion = LanguageVersion.
CSharp12
,
133
LanguageVersion = LanguageVersion.
CSharp12
,
165
LanguageVersion = LanguageVersion.
CSharp12
,
197
LanguageVersion = LanguageVersion.
CSharp12
,
229
LanguageVersion = LanguageVersion.
CSharp12
,
250
LanguageVersion = LanguageVersion.
CSharp12
,
271
LanguageVersion = LanguageVersion.
CSharp12
,
292
LanguageVersion = LanguageVersion.
CSharp12
,
313
LanguageVersion = LanguageVersion.
CSharp12
,
347
LanguageVersion = LanguageVersion.
CSharp12
,
368
LanguageVersion = LanguageVersion.
CSharp12
,
389
LanguageVersion = LanguageVersion.
CSharp12
,
410
LanguageVersion = LanguageVersion.
CSharp12
,
431
LanguageVersion = LanguageVersion.
CSharp12
,
467
LanguageVersion = LanguageVersion.
CSharp12
,
503
LanguageVersion = LanguageVersion.
CSharp12
,
535
LanguageVersion = LanguageVersion.
CSharp12
,
567
LanguageVersion = LanguageVersion.
CSharp12
,
589
LanguageVersion = LanguageVersion.
CSharp12
,
621
LanguageVersion = LanguageVersion.
CSharp12
,
642
LanguageVersion = LanguageVersion.
CSharp12
,
674
LanguageVersion = LanguageVersion.
CSharp12
,
695
LanguageVersion = LanguageVersion.
CSharp12
,
717
LanguageVersion = LanguageVersion.
CSharp12
,
741
LanguageVersion = LanguageVersion.
CSharp12
,
763
LanguageVersion = LanguageVersion.
CSharp12
,
785
LanguageVersion = LanguageVersion.
CSharp12
,
809
LanguageVersion = LanguageVersion.
CSharp12
,
833
LanguageVersion = LanguageVersion.
CSharp12
,
855
LanguageVersion = LanguageVersion.
CSharp12
,
877
LanguageVersion = LanguageVersion.
CSharp12
,
900
LanguageVersion = LanguageVersion.
CSharp12
,
933
LanguageVersion = LanguageVersion.
CSharp12
,
968
LanguageVersion = LanguageVersion.
CSharp12
,
1002
LanguageVersion = LanguageVersion.
CSharp12
,
1038
LanguageVersion = LanguageVersion.
CSharp12
,
1061
LanguageVersion = LanguageVersion.
CSharp12
,
1085
LanguageVersion = LanguageVersion.
CSharp12
,
1111
LanguageVersion = LanguageVersion.
CSharp12
,
1151
LanguageVersion = LanguageVersion.
CSharp12
,
1191
LanguageVersion = LanguageVersion.
CSharp12
,
1229
LanguageVersion = LanguageVersion.
CSharp12
,
1269
LanguageVersion = LanguageVersion.
CSharp12
,
1305
LanguageVersion = LanguageVersion.
CSharp12
,
1343
LanguageVersion = LanguageVersion.
CSharp12
,
1381
LanguageVersion = LanguageVersion.
CSharp12
,
1421
LanguageVersion = LanguageVersion.
CSharp12
,
1457
LanguageVersion = LanguageVersion.
CSharp12
,
1495
LanguageVersion = LanguageVersion.
CSharp12
,
1533
LanguageVersion = LanguageVersion.
CSharp12
,
1575
LanguageVersion = LanguageVersion.
CSharp12
,
1595
LanguageVersion = LanguageVersion.
CSharp12
,
1631
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests.cs (5)
1683
""", OutputKind.ConsoleApplication, LanguageVersion.
CSharp12
);
1715
""", languageVersion: LanguageVersion.
CSharp12
);
1749
LanguageVersion = LanguageVersion.
CSharp12
,
1786
LanguageVersion = LanguageVersion.
CSharp12
,
1827
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests_CollectionExpression.cs (21)
31
LanguageVersion = LanguageVersion.
CSharp12
,
375
LanguageVersion = LanguageVersion.
CSharp12
,
798
LanguageVersion = LanguageVersion.
CSharp12
,
823
LanguageVersion = LanguageVersion.
CSharp12
,
1941
LanguageVersion = LanguageVersion.
CSharp12
,
4385
LanguageVersion = LanguageVersion.
CSharp12
,
5346
LanguageVersion = LanguageVersion.
CSharp12
,
5386
LanguageVersion = LanguageVersion.
CSharp12
,
5423
LanguageVersion = LanguageVersion.
CSharp12
,
5457
LanguageVersion = LanguageVersion.
CSharp12
,
5491
LanguageVersion = LanguageVersion.
CSharp12
,
5525
LanguageVersion = LanguageVersion.
CSharp12
,
5569
LanguageVersion = LanguageVersion.
CSharp12
,
5603
LanguageVersion = LanguageVersion.
CSharp12
,
5637
LanguageVersion = LanguageVersion.
CSharp12
,
5681
LanguageVersion = LanguageVersion.
CSharp12
,
5705
LanguageVersion = LanguageVersion.
CSharp12
,
5743
LanguageVersion = LanguageVersion.
CSharp12
,
5777
LanguageVersion = LanguageVersion.
CSharp12
,
5811
LanguageVersion = LanguageVersion.
CSharp12
,
5865
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCompoundAssignment\UseCompoundCoalesceAssignmentTests.cs (3)
958
""", LanguageVersion.
CSharp12
);
978
""", LanguageVersion.
CSharp12
);
1001
""", LanguageVersion.
CSharp12
);
src\Analyzers\CSharp\Tests\UseObjectInitializer\UseObjectInitializerTests.cs (22)
76
LanguageVersion = LanguageVersion.
CSharp12
,
183
LanguageVersion = LanguageVersion.
CSharp12
,
248
LanguageVersion = LanguageVersion.
CSharp12
,
312
LanguageVersion = LanguageVersion.
CSharp12
,
357
LanguageVersion = LanguageVersion.
CSharp12
,
404
LanguageVersion = LanguageVersion.
CSharp12
,
451
LanguageVersion = LanguageVersion.
CSharp12
,
497
LanguageVersion = LanguageVersion.
CSharp12
,
546
LanguageVersion = LanguageVersion.
CSharp12
,
597
LanguageVersion = LanguageVersion.
CSharp12
,
678
LanguageVersion = LanguageVersion.
CSharp12
,
734
LanguageVersion = LanguageVersion.
CSharp12
,
791
LanguageVersion = LanguageVersion.
CSharp12
,
836
LanguageVersion = LanguageVersion.
CSharp12
,
888
LanguageVersion = LanguageVersion.
CSharp12
,
989
LanguageVersion = LanguageVersion.
CSharp12
,
1042
LanguageVersion = LanguageVersion.
CSharp12
,
1154
LanguageVersion = LanguageVersion.
CSharp12
,
1219
LanguageVersion = LanguageVersion.
CSharp12
,
1256
LanguageVersion = LanguageVersion.
CSharp12
,
1338
LanguageVersion = LanguageVersion.
CSharp12
,
1411
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UsePrimaryConstructor\UsePrimaryConstructorTests.cs (127)
40
LanguageVersion = LanguageVersion.
CSharp12
,
74
LanguageVersion = LanguageVersion.
CSharp12
,
96
LanguageVersion = LanguageVersion.
CSharp12
,
117
LanguageVersion = LanguageVersion.
CSharp12
,
146
LanguageVersion = LanguageVersion.
CSharp12
,
183
LanguageVersion = LanguageVersion.
CSharp12
,
220
LanguageVersion = LanguageVersion.
CSharp12
,
259
LanguageVersion = LanguageVersion.
CSharp12
,
298
LanguageVersion = LanguageVersion.
CSharp12
,
339
LanguageVersion = LanguageVersion.
CSharp12
,
355
LanguageVersion = LanguageVersion.
CSharp12
,
373
LanguageVersion = LanguageVersion.
CSharp12
,
397
LanguageVersion = LanguageVersion.
CSharp12
,
421
LanguageVersion = LanguageVersion.
CSharp12
,
445
LanguageVersion = LanguageVersion.
CSharp12
,
469
LanguageVersion = LanguageVersion.
CSharp12
,
490
LanguageVersion = LanguageVersion.
CSharp12
,
511
LanguageVersion = LanguageVersion.
CSharp12
,
529
LanguageVersion = LanguageVersion.
CSharp12
,
550
LanguageVersion = LanguageVersion.
CSharp12
,
574
LanguageVersion = LanguageVersion.
CSharp12
,
603
LanguageVersion = LanguageVersion.
CSharp12
,
630
LanguageVersion = LanguageVersion.
CSharp12
,
658
LanguageVersion = LanguageVersion.
CSharp12
,
686
LanguageVersion = LanguageVersion.
CSharp12
,
715
LanguageVersion = LanguageVersion.
CSharp12
,
738
LanguageVersion = LanguageVersion.
CSharp12
,
793
LanguageVersion = LanguageVersion.
CSharp12
,
832
LanguageVersion = LanguageVersion.
CSharp12
,
871
LanguageVersion = LanguageVersion.
CSharp12
,
910
LanguageVersion = LanguageVersion.
CSharp12
,
951
LanguageVersion = LanguageVersion.
CSharp12
,
994
LanguageVersion = LanguageVersion.
CSharp12
,
1037
LanguageVersion = LanguageVersion.
CSharp12
,
1059
LanguageVersion = LanguageVersion.
CSharp12
,
1081
LanguageVersion = LanguageVersion.
CSharp12
,
1111
LanguageVersion = LanguageVersion.
CSharp12
,
1147
LanguageVersion = LanguageVersion.
CSharp12
,
1187
LanguageVersion = LanguageVersion.
CSharp12
,
1217
LanguageVersion = LanguageVersion.
CSharp12
,
1265
LanguageVersion = LanguageVersion.
CSharp12
,
1309
LanguageVersion = LanguageVersion.
CSharp12
,
1349
LanguageVersion = LanguageVersion.
CSharp12
,
1398
LanguageVersion = LanguageVersion.
CSharp12
,
1445
LanguageVersion = LanguageVersion.
CSharp12
,
1487
LanguageVersion = LanguageVersion.
CSharp12
,
1529
LanguageVersion = LanguageVersion.
CSharp12
,
1577
LanguageVersion = LanguageVersion.
CSharp12
,
1625
LanguageVersion = LanguageVersion.
CSharp12
,
1672
LanguageVersion = LanguageVersion.
CSharp12
,
1721
LanguageVersion = LanguageVersion.
CSharp12
,
1754
LanguageVersion = LanguageVersion.
CSharp12
,
1786
LanguageVersion = LanguageVersion.
CSharp12
,
1827
LanguageVersion = LanguageVersion.
CSharp12
,
1886
LanguageVersion = LanguageVersion.
CSharp12
,
1914
LanguageVersion = LanguageVersion.
CSharp12
,
1942
LanguageVersion = LanguageVersion.
CSharp12
,
1976
LanguageVersion = LanguageVersion.
CSharp12
,
2012
LanguageVersion = LanguageVersion.
CSharp12
,
2049
LanguageVersion = LanguageVersion.
CSharp12
,
2088
LanguageVersion = LanguageVersion.
CSharp12
,
2120
LanguageVersion = LanguageVersion.
CSharp12
,
2155
LanguageVersion = LanguageVersion.
CSharp12
,
2183
LanguageVersion = LanguageVersion.
CSharp12
,
2217
LanguageVersion = LanguageVersion.
CSharp12
,
2247
LanguageVersion = LanguageVersion.
CSharp12
,
2283
LanguageVersion = LanguageVersion.
CSharp12
,
2311
LanguageVersion = LanguageVersion.
CSharp12
,
2345
LanguageVersion = LanguageVersion.
CSharp12
,
2375
LanguageVersion = LanguageVersion.
CSharp12
,
2411
LanguageVersion = LanguageVersion.
CSharp12
,
2440
LanguageVersion = LanguageVersion.
CSharp12
,
2473
LanguageVersion = LanguageVersion.
CSharp12
,
2502
LanguageVersion = LanguageVersion.
CSharp12
,
2535
LanguageVersion = LanguageVersion.
CSharp12
,
2565
LanguageVersion = LanguageVersion.
CSharp12
,
2586
LanguageVersion = LanguageVersion.
CSharp12
,
2612
LanguageVersion = LanguageVersion.
CSharp12
,
2638
LanguageVersion = LanguageVersion.
CSharp12
,
2660
LanguageVersion = LanguageVersion.
CSharp12
,
2682
LanguageVersion = LanguageVersion.
CSharp12
,
2706
LanguageVersion = LanguageVersion.
CSharp12
,
2730
LanguageVersion = LanguageVersion.
CSharp12
,
2754
LanguageVersion = LanguageVersion.
CSharp12
,
2778
LanguageVersion = LanguageVersion.
CSharp12
,
2804
LanguageVersion = LanguageVersion.
CSharp12
,
2830
LanguageVersion = LanguageVersion.
CSharp12
,
2863
LanguageVersion = LanguageVersion.
CSharp12
,
2904
LanguageVersion = LanguageVersion.
CSharp12
,
2936
LanguageVersion = LanguageVersion.
CSharp12
,
2968
LanguageVersion = LanguageVersion.
CSharp12
,
2996
LanguageVersion = LanguageVersion.
CSharp12
,
3024
LanguageVersion = LanguageVersion.
CSharp12
,
3052
LanguageVersion = LanguageVersion.
CSharp12
,
3129
LanguageVersion = LanguageVersion.
CSharp12
,
3167
LanguageVersion = LanguageVersion.
CSharp12
,
3212
LanguageVersion = LanguageVersion.
CSharp12
,
3250
LanguageVersion = LanguageVersion.
CSharp12
,
3292
LanguageVersion = LanguageVersion.
CSharp12
,
3321
LanguageVersion = LanguageVersion.
CSharp12
,
3343
LanguageVersion = LanguageVersion.
CSharp12
,
3370
LanguageVersion = LanguageVersion.
CSharp12
,
3391
LanguageVersion = LanguageVersion.
CSharp12
,
3420
LanguageVersion = LanguageVersion.
CSharp12
,
3442
LanguageVersion = LanguageVersion.
CSharp12
,
3468
LanguageVersion = LanguageVersion.
CSharp12
,
3497
LanguageVersion = LanguageVersion.
CSharp12
,
3526
LanguageVersion = LanguageVersion.
CSharp12
,
3555
LanguageVersion = LanguageVersion.
CSharp12
,
3584
LanguageVersion = LanguageVersion.
CSharp12
,
3606
LanguageVersion = LanguageVersion.
CSharp12
,
3628
LanguageVersion = LanguageVersion.
CSharp12
,
3645
LanguageVersion = LanguageVersion.
CSharp12
,
3692
LanguageVersion = LanguageVersion.
CSharp12
,
3728
LanguageVersion = LanguageVersion.
CSharp12
,
3765
LanguageVersion = LanguageVersion.
CSharp12
,
3791
LanguageVersion = LanguageVersion.
CSharp12
,
3813
LanguageVersion = LanguageVersion.
CSharp12
,
3839
LanguageVersion = LanguageVersion.
CSharp12
,
3869
LanguageVersion = LanguageVersion.
CSharp12
,
3912
LanguageVersion = LanguageVersion.
CSharp12
,
3955
LanguageVersion = LanguageVersion.
CSharp12
,
3998
LanguageVersion = LanguageVersion.
CSharp12
,
4027
LanguageVersion = LanguageVersion.
CSharp12
,
4070
LanguageVersion = LanguageVersion.
CSharp12
,
4100
LanguageVersion = LanguageVersion.
CSharp12
,
4126
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseSystemThreadingLock\UseSystemThreadingLockTests.cs (3)
87
LanguageVersion = LanguageVersion.
CSharp12
,
110
LanguageVersion = LanguageVersion.
CSharp12
,
133
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseUtf8StringLiteral\UseUtf8StringLiteralTests.cs (48)
47
LanguageVersion = LanguageVersion.
CSharp12
86
LanguageVersion = LanguageVersion.
CSharp12
106
LanguageVersion = LanguageVersion.
CSharp12
133
LanguageVersion = LanguageVersion.
CSharp12
153
LanguageVersion = LanguageVersion.
CSharp12
177
LanguageVersion = LanguageVersion.
CSharp12
199
LanguageVersion = LanguageVersion.
CSharp12
219
LanguageVersion = LanguageVersion.
CSharp12
250
LanguageVersion = LanguageVersion.
CSharp12
283
LanguageVersion = LanguageVersion.
CSharp12
314
LanguageVersion = LanguageVersion.
CSharp12
345
LanguageVersion = LanguageVersion.
CSharp12
376
LanguageVersion = LanguageVersion.
CSharp12
407
LanguageVersion = LanguageVersion.
CSharp12
437
LanguageVersion = LanguageVersion.
CSharp12
468
LanguageVersion = LanguageVersion.
CSharp12
499
LanguageVersion = LanguageVersion.
CSharp12
534
LanguageVersion = LanguageVersion.
CSharp12
565
LanguageVersion = LanguageVersion.
CSharp12
596
LanguageVersion = LanguageVersion.
CSharp12
617
LanguageVersion = LanguageVersion.
CSharp12
638
LanguageVersion = LanguageVersion.
CSharp12
659
LanguageVersion = LanguageVersion.
CSharp12
693
LanguageVersion = LanguageVersion.
CSharp12
774
LanguageVersion = LanguageVersion.
CSharp12
802
LanguageVersion = LanguageVersion.
CSharp12
835
LanguageVersion = LanguageVersion.
CSharp12
890
LanguageVersion = LanguageVersion.
CSharp12
921
LanguageVersion = LanguageVersion.
CSharp12
952
LanguageVersion = LanguageVersion.
CSharp12
983
LanguageVersion = LanguageVersion.
CSharp12
1014
LanguageVersion = LanguageVersion.
CSharp12
1045
LanguageVersion = LanguageVersion.
CSharp12
1076
LanguageVersion = LanguageVersion.
CSharp12
1096
LanguageVersion = LanguageVersion.
CSharp12
1127
LanguageVersion = LanguageVersion.
CSharp12
1158
LanguageVersion = LanguageVersion.
CSharp12
1189
LanguageVersion = LanguageVersion.
CSharp12
1220
LanguageVersion = LanguageVersion.
CSharp12
1251
LanguageVersion = LanguageVersion.
CSharp12
1292
LanguageVersion = LanguageVersion.
CSharp12
1347
LanguageVersion = LanguageVersion.
CSharp12
1436
LanguageVersion = LanguageVersion.
CSharp12
1467
LanguageVersion = LanguageVersion.
CSharp12
1498
LanguageVersion = LanguageVersion.
CSharp12
1529
LanguageVersion = LanguageVersion.
CSharp12
1564
LanguageVersion = LanguageVersion.
CSharp12
1599
LanguageVersion = LanguageVersion.
CSharp12
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\LambdaTests.cs (2)
7150
[InlineData(LanguageVersion.
CSharp12
)]
8269
[InlineData(LanguageVersion.
CSharp12
)]
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
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\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)
44
public static readonly CSharpParseOptions Regular12 = Regular.WithLanguageVersion(LanguageVersion.
CSharp12
);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\LanguageVersionExtensions.cs (1)
13
=> languageVersion >= LanguageVersion.
CSharp12
;
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (70)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (69)
55
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
83
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
97
<Project Language="C#" CommonReferences="true" LanguageVersion=<%= LanguageVersion.
CSharp12
.ToDisplayString() %>>
131
<Project Language="C#" CommonReferences="true" LanguageVersion=<%= LanguageVersion.
CSharp12
.ToDisplayString() %>>
179
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
211
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
284
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
320
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
354
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
381
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
420
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
449
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
490
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
531
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
570
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
782
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9745
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9793
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9830
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9861
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9890
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9909
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9928
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9949
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9970
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9990
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10010
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10030
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10050
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10071
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10091
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10111
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10131
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10151
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10172
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10195
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10218
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10241
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11276
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11302
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11333
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11365
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11397
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11429
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11461
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11493
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11525
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11554
languageVersion:=LanguageVersion.
CSharp12
)
11584
languageVersion:=LanguageVersion.
CSharp12
)
11601
<Project Language="C#" AssemblyName="TestAssembly" CommonReferencesPortable="true" LanguageVersion=<%= LanguageVersion.
CSharp12
.ToDisplayString() %>>
11639
languageVersion:=LanguageVersion.
CSharp12
)
11661
languageVersion:=LanguageVersion.
CSharp12
)
11683
languageVersion:=LanguageVersion.
CSharp12
)
11709
languageVersion:=LanguageVersion.
CSharp12
)
11732
languageVersion:=LanguageVersion.
CSharp12
)
11749
languageVersion:=LanguageVersion.
CSharp12
)
11771
languageVersion:=LanguageVersion.
CSharp12
)
11793
languageVersion:=LanguageVersion.
CSharp12
)
11819
languageVersion:=LanguageVersion.
CSharp12
)
11842
languageVersion:=LanguageVersion.
CSharp12
)
11867
languageVersion:=LanguageVersion.
CSharp12
)
11897
languageVersion:=LanguageVersion.
CSharp12
)
11927
languageVersion:=LanguageVersion.
CSharp12
)
11977
languageVersion:=LanguageVersion.
CSharp12
)
11997
languageVersion:=LanguageVersion.
CSharp12
)
12592
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
12616
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
12633
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
12678
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
IntelliSense\CSharpCompletionCommandHandlerTests_DeclarationName.vb (1)
43
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportFixer.cs (1)
631
if (((CSharpParseOptions)syntaxTree.Options).LanguageVersion < LanguageVersion.
CSharp12
)