1562 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)
504
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)
16
=> languageVersion >= LanguageVersion.
CSharp12
;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (671)
src\Analyzers\CSharp\Tests\AddAccessibilityModifiers\AddAccessibilityModifiersTests.cs (11)
229
LanguageVersion = LanguageVersion.
CSharp12
,
596
LanguageVersion = LanguageVersion.
CSharp12
,
623
LanguageVersion = LanguageVersion.
CSharp12
,
645
LanguageVersion = LanguageVersion.
CSharp12
,
657
LanguageVersion = LanguageVersion.
CSharp12
,
689
LanguageVersion = LanguageVersion.
CSharp12
,
713
LanguageVersion = LanguageVersion.
CSharp12
,
740
LanguageVersion = LanguageVersion.
CSharp12
,
789
LanguageVersion = LanguageVersion.
CSharp12
,
837
LanguageVersion = LanguageVersion.
CSharp12
,
885
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\AddParameter\AddParameterTests.cs (2)
2936
""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp12
));
2978
""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp12
));
src\Analyzers\CSharp\Tests\ConvertNamespace\ConvertToFileScopedNamespaceAnalyzerTests.cs (3)
720
LanguageVersion = LanguageVersion.
CSharp12
,
775
LanguageVersion = LanguageVersion.
CSharp12
,
830
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\GenerateDefaultConstructors\GenerateDefaultConstructorsTests.cs (1)
958
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (27)
74
LanguageVersion = LanguageVersion.
CSharp12
,
113
LanguageVersion = LanguageVersion.
CSharp12
,
152
LanguageVersion = LanguageVersion.
CSharp12
,
10545
LanguageVersion = LanguageVersion.
CSharp12
,
10578
LanguageVersion = LanguageVersion.
CSharp12
,
10611
LanguageVersion = LanguageVersion.
CSharp12
,
10644
LanguageVersion = LanguageVersion.
CSharp12
,
10681
LanguageVersion = LanguageVersion.
CSharp12
,
11071
LanguageVersion = LanguageVersion.
CSharp12
,
11108
LanguageVersion = LanguageVersion.
CSharp12
,
11145
LanguageVersion = LanguageVersion.
CSharp12
,
11182
LanguageVersion = LanguageVersion.
CSharp12
,
11217
LanguageVersion = LanguageVersion.
CSharp12
,
11252
LanguageVersion = LanguageVersion.
CSharp12
,
11294
LanguageVersion = LanguageVersion.
CSharp12
,
11329
LanguageVersion = LanguageVersion.
CSharp12
,
11364
LanguageVersion = LanguageVersion.
CSharp12
,
11400
LanguageVersion = LanguageVersion.
CSharp12
,
11436
LanguageVersion = LanguageVersion.
CSharp12
,
11472
LanguageVersion = LanguageVersion.
CSharp12
,
11508
LanguageVersion = LanguageVersion.
CSharp12
,
11544
LanguageVersion = LanguageVersion.
CSharp12
,
11580
LanguageVersion = LanguageVersion.
CSharp12
,
11656
LanguageVersion = LanguageVersion.
CSharp12
,
11732
LanguageVersion = LanguageVersion.
CSharp12
,
11886
LanguageVersion = LanguageVersion.
CSharp12
,
12035
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 (33)
1408
LanguageVersion = LanguageVersion.
CSharp12
,
1442
LanguageVersion = LanguageVersion.
CSharp12
,
1476
LanguageVersion = LanguageVersion.
CSharp12
,
1534
LanguageVersion = LanguageVersion.
CSharp12
,
1592
LanguageVersion = LanguageVersion.
CSharp12
,
1650
LanguageVersion = LanguageVersion.
CSharp12
,
1708
LanguageVersion = LanguageVersion.
CSharp12
,
1728
LanguageVersion = LanguageVersion.
CSharp12
,
1748
LanguageVersion = LanguageVersion.
CSharp12
,
1768
LanguageVersion = LanguageVersion.
CSharp12
,
1791
LanguageVersion = LanguageVersion.
CSharp12
,
1814
LanguageVersion = LanguageVersion.
CSharp12
,
1839
LanguageVersion = LanguageVersion.
CSharp12
,
1880
LanguageVersion = LanguageVersion.
CSharp12
,
1907
LanguageVersion = LanguageVersion.
CSharp12
,
1925
LanguageVersion = LanguageVersion.
CSharp12
,
1966
LanguageVersion = LanguageVersion.
CSharp12
,
2007
LanguageVersion = LanguageVersion.
CSharp12
,
2038
LanguageVersion = LanguageVersion.
CSharp12
,
2058
LanguageVersion = LanguageVersion.
CSharp12
,
2078
LanguageVersion = LanguageVersion.
CSharp12
,
2105
LanguageVersion = LanguageVersion.
CSharp12
,
2149
LanguageVersion = LanguageVersion.
CSharp12
,
2176
LanguageVersion = LanguageVersion.
CSharp12
,
2216
LanguageVersion = LanguageVersion.
CSharp12
,
2264
LanguageVersion = LanguageVersion.
CSharp12
,
2314
LanguageVersion = LanguageVersion.
CSharp12
,
2364
LanguageVersion = LanguageVersion.
CSharp12
,
2424
LanguageVersion = LanguageVersion.
CSharp12
,
2460
LanguageVersion = LanguageVersion.
CSharp12
,
2490
LanguageVersion = LanguageVersion.
CSharp12
,
2520
LanguageVersion = LanguageVersion.
CSharp12
,
2554
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 (20)
13578
LanguageVersion = LanguageVersion.
CSharp12
,
13596
LanguageVersion = LanguageVersion.
CSharp12
,
13621
LanguageVersion = LanguageVersion.
CSharp12
,
13648
LanguageVersion = LanguageVersion.
CSharp12
,
13681
LanguageVersion = LanguageVersion.
CSharp12
,
13704
LanguageVersion = LanguageVersion.
CSharp12
,
13734
LanguageVersion = LanguageVersion.
CSharp12
,
13778
LanguageVersion = LanguageVersion.
CSharp12
,
13815
LanguageVersion = LanguageVersion.
CSharp12
,
13893
LanguageVersion = LanguageVersion.
CSharp12
,
13933
LanguageVersion = LanguageVersion.
CSharp12
,
13954
LanguageVersion = LanguageVersion.
CSharp12
,
13975
LanguageVersion = LanguageVersion.
CSharp12
,
13994
LanguageVersion = LanguageVersion.
CSharp12
,
14013
LanguageVersion = LanguageVersion.
CSharp12
,
14032
LanguageVersion = LanguageVersion.
CSharp12
,
14053
LanguageVersion = LanguageVersion.
CSharp12
,
14074
LanguageVersion = LanguageVersion.
CSharp12
,
14095
LanguageVersion = LanguageVersion.
CSharp12
,
14118
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\RemoveUnnecessaryLambdaExpression\RemoveUnnecessaryLambdaExpressionTests.cs (3)
28
LanguageVersion version = LanguageVersion.
CSharp12
,
45
LanguageVersion version = LanguageVersion.
CSharp12
,
123
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (1)
10062
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)
25
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 (51)
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
,
508
LanguageVersion = LanguageVersion.
CSharp12
,
530
LanguageVersion = LanguageVersion.
CSharp12
,
552
LanguageVersion = LanguageVersion.
CSharp12
,
574
LanguageVersion = LanguageVersion.
CSharp12
,
596
LanguageVersion = LanguageVersion.
CSharp12
,
614
LanguageVersion = LanguageVersion.
CSharp12
,
632
LanguageVersion = LanguageVersion.
CSharp12
,
658
LanguageVersion = LanguageVersion.
CSharp12
,
684
LanguageVersion = LanguageVersion.
CSharp12
,
710
LanguageVersion = LanguageVersion.
CSharp12
,
736
LanguageVersion = LanguageVersion.
CSharp12
,
762
LanguageVersion = LanguageVersion.
CSharp12
,
788
LanguageVersion = LanguageVersion.
CSharp12
,
807
LanguageVersion = LanguageVersion.
CSharp12
,
829
LanguageVersion = LanguageVersion.
CSharp12
,
853
LanguageVersion = LanguageVersion.
CSharp12
,
884
LanguageVersion = LanguageVersion.
CSharp12
,
906
LanguageVersion = LanguageVersion.
CSharp12
,
940
LanguageVersion = LanguageVersion.
CSharp12
,
962
LanguageVersion = LanguageVersion.
CSharp12
,
996
LanguageVersion = LanguageVersion.
CSharp12
,
1012
LanguageVersion = LanguageVersion.
CSharp12
,
1040
LanguageVersion = LanguageVersion.
CSharp12
,
1078
LanguageVersion = LanguageVersion.
CSharp12
,
1115
LanguageVersion = LanguageVersion.
CSharp12
,
1156
LanguageVersion = LanguageVersion.
CSharp12
,
1181
LanguageVersion = LanguageVersion.
CSharp12
,
1206
LanguageVersion = LanguageVersion.
CSharp12
,
1240
LanguageVersion = LanguageVersion.
CSharp12
,
1266
LanguageVersion = LanguageVersion.
CSharp12
,
1284
LanguageVersion = LanguageVersion.
CSharp12
,
1324
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 (91)
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
,
2726
LanguageVersion = LanguageVersion.
CSharp12
,
2777
LanguageVersion = LanguageVersion.
CSharp12
,
2810
LanguageVersion = LanguageVersion.
CSharp12
,
2832
LanguageVersion = LanguageVersion.
CSharp12
,
2872
LanguageVersion = LanguageVersion.
CSharp12
,
2908
LanguageVersion = LanguageVersion.
CSharp12
,
2935
LanguageVersion = LanguageVersion.
CSharp12
,
2978
LanguageVersion = LanguageVersion.
CSharp12
,
3012
LanguageVersion = LanguageVersion.
CSharp12
,
3046
LanguageVersion = LanguageVersion.
CSharp12
,
3080
LanguageVersion = LanguageVersion.
CSharp12
,
3114
LanguageVersion = LanguageVersion.
CSharp12
,
3150
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForNewTests.cs (2)
55
LanguageVersion = LanguageVersion.
CSharp12
,
93
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)
1682
""", OutputKind.ConsoleApplication, LanguageVersion.
CSharp12
);
1714
""", languageVersion: LanguageVersion.
CSharp12
);
1748
LanguageVersion = LanguageVersion.
CSharp12
,
1785
LanguageVersion = LanguageVersion.
CSharp12
,
1826
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)
957
""", LanguageVersion.
CSharp12
);
977
""", LanguageVersion.
CSharp12
);
1000
""", LanguageVersion.
CSharp12
);
src\Analyzers\CSharp\Tests\UseObjectInitializer\UseObjectInitializerTests.cs (26)
77
LanguageVersion = LanguageVersion.
CSharp12
,
184
LanguageVersion = LanguageVersion.
CSharp12
,
249
LanguageVersion = LanguageVersion.
CSharp12
,
313
LanguageVersion = LanguageVersion.
CSharp12
,
358
LanguageVersion = LanguageVersion.
CSharp12
,
405
LanguageVersion = LanguageVersion.
CSharp12
,
452
LanguageVersion = LanguageVersion.
CSharp12
,
498
LanguageVersion = LanguageVersion.
CSharp12
,
547
LanguageVersion = LanguageVersion.
CSharp12
,
598
LanguageVersion = LanguageVersion.
CSharp12
,
679
LanguageVersion = LanguageVersion.
CSharp12
,
735
LanguageVersion = LanguageVersion.
CSharp12
,
792
LanguageVersion = LanguageVersion.
CSharp12
,
837
LanguageVersion = LanguageVersion.
CSharp12
,
889
LanguageVersion = LanguageVersion.
CSharp12
,
990
LanguageVersion = LanguageVersion.
CSharp12
,
1043
LanguageVersion = LanguageVersion.
CSharp12
,
1155
LanguageVersion = LanguageVersion.
CSharp12
,
1220
LanguageVersion = LanguageVersion.
CSharp12
,
1257
LanguageVersion = LanguageVersion.
CSharp12
,
1339
LanguageVersion = LanguageVersion.
CSharp12
,
1412
LanguageVersion = LanguageVersion.
CSharp12
,
1455
LanguageVersion = LanguageVersion.
CSharp12
,
1502
LanguageVersion = LanguageVersion.
CSharp12
,
1545
LanguageVersion = LanguageVersion.
CSharp12
,
1592
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UsePrimaryConstructor\UsePrimaryConstructorTests.cs (139)
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
,
4159
LanguageVersion = LanguageVersion.
CSharp12
,
4188
LanguageVersion = LanguageVersion.
CSharp12
,
4220
LanguageVersion = LanguageVersion.
CSharp12
,
4249
LanguageVersion = LanguageVersion.
CSharp12
,
4280
LanguageVersion = LanguageVersion.
CSharp12
,
4308
LanguageVersion = LanguageVersion.
CSharp12
,
4341
LanguageVersion = LanguageVersion.
CSharp12
,
4371
LanguageVersion = LanguageVersion.
CSharp12
,
4405
LanguageVersion = LanguageVersion.
CSharp12
,
4436
LanguageVersion = LanguageVersion.
CSharp12
,
4468
LanguageVersion = LanguageVersion.
CSharp12
,
4503
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)
1792
InlineData(LanguageVersion.
CSharp12
, LanguageVersion.
CSharp12
),
1839
InlineData("12", true, LanguageVersion.
CSharp12
),
1840
InlineData("12.0", true, LanguageVersion.
CSharp12
),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (12)
CodeActions\InitializeParameter\AddParameterCheckTests.cs (2)
2940
LanguageVersion = LanguageVersion.
CSharp12
,
2953
LanguageVersion = LanguageVersion.
CSharp12
,
Formatting\FormattingEngineTests.cs (6)
2712
AssertFormatWithView(expected, code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2737
AssertFormatWithView(expected, code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2762
AssertFormatWithView(expected, code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2782
AssertFormatAfterTypeChar(code, expected, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2802
AssertFormatAfterTypeChar(code, expected, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
2822
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 (768)
AddDebuggerDisplay\AddDebuggerDisplayTests.cs (1)
65
LanguageVersion = LanguageVersion.
CSharp12
,
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorTests.cs (80)
50
LanguageVersion = LanguageVersion.
CSharp12
,
69
LanguageVersion = LanguageVersion.
CSharp12
,
92
LanguageVersion = LanguageVersion.
CSharp12
,
121
LanguageVersion = LanguageVersion.
CSharp12
,
158
LanguageVersion = LanguageVersion.
CSharp12
,
195
LanguageVersion = LanguageVersion.
CSharp12
,
234
LanguageVersion = LanguageVersion.
CSharp12
,
273
LanguageVersion = LanguageVersion.
CSharp12
,
314
LanguageVersion = LanguageVersion.
CSharp12
,
340
LanguageVersion = LanguageVersion.
CSharp12
,
366
LanguageVersion = LanguageVersion.
CSharp12
,
392
LanguageVersion = LanguageVersion.
CSharp12
,
418
LanguageVersion = LanguageVersion.
CSharp12
,
444
LanguageVersion = LanguageVersion.
CSharp12
,
473
LanguageVersion = LanguageVersion.
CSharp12
,
502
LanguageVersion = LanguageVersion.
CSharp12
,
529
LanguageVersion = LanguageVersion.
CSharp12
,
565
LanguageVersion = LanguageVersion.
CSharp12
,
601
LanguageVersion = LanguageVersion.
CSharp12
,
623
LanguageVersion = LanguageVersion.
CSharp12
,
649
LanguageVersion = LanguageVersion.
CSharp12
,
701
LanguageVersion = LanguageVersion.
CSharp12
,
739
LanguageVersion = LanguageVersion.
CSharp12
,
777
LanguageVersion = LanguageVersion.
CSharp12
,
817
LanguageVersion = LanguageVersion.
CSharp12
,
859
LanguageVersion = LanguageVersion.
CSharp12
,
901
LanguageVersion = LanguageVersion.
CSharp12
,
944
LanguageVersion = LanguageVersion.
CSharp12
,
975
LanguageVersion = LanguageVersion.
CSharp12
,
1011
LanguageVersion = LanguageVersion.
CSharp12
,
1051
LanguageVersion = LanguageVersion.
CSharp12
,
1081
LanguageVersion = LanguageVersion.
CSharp12
,
1129
LanguageVersion = LanguageVersion.
CSharp12
,
1173
LanguageVersion = LanguageVersion.
CSharp12
,
1213
LanguageVersion = LanguageVersion.
CSharp12
,
1261
LanguageVersion = LanguageVersion.
CSharp12
,
1310
LanguageVersion = LanguageVersion.
CSharp12
,
1357
LanguageVersion = LanguageVersion.
CSharp12
,
1393
LanguageVersion = LanguageVersion.
CSharp12
,
1425
LanguageVersion = LanguageVersion.
CSharp12
,
1457
LanguageVersion = LanguageVersion.
CSharp12
,
1489
LanguageVersion = LanguageVersion.
CSharp12
,
1525
LanguageVersion = LanguageVersion.
CSharp12
,
1557
LanguageVersion = LanguageVersion.
CSharp12
,
1593
LanguageVersion = LanguageVersion.
CSharp12
,
1635
LanguageVersion = LanguageVersion.
CSharp12
,
1673
LanguageVersion = LanguageVersion.
CSharp12
,
1711
LanguageVersion = LanguageVersion.
CSharp12
,
1753
LanguageVersion = LanguageVersion.
CSharp12
,
1780
LanguageVersion = LanguageVersion.
CSharp12
,
1808
LanguageVersion = LanguageVersion.
CSharp12
,
1842
LanguageVersion = LanguageVersion.
CSharp12
,
1878
LanguageVersion = LanguageVersion.
CSharp12
,
1915
LanguageVersion = LanguageVersion.
CSharp12
,
1954
LanguageVersion = LanguageVersion.
CSharp12
,
1986
LanguageVersion = LanguageVersion.
CSharp12
,
2021
LanguageVersion = LanguageVersion.
CSharp12
,
2049
LanguageVersion = LanguageVersion.
CSharp12
,
2083
LanguageVersion = LanguageVersion.
CSharp12
,
2113
LanguageVersion = LanguageVersion.
CSharp12
,
2149
LanguageVersion = LanguageVersion.
CSharp12
,
2177
LanguageVersion = LanguageVersion.
CSharp12
,
2211
LanguageVersion = LanguageVersion.
CSharp12
,
2241
LanguageVersion = LanguageVersion.
CSharp12
,
2277
LanguageVersion = LanguageVersion.
CSharp12
,
2306
LanguageVersion = LanguageVersion.
CSharp12
,
2339
LanguageVersion = LanguageVersion.
CSharp12
,
2368
LanguageVersion = LanguageVersion.
CSharp12
,
2401
LanguageVersion = LanguageVersion.
CSharp12
,
2427
LanguageVersion = LanguageVersion.
CSharp12
,
2449
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
,
2738
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)
287
LanguageVersion = LanguageVersion.
CSharp12
,
408
LanguageVersion = LanguageVersion.
CSharp12
,
451
LanguageVersion = LanguageVersion.
CSharp12
,
466
LanguageVersion = LanguageVersion.
CSharp12
,
483
LanguageVersion = LanguageVersion.
CSharp12
,
498
LanguageVersion = LanguageVersion.
CSharp12
,
538
LanguageVersion = LanguageVersion.
CSharp12
,
GenerateVariable\GenerateVariableTests.cs (3)
9998
""" + TestResources.NetFX.ValueTuple.tuplelib_cs, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
10042
""", parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
10088
""", parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.
CSharp12
));
InlineTemporary\InlineTemporaryTests.cs (1)
4300
[InlineData(LanguageVersion.
CSharp12
)]
src\Analyzers\CSharp\Tests\AddAccessibilityModifiers\AddAccessibilityModifiersTests.cs (11)
229
LanguageVersion = LanguageVersion.
CSharp12
,
596
LanguageVersion = LanguageVersion.
CSharp12
,
623
LanguageVersion = LanguageVersion.
CSharp12
,
645
LanguageVersion = LanguageVersion.
CSharp12
,
657
LanguageVersion = LanguageVersion.
CSharp12
,
689
LanguageVersion = LanguageVersion.
CSharp12
,
713
LanguageVersion = LanguageVersion.
CSharp12
,
740
LanguageVersion = LanguageVersion.
CSharp12
,
789
LanguageVersion = LanguageVersion.
CSharp12
,
837
LanguageVersion = LanguageVersion.
CSharp12
,
885
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\AddParameter\AddParameterTests.cs (2)
2936
""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp12
));
2978
""", parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.
CSharp12
));
src\Analyzers\CSharp\Tests\ConvertNamespace\ConvertToFileScopedNamespaceAnalyzerTests.cs (3)
720
LanguageVersion = LanguageVersion.
CSharp12
,
775
LanguageVersion = LanguageVersion.
CSharp12
,
830
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\GenerateDefaultConstructors\GenerateDefaultConstructorsTests.cs (1)
958
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (27)
74
LanguageVersion = LanguageVersion.
CSharp12
,
113
LanguageVersion = LanguageVersion.
CSharp12
,
152
LanguageVersion = LanguageVersion.
CSharp12
,
10545
LanguageVersion = LanguageVersion.
CSharp12
,
10578
LanguageVersion = LanguageVersion.
CSharp12
,
10611
LanguageVersion = LanguageVersion.
CSharp12
,
10644
LanguageVersion = LanguageVersion.
CSharp12
,
10681
LanguageVersion = LanguageVersion.
CSharp12
,
11071
LanguageVersion = LanguageVersion.
CSharp12
,
11108
LanguageVersion = LanguageVersion.
CSharp12
,
11145
LanguageVersion = LanguageVersion.
CSharp12
,
11182
LanguageVersion = LanguageVersion.
CSharp12
,
11217
LanguageVersion = LanguageVersion.
CSharp12
,
11252
LanguageVersion = LanguageVersion.
CSharp12
,
11294
LanguageVersion = LanguageVersion.
CSharp12
,
11329
LanguageVersion = LanguageVersion.
CSharp12
,
11364
LanguageVersion = LanguageVersion.
CSharp12
,
11400
LanguageVersion = LanguageVersion.
CSharp12
,
11436
LanguageVersion = LanguageVersion.
CSharp12
,
11472
LanguageVersion = LanguageVersion.
CSharp12
,
11508
LanguageVersion = LanguageVersion.
CSharp12
,
11544
LanguageVersion = LanguageVersion.
CSharp12
,
11580
LanguageVersion = LanguageVersion.
CSharp12
,
11656
LanguageVersion = LanguageVersion.
CSharp12
,
11732
LanguageVersion = LanguageVersion.
CSharp12
,
11886
LanguageVersion = LanguageVersion.
CSharp12
,
12035
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 (33)
1408
LanguageVersion = LanguageVersion.
CSharp12
,
1442
LanguageVersion = LanguageVersion.
CSharp12
,
1476
LanguageVersion = LanguageVersion.
CSharp12
,
1534
LanguageVersion = LanguageVersion.
CSharp12
,
1592
LanguageVersion = LanguageVersion.
CSharp12
,
1650
LanguageVersion = LanguageVersion.
CSharp12
,
1708
LanguageVersion = LanguageVersion.
CSharp12
,
1728
LanguageVersion = LanguageVersion.
CSharp12
,
1748
LanguageVersion = LanguageVersion.
CSharp12
,
1768
LanguageVersion = LanguageVersion.
CSharp12
,
1791
LanguageVersion = LanguageVersion.
CSharp12
,
1814
LanguageVersion = LanguageVersion.
CSharp12
,
1839
LanguageVersion = LanguageVersion.
CSharp12
,
1880
LanguageVersion = LanguageVersion.
CSharp12
,
1907
LanguageVersion = LanguageVersion.
CSharp12
,
1925
LanguageVersion = LanguageVersion.
CSharp12
,
1966
LanguageVersion = LanguageVersion.
CSharp12
,
2007
LanguageVersion = LanguageVersion.
CSharp12
,
2038
LanguageVersion = LanguageVersion.
CSharp12
,
2058
LanguageVersion = LanguageVersion.
CSharp12
,
2078
LanguageVersion = LanguageVersion.
CSharp12
,
2105
LanguageVersion = LanguageVersion.
CSharp12
,
2149
LanguageVersion = LanguageVersion.
CSharp12
,
2176
LanguageVersion = LanguageVersion.
CSharp12
,
2216
LanguageVersion = LanguageVersion.
CSharp12
,
2264
LanguageVersion = LanguageVersion.
CSharp12
,
2314
LanguageVersion = LanguageVersion.
CSharp12
,
2364
LanguageVersion = LanguageVersion.
CSharp12
,
2424
LanguageVersion = LanguageVersion.
CSharp12
,
2460
LanguageVersion = LanguageVersion.
CSharp12
,
2490
LanguageVersion = LanguageVersion.
CSharp12
,
2520
LanguageVersion = LanguageVersion.
CSharp12
,
2554
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 (20)
13578
LanguageVersion = LanguageVersion.
CSharp12
,
13596
LanguageVersion = LanguageVersion.
CSharp12
,
13621
LanguageVersion = LanguageVersion.
CSharp12
,
13648
LanguageVersion = LanguageVersion.
CSharp12
,
13681
LanguageVersion = LanguageVersion.
CSharp12
,
13704
LanguageVersion = LanguageVersion.
CSharp12
,
13734
LanguageVersion = LanguageVersion.
CSharp12
,
13778
LanguageVersion = LanguageVersion.
CSharp12
,
13815
LanguageVersion = LanguageVersion.
CSharp12
,
13893
LanguageVersion = LanguageVersion.
CSharp12
,
13933
LanguageVersion = LanguageVersion.
CSharp12
,
13954
LanguageVersion = LanguageVersion.
CSharp12
,
13975
LanguageVersion = LanguageVersion.
CSharp12
,
13994
LanguageVersion = LanguageVersion.
CSharp12
,
14013
LanguageVersion = LanguageVersion.
CSharp12
,
14032
LanguageVersion = LanguageVersion.
CSharp12
,
14053
LanguageVersion = LanguageVersion.
CSharp12
,
14074
LanguageVersion = LanguageVersion.
CSharp12
,
14095
LanguageVersion = LanguageVersion.
CSharp12
,
14118
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\RemoveUnnecessaryLambdaExpression\RemoveUnnecessaryLambdaExpressionTests.cs (3)
28
LanguageVersion version = LanguageVersion.
CSharp12
,
45
LanguageVersion version = LanguageVersion.
CSharp12
,
123
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (1)
10062
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)
25
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 (51)
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
,
508
LanguageVersion = LanguageVersion.
CSharp12
,
530
LanguageVersion = LanguageVersion.
CSharp12
,
552
LanguageVersion = LanguageVersion.
CSharp12
,
574
LanguageVersion = LanguageVersion.
CSharp12
,
596
LanguageVersion = LanguageVersion.
CSharp12
,
614
LanguageVersion = LanguageVersion.
CSharp12
,
632
LanguageVersion = LanguageVersion.
CSharp12
,
658
LanguageVersion = LanguageVersion.
CSharp12
,
684
LanguageVersion = LanguageVersion.
CSharp12
,
710
LanguageVersion = LanguageVersion.
CSharp12
,
736
LanguageVersion = LanguageVersion.
CSharp12
,
762
LanguageVersion = LanguageVersion.
CSharp12
,
788
LanguageVersion = LanguageVersion.
CSharp12
,
807
LanguageVersion = LanguageVersion.
CSharp12
,
829
LanguageVersion = LanguageVersion.
CSharp12
,
853
LanguageVersion = LanguageVersion.
CSharp12
,
884
LanguageVersion = LanguageVersion.
CSharp12
,
906
LanguageVersion = LanguageVersion.
CSharp12
,
940
LanguageVersion = LanguageVersion.
CSharp12
,
962
LanguageVersion = LanguageVersion.
CSharp12
,
996
LanguageVersion = LanguageVersion.
CSharp12
,
1012
LanguageVersion = LanguageVersion.
CSharp12
,
1040
LanguageVersion = LanguageVersion.
CSharp12
,
1078
LanguageVersion = LanguageVersion.
CSharp12
,
1115
LanguageVersion = LanguageVersion.
CSharp12
,
1156
LanguageVersion = LanguageVersion.
CSharp12
,
1181
LanguageVersion = LanguageVersion.
CSharp12
,
1206
LanguageVersion = LanguageVersion.
CSharp12
,
1240
LanguageVersion = LanguageVersion.
CSharp12
,
1266
LanguageVersion = LanguageVersion.
CSharp12
,
1284
LanguageVersion = LanguageVersion.
CSharp12
,
1324
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 (91)
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
,
2726
LanguageVersion = LanguageVersion.
CSharp12
,
2777
LanguageVersion = LanguageVersion.
CSharp12
,
2810
LanguageVersion = LanguageVersion.
CSharp12
,
2832
LanguageVersion = LanguageVersion.
CSharp12
,
2872
LanguageVersion = LanguageVersion.
CSharp12
,
2908
LanguageVersion = LanguageVersion.
CSharp12
,
2935
LanguageVersion = LanguageVersion.
CSharp12
,
2978
LanguageVersion = LanguageVersion.
CSharp12
,
3012
LanguageVersion = LanguageVersion.
CSharp12
,
3046
LanguageVersion = LanguageVersion.
CSharp12
,
3080
LanguageVersion = LanguageVersion.
CSharp12
,
3114
LanguageVersion = LanguageVersion.
CSharp12
,
3150
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForNewTests.cs (2)
55
LanguageVersion = LanguageVersion.
CSharp12
,
93
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)
1682
""", OutputKind.ConsoleApplication, LanguageVersion.
CSharp12
);
1714
""", languageVersion: LanguageVersion.
CSharp12
);
1748
LanguageVersion = LanguageVersion.
CSharp12
,
1785
LanguageVersion = LanguageVersion.
CSharp12
,
1826
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)
957
""", LanguageVersion.
CSharp12
);
977
""", LanguageVersion.
CSharp12
);
1000
""", LanguageVersion.
CSharp12
);
src\Analyzers\CSharp\Tests\UseObjectInitializer\UseObjectInitializerTests.cs (26)
77
LanguageVersion = LanguageVersion.
CSharp12
,
184
LanguageVersion = LanguageVersion.
CSharp12
,
249
LanguageVersion = LanguageVersion.
CSharp12
,
313
LanguageVersion = LanguageVersion.
CSharp12
,
358
LanguageVersion = LanguageVersion.
CSharp12
,
405
LanguageVersion = LanguageVersion.
CSharp12
,
452
LanguageVersion = LanguageVersion.
CSharp12
,
498
LanguageVersion = LanguageVersion.
CSharp12
,
547
LanguageVersion = LanguageVersion.
CSharp12
,
598
LanguageVersion = LanguageVersion.
CSharp12
,
679
LanguageVersion = LanguageVersion.
CSharp12
,
735
LanguageVersion = LanguageVersion.
CSharp12
,
792
LanguageVersion = LanguageVersion.
CSharp12
,
837
LanguageVersion = LanguageVersion.
CSharp12
,
889
LanguageVersion = LanguageVersion.
CSharp12
,
990
LanguageVersion = LanguageVersion.
CSharp12
,
1043
LanguageVersion = LanguageVersion.
CSharp12
,
1155
LanguageVersion = LanguageVersion.
CSharp12
,
1220
LanguageVersion = LanguageVersion.
CSharp12
,
1257
LanguageVersion = LanguageVersion.
CSharp12
,
1339
LanguageVersion = LanguageVersion.
CSharp12
,
1412
LanguageVersion = LanguageVersion.
CSharp12
,
1455
LanguageVersion = LanguageVersion.
CSharp12
,
1502
LanguageVersion = LanguageVersion.
CSharp12
,
1545
LanguageVersion = LanguageVersion.
CSharp12
,
1592
LanguageVersion = LanguageVersion.
CSharp12
,
src\Analyzers\CSharp\Tests\UsePrimaryConstructor\UsePrimaryConstructorTests.cs (139)
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
,
4159
LanguageVersion = LanguageVersion.
CSharp12
,
4188
LanguageVersion = LanguageVersion.
CSharp12
,
4220
LanguageVersion = LanguageVersion.
CSharp12
,
4249
LanguageVersion = LanguageVersion.
CSharp12
,
4280
LanguageVersion = LanguageVersion.
CSharp12
,
4308
LanguageVersion = LanguageVersion.
CSharp12
,
4341
LanguageVersion = LanguageVersion.
CSharp12
,
4371
LanguageVersion = LanguageVersion.
CSharp12
,
4405
LanguageVersion = LanguageVersion.
CSharp12
,
4436
LanguageVersion = LanguageVersion.
CSharp12
,
4468
LanguageVersion = LanguageVersion.
CSharp12
,
4503
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)
7144
[InlineData(LanguageVersion.
CSharp12
)]
8263
[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)
16
=> languageVersion >= LanguageVersion.
CSharp12
;
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (73)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (72)
54
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
82
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
96
<Project Language="C#" CommonReferences="true" LanguageVersion=<%= LanguageVersion.
CSharp12
.ToDisplayString() %>>
130
<Project Language="C#" CommonReferences="true" LanguageVersion=<%= LanguageVersion.
CSharp12
.ToDisplayString() %>>
178
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
210
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
283
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
319
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
353
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
380
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
419
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
448
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
489
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
530
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
569
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
781
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9744
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9792
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9829
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9860
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9889
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9908
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9927
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9948
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9969
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
9989
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10009
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10029
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10049
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10070
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10090
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10110
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10130
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10150
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10171
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10194
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10217
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
10240
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11275
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11301
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11332
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11364
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11396
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11428
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11460
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11492
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11524
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
11553
languageVersion:=LanguageVersion.
CSharp12
)
11583
languageVersion:=LanguageVersion.
CSharp12
)
11600
<Project Language="C#" AssemblyName="TestAssembly" CommonReferencesPortable="true" LanguageVersion=<%= LanguageVersion.
CSharp12
.ToDisplayString() %>>
11638
languageVersion:=LanguageVersion.
CSharp12
)
11660
languageVersion:=LanguageVersion.
CSharp12
)
11682
languageVersion:=LanguageVersion.
CSharp12
)
11708
languageVersion:=LanguageVersion.
CSharp12
)
11731
languageVersion:=LanguageVersion.
CSharp12
)
11748
languageVersion:=LanguageVersion.
CSharp12
)
11770
languageVersion:=LanguageVersion.
CSharp12
)
11792
languageVersion:=LanguageVersion.
CSharp12
)
11818
languageVersion:=LanguageVersion.
CSharp12
)
11841
languageVersion:=LanguageVersion.
CSharp12
)
11866
languageVersion:=LanguageVersion.
CSharp12
)
11896
languageVersion:=LanguageVersion.
CSharp12
)
11926
languageVersion:=LanguageVersion.
CSharp12
)
11976
languageVersion:=LanguageVersion.
CSharp12
)
11996
languageVersion:=LanguageVersion.
CSharp12
)
12591
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
12615
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
12632
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
12678
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
12703
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
12727
showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.
CSharp12
)
12750
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
)