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)
504return LanguageVersion.CSharp12;
LanguageVersion.cs (4)
292case LanguageVersion.CSharp12: 333case LanguageVersion.CSharp12: 406case LanguageVersion.CSharp12: 523result = 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)
229LanguageVersion = LanguageVersion.CSharp12, 596LanguageVersion = LanguageVersion.CSharp12, 623LanguageVersion = LanguageVersion.CSharp12, 645LanguageVersion = LanguageVersion.CSharp12, 657LanguageVersion = LanguageVersion.CSharp12, 689LanguageVersion = LanguageVersion.CSharp12, 713LanguageVersion = LanguageVersion.CSharp12, 740LanguageVersion = LanguageVersion.CSharp12, 789LanguageVersion = LanguageVersion.CSharp12, 837LanguageVersion = LanguageVersion.CSharp12, 885LanguageVersion = 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)
720LanguageVersion = LanguageVersion.CSharp12, 775LanguageVersion = LanguageVersion.CSharp12, 830LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\GenerateDefaultConstructors\GenerateDefaultConstructorsTests.cs (1)
958LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (27)
74LanguageVersion = LanguageVersion.CSharp12, 113LanguageVersion = LanguageVersion.CSharp12, 152LanguageVersion = LanguageVersion.CSharp12, 10545LanguageVersion = LanguageVersion.CSharp12, 10578LanguageVersion = LanguageVersion.CSharp12, 10611LanguageVersion = LanguageVersion.CSharp12, 10644LanguageVersion = LanguageVersion.CSharp12, 10681LanguageVersion = LanguageVersion.CSharp12, 11071LanguageVersion = LanguageVersion.CSharp12, 11108LanguageVersion = LanguageVersion.CSharp12, 11145LanguageVersion = LanguageVersion.CSharp12, 11182LanguageVersion = LanguageVersion.CSharp12, 11217LanguageVersion = LanguageVersion.CSharp12, 11252LanguageVersion = LanguageVersion.CSharp12, 11294LanguageVersion = LanguageVersion.CSharp12, 11329LanguageVersion = LanguageVersion.CSharp12, 11364LanguageVersion = LanguageVersion.CSharp12, 11400LanguageVersion = LanguageVersion.CSharp12, 11436LanguageVersion = LanguageVersion.CSharp12, 11472LanguageVersion = LanguageVersion.CSharp12, 11508LanguageVersion = LanguageVersion.CSharp12, 11544LanguageVersion = LanguageVersion.CSharp12, 11580LanguageVersion = LanguageVersion.CSharp12, 11656LanguageVersion = LanguageVersion.CSharp12, 11732LanguageVersion = LanguageVersion.CSharp12, 11886LanguageVersion = LanguageVersion.CSharp12, 12035LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\MakeRefStruct\MakeRefStructTests.cs (1)
75await TestMissingInRegularAndScriptAsync(text, new TestParameters(CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)));
src\Analyzers\CSharp\Tests\MakeStructMemberReadOnly\MakeStructMemberReadOnlyTests.cs (33)
1408LanguageVersion = LanguageVersion.CSharp12, 1442LanguageVersion = LanguageVersion.CSharp12, 1476LanguageVersion = LanguageVersion.CSharp12, 1534LanguageVersion = LanguageVersion.CSharp12, 1592LanguageVersion = LanguageVersion.CSharp12, 1650LanguageVersion = LanguageVersion.CSharp12, 1708LanguageVersion = LanguageVersion.CSharp12, 1728LanguageVersion = LanguageVersion.CSharp12, 1748LanguageVersion = LanguageVersion.CSharp12, 1768LanguageVersion = LanguageVersion.CSharp12, 1791LanguageVersion = LanguageVersion.CSharp12, 1814LanguageVersion = LanguageVersion.CSharp12, 1839LanguageVersion = LanguageVersion.CSharp12, 1880LanguageVersion = LanguageVersion.CSharp12, 1907LanguageVersion = LanguageVersion.CSharp12, 1925LanguageVersion = LanguageVersion.CSharp12, 1966LanguageVersion = LanguageVersion.CSharp12, 2007LanguageVersion = LanguageVersion.CSharp12, 2038LanguageVersion = LanguageVersion.CSharp12, 2058LanguageVersion = LanguageVersion.CSharp12, 2078LanguageVersion = LanguageVersion.CSharp12, 2105LanguageVersion = LanguageVersion.CSharp12, 2149LanguageVersion = LanguageVersion.CSharp12, 2176LanguageVersion = LanguageVersion.CSharp12, 2216LanguageVersion = LanguageVersion.CSharp12, 2264LanguageVersion = LanguageVersion.CSharp12, 2314LanguageVersion = LanguageVersion.CSharp12, 2364LanguageVersion = LanguageVersion.CSharp12, 2424LanguageVersion = LanguageVersion.CSharp12, 2460LanguageVersion = LanguageVersion.CSharp12, 2490LanguageVersion = LanguageVersion.CSharp12, 2520LanguageVersion = LanguageVersion.CSharp12, 2554LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\MakeStructReadOnly\MakeStructReadOnlyTests.cs (3)
23private static Task TestMissingAsync(string testCode, LanguageVersion version = LanguageVersion.CSharp12) 26private static async Task TestAsync(string testCode, string fixedCode, LanguageVersion version = LanguageVersion.CSharp12) 450LanguageVersion.CSharp12);
src\Analyzers\CSharp\Tests\RemoveUnnecessaryCast\RemoveUnnecessaryCastTests.cs (20)
13578LanguageVersion = LanguageVersion.CSharp12, 13596LanguageVersion = LanguageVersion.CSharp12, 13621LanguageVersion = LanguageVersion.CSharp12, 13648LanguageVersion = LanguageVersion.CSharp12, 13681LanguageVersion = LanguageVersion.CSharp12, 13704LanguageVersion = LanguageVersion.CSharp12, 13734LanguageVersion = LanguageVersion.CSharp12, 13778LanguageVersion = LanguageVersion.CSharp12, 13815LanguageVersion = LanguageVersion.CSharp12, 13893LanguageVersion = LanguageVersion.CSharp12, 13933LanguageVersion = LanguageVersion.CSharp12, 13954LanguageVersion = LanguageVersion.CSharp12, 13975LanguageVersion = LanguageVersion.CSharp12, 13994LanguageVersion = LanguageVersion.CSharp12, 14013LanguageVersion = LanguageVersion.CSharp12, 14032LanguageVersion = LanguageVersion.CSharp12, 14053LanguageVersion = LanguageVersion.CSharp12, 14074LanguageVersion = LanguageVersion.CSharp12, 14095LanguageVersion = LanguageVersion.CSharp12, 14118LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\RemoveUnnecessaryLambdaExpression\RemoveUnnecessaryLambdaExpressionTests.cs (3)
28LanguageVersion version = LanguageVersion.CSharp12, 45LanguageVersion version = LanguageVersion.CSharp12, 123LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (1)
10062LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (7)
1101LanguageVersion.CSharp12, 1112LanguageVersion.CSharp12, 1123LanguageVersion.CSharp12, 1134LanguageVersion.CSharp12, 1145LanguageVersion.CSharp12, 1156LanguageVersion.CSharp12, 1291expected: LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests.cs (1)
25private readonly ParseOptions CSharp12 = CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12);
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForArrayTests.cs (23)
56LanguageVersion = LanguageVersion.CSharp12, 77LanguageVersion = LanguageVersion.CSharp12, 98LanguageVersion = LanguageVersion.CSharp12, 123LanguageVersion = LanguageVersion.CSharp12, 148LanguageVersion = LanguageVersion.CSharp12, 169LanguageVersion = LanguageVersion.CSharp12, 190LanguageVersion = LanguageVersion.CSharp12, 205LanguageVersion = LanguageVersion.CSharp12, 230LanguageVersion = LanguageVersion.CSharp12, 251LanguageVersion = LanguageVersion.CSharp12, 278LanguageVersion = LanguageVersion.CSharp12, 299LanguageVersion = LanguageVersion.CSharp12, 320LanguageVersion = LanguageVersion.CSharp12, 341LanguageVersion = LanguageVersion.CSharp12, 356LanguageVersion = LanguageVersion.CSharp12, 371LanguageVersion = LanguageVersion.CSharp12, 386LanguageVersion = LanguageVersion.CSharp12, 407LanguageVersion = LanguageVersion.CSharp12, 422LanguageVersion = LanguageVersion.CSharp12, 447LanguageVersion = LanguageVersion.CSharp12, 474LanguageVersion = LanguageVersion.CSharp12, 489LanguageVersion = LanguageVersion.CSharp12, 510LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForBuilderTests.cs (43)
107LanguageVersion = LanguageVersion.CSharp12, 141LanguageVersion = LanguageVersion.CSharp12, 175LanguageVersion = LanguageVersion.CSharp12, 199LanguageVersion = LanguageVersion.CSharp12, 237LanguageVersion = LanguageVersion.CSharp12, 275LanguageVersion = LanguageVersion.CSharp12, 313LanguageVersion = LanguageVersion.CSharp12, 351LanguageVersion = LanguageVersion.CSharp12, 377LanguageVersion = LanguageVersion.CSharp12, 401LanguageVersion = LanguageVersion.CSharp12, 442LanguageVersion = LanguageVersion.CSharp12, 485LanguageVersion = LanguageVersion.CSharp12, 515LanguageVersion = LanguageVersion.CSharp12, 545LanguageVersion = LanguageVersion.CSharp12, 592LanguageVersion = LanguageVersion.CSharp12, 639LanguageVersion = LanguageVersion.CSharp12, 686LanguageVersion = LanguageVersion.CSharp12, 726LanguageVersion = LanguageVersion.CSharp12, 768LanguageVersion = LanguageVersion.CSharp12, 810LanguageVersion = LanguageVersion.CSharp12, 856LanguageVersion = LanguageVersion.CSharp12, 894LanguageVersion = LanguageVersion.CSharp12, 932LanguageVersion = LanguageVersion.CSharp12, 970LanguageVersion = LanguageVersion.CSharp12, 995LanguageVersion = LanguageVersion.CSharp12, 1034LanguageVersion = LanguageVersion.CSharp12, 1072LanguageVersion = LanguageVersion.CSharp12, 1110LanguageVersion = LanguageVersion.CSharp12, 1148LanguageVersion = LanguageVersion.CSharp12, 1186LanguageVersion = LanguageVersion.CSharp12, 1212LanguageVersion = LanguageVersion.CSharp12, 1238LanguageVersion = LanguageVersion.CSharp12, 1278LanguageVersion = LanguageVersion.CSharp12, 1317LanguageVersion = LanguageVersion.CSharp12, 1360LanguageVersion = LanguageVersion.CSharp12, 1383LanguageVersion = LanguageVersion.CSharp12, 1405LanguageVersion = LanguageVersion.CSharp12, 1442LanguageVersion = LanguageVersion.CSharp12, 1482LanguageVersion = LanguageVersion.CSharp12, 1521LanguageVersion = LanguageVersion.CSharp12, 1559LanguageVersion = LanguageVersion.CSharp12, 1584LanguageVersion = LanguageVersion.CSharp12, 1625LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForCreateTests.cs (51)
99LanguageVersion = LanguageVersion.CSharp12, 121LanguageVersion = LanguageVersion.CSharp12, 149LanguageVersion = LanguageVersion.CSharp12, 170LanguageVersion = LanguageVersion.CSharp12, 192LanguageVersion = LanguageVersion.CSharp12, 214LanguageVersion = LanguageVersion.CSharp12, 236LanguageVersion = LanguageVersion.CSharp12, 258LanguageVersion = LanguageVersion.CSharp12, 280LanguageVersion = LanguageVersion.CSharp12, 296LanguageVersion = LanguageVersion.CSharp12, 318LanguageVersion = LanguageVersion.CSharp12, 340LanguageVersion = LanguageVersion.CSharp12, 362LanguageVersion = LanguageVersion.CSharp12, 378LanguageVersion = LanguageVersion.CSharp12, 394LanguageVersion = LanguageVersion.CSharp12, 416LanguageVersion = LanguageVersion.CSharp12, 438LanguageVersion = LanguageVersion.CSharp12, 460LanguageVersion = LanguageVersion.CSharp12, 476LanguageVersion = LanguageVersion.CSharp12, 508LanguageVersion = LanguageVersion.CSharp12, 530LanguageVersion = LanguageVersion.CSharp12, 552LanguageVersion = LanguageVersion.CSharp12, 574LanguageVersion = LanguageVersion.CSharp12, 596LanguageVersion = LanguageVersion.CSharp12, 614LanguageVersion = LanguageVersion.CSharp12, 632LanguageVersion = LanguageVersion.CSharp12, 658LanguageVersion = LanguageVersion.CSharp12, 684LanguageVersion = LanguageVersion.CSharp12, 710LanguageVersion = LanguageVersion.CSharp12, 736LanguageVersion = LanguageVersion.CSharp12, 762LanguageVersion = LanguageVersion.CSharp12, 788LanguageVersion = LanguageVersion.CSharp12, 807LanguageVersion = LanguageVersion.CSharp12, 829LanguageVersion = LanguageVersion.CSharp12, 853LanguageVersion = LanguageVersion.CSharp12, 884LanguageVersion = LanguageVersion.CSharp12, 906LanguageVersion = LanguageVersion.CSharp12, 940LanguageVersion = LanguageVersion.CSharp12, 962LanguageVersion = LanguageVersion.CSharp12, 996LanguageVersion = LanguageVersion.CSharp12, 1012LanguageVersion = LanguageVersion.CSharp12, 1040LanguageVersion = LanguageVersion.CSharp12, 1078LanguageVersion = LanguageVersion.CSharp12, 1115LanguageVersion = LanguageVersion.CSharp12, 1156LanguageVersion = LanguageVersion.CSharp12, 1181LanguageVersion = LanguageVersion.CSharp12, 1206LanguageVersion = LanguageVersion.CSharp12, 1240LanguageVersion = LanguageVersion.CSharp12, 1266LanguageVersion = LanguageVersion.CSharp12, 1284LanguageVersion = LanguageVersion.CSharp12, 1324LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForEmptyTests.cs (49)
51LanguageVersion = LanguageVersion.CSharp12, 82LanguageVersion = LanguageVersion.CSharp12, 113LanguageVersion = LanguageVersion.CSharp12, 142LanguageVersion = LanguageVersion.CSharp12, 161LanguageVersion = LanguageVersion.CSharp12, 198LanguageVersion = LanguageVersion.CSharp12, 219LanguageVersion = LanguageVersion.CSharp12, 254LanguageVersion = LanguageVersion.CSharp12, 287LanguageVersion = LanguageVersion.CSharp12, 320LanguageVersion = LanguageVersion.CSharp12, 353LanguageVersion = LanguageVersion.CSharp12, 386LanguageVersion = LanguageVersion.CSharp12, 417LanguageVersion = LanguageVersion.CSharp12, 438LanguageVersion = LanguageVersion.CSharp12, 471LanguageVersion = LanguageVersion.CSharp12, 496LanguageVersion = LanguageVersion.CSharp12, 553LanguageVersion = LanguageVersion.CSharp12, 621LanguageVersion = LanguageVersion.CSharp12, 689LanguageVersion = LanguageVersion.CSharp12, 721LanguageVersion = LanguageVersion.CSharp12, 742LanguageVersion = LanguageVersion.CSharp12, 776LanguageVersion = LanguageVersion.CSharp12, 798LanguageVersion = LanguageVersion.CSharp12, 832LanguageVersion = LanguageVersion.CSharp12, 865LanguageVersion = LanguageVersion.CSharp12, 900LanguageVersion = LanguageVersion.CSharp12, 951LanguageVersion = LanguageVersion.CSharp12, 989LanguageVersion = LanguageVersion.CSharp12, 1041LanguageVersion = LanguageVersion.CSharp12, 1094LanguageVersion = LanguageVersion.CSharp12, 1149LanguageVersion = LanguageVersion.CSharp12, 1187LanguageVersion = LanguageVersion.CSharp12, 1244LanguageVersion = LanguageVersion.CSharp12, 1268LanguageVersion = LanguageVersion.CSharp12, 1288LanguageVersion = LanguageVersion.CSharp12, 1315LanguageVersion = LanguageVersion.CSharp12, 1352LanguageVersion = LanguageVersion.CSharp12, 1382LanguageVersion = LanguageVersion.CSharp12, 1412LanguageVersion = LanguageVersion.CSharp12, 1442LanguageVersion = LanguageVersion.CSharp12, 1472LanguageVersion = LanguageVersion.CSharp12, 1508LanguageVersion = LanguageVersion.CSharp12, 1548LanguageVersion = LanguageVersion.CSharp12, 1586LanguageVersion = LanguageVersion.CSharp12, 1609LanguageVersion = LanguageVersion.CSharp12, 1632LanguageVersion = LanguageVersion.CSharp12, 1669LanguageVersion = LanguageVersion.CSharp12, 1694LanguageVersion = LanguageVersion.CSharp12, 1716LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForFluentTests.cs (91)
73LanguageVersion = LanguageVersion.CSharp12, 107LanguageVersion = LanguageVersion.CSharp12, 141LanguageVersion = LanguageVersion.CSharp12, 164LanguageVersion = LanguageVersion.CSharp12, 198LanguageVersion = LanguageVersion.CSharp12, 232LanguageVersion = LanguageVersion.CSharp12, 254LanguageVersion = LanguageVersion.CSharp12, 290LanguageVersion = LanguageVersion.CSharp12, 326LanguageVersion = LanguageVersion.CSharp12, 362LanguageVersion = LanguageVersion.CSharp12, 398LanguageVersion = LanguageVersion.CSharp12, 434LanguageVersion = LanguageVersion.CSharp12, 470LanguageVersion = LanguageVersion.CSharp12, 506LanguageVersion = LanguageVersion.CSharp12, 542LanguageVersion = LanguageVersion.CSharp12, 578LanguageVersion = LanguageVersion.CSharp12, 614LanguageVersion = LanguageVersion.CSharp12, 650LanguageVersion = LanguageVersion.CSharp12, 686LanguageVersion = LanguageVersion.CSharp12, 709LanguageVersion = LanguageVersion.CSharp12, 732LanguageVersion = LanguageVersion.CSharp12, 755LanguageVersion = LanguageVersion.CSharp12, 795LanguageVersion = LanguageVersion.CSharp12, 831LanguageVersion = LanguageVersion.CSharp12, 854LanguageVersion = LanguageVersion.CSharp12, 898LanguageVersion = LanguageVersion.CSharp12, 934LanguageVersion = LanguageVersion.CSharp12, 957LanguageVersion = LanguageVersion.CSharp12, 993LanguageVersion = LanguageVersion.CSharp12, 1029LanguageVersion = LanguageVersion.CSharp12, 1071LanguageVersion = LanguageVersion.CSharp12, 1118LanguageVersion = LanguageVersion.CSharp12, 1160LanguageVersion = LanguageVersion.CSharp12, 1207LanguageVersion = LanguageVersion.CSharp12, 1233LanguageVersion = LanguageVersion.CSharp12, 1259LanguageVersion = LanguageVersion.CSharp12, 1285LanguageVersion = LanguageVersion.CSharp12, 1310LanguageVersion = LanguageVersion.CSharp12, 1335LanguageVersion = LanguageVersion.CSharp12, 1371LanguageVersion = LanguageVersion.CSharp12, 1407LanguageVersion = LanguageVersion.CSharp12, 1443LanguageVersion = LanguageVersion.CSharp12, 1481LanguageVersion = LanguageVersion.CSharp12, 1519LanguageVersion = LanguageVersion.CSharp12, 1543LanguageVersion = LanguageVersion.CSharp12, 1570LanguageVersion = LanguageVersion.CSharp12, 1608LanguageVersion = LanguageVersion.CSharp12, 1646LanguageVersion = LanguageVersion.CSharp12, 1684LanguageVersion = LanguageVersion.CSharp12, 1728LanguageVersion = LanguageVersion.CSharp12, 1772LanguageVersion = LanguageVersion.CSharp12, 1810LanguageVersion = LanguageVersion.CSharp12, 1848LanguageVersion = LanguageVersion.CSharp12, 1894LanguageVersion = LanguageVersion.CSharp12, 1939LanguageVersion = LanguageVersion.CSharp12, 1973LanguageVersion = LanguageVersion.CSharp12, 1995LanguageVersion = LanguageVersion.CSharp12, 2031LanguageVersion = LanguageVersion.CSharp12, 2079LanguageVersion = LanguageVersion.CSharp12, 2114LanguageVersion = LanguageVersion.CSharp12, 2149LanguageVersion = LanguageVersion.CSharp12, 2183LanguageVersion = LanguageVersion.CSharp12, 2206LanguageVersion = LanguageVersion.CSharp12, 2242LanguageVersion = LanguageVersion.CSharp12, 2265LanguageVersion = LanguageVersion.CSharp12, 2301LanguageVersion = LanguageVersion.CSharp12, 2324LanguageVersion = LanguageVersion.CSharp12, 2360LanguageVersion = LanguageVersion.CSharp12, 2398LanguageVersion = LanguageVersion.CSharp12, 2432LanguageVersion = LanguageVersion.CSharp12, 2466LanguageVersion = LanguageVersion.CSharp12, 2501LanguageVersion = LanguageVersion.CSharp12, 2536LanguageVersion = LanguageVersion.CSharp12, 2573LanguageVersion = LanguageVersion.CSharp12, 2610LanguageVersion = LanguageVersion.CSharp12, 2650LanguageVersion = LanguageVersion.CSharp12, 2674LanguageVersion = LanguageVersion.CSharp12, 2698LanguageVersion = LanguageVersion.CSharp12, 2726LanguageVersion = LanguageVersion.CSharp12, 2777LanguageVersion = LanguageVersion.CSharp12, 2810LanguageVersion = LanguageVersion.CSharp12, 2832LanguageVersion = LanguageVersion.CSharp12, 2872LanguageVersion = LanguageVersion.CSharp12, 2908LanguageVersion = LanguageVersion.CSharp12, 2935LanguageVersion = LanguageVersion.CSharp12, 2978LanguageVersion = LanguageVersion.CSharp12, 3012LanguageVersion = LanguageVersion.CSharp12, 3046LanguageVersion = LanguageVersion.CSharp12, 3080LanguageVersion = LanguageVersion.CSharp12, 3114LanguageVersion = LanguageVersion.CSharp12, 3150LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForNewTests.cs (2)
55LanguageVersion = LanguageVersion.CSharp12, 93LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForStackAllocTests.cs (54)
80LanguageVersion = LanguageVersion.CSharp12, 101LanguageVersion = LanguageVersion.CSharp12, 133LanguageVersion = LanguageVersion.CSharp12, 165LanguageVersion = LanguageVersion.CSharp12, 197LanguageVersion = LanguageVersion.CSharp12, 229LanguageVersion = LanguageVersion.CSharp12, 250LanguageVersion = LanguageVersion.CSharp12, 271LanguageVersion = LanguageVersion.CSharp12, 292LanguageVersion = LanguageVersion.CSharp12, 313LanguageVersion = LanguageVersion.CSharp12, 347LanguageVersion = LanguageVersion.CSharp12, 368LanguageVersion = LanguageVersion.CSharp12, 389LanguageVersion = LanguageVersion.CSharp12, 410LanguageVersion = LanguageVersion.CSharp12, 431LanguageVersion = LanguageVersion.CSharp12, 467LanguageVersion = LanguageVersion.CSharp12, 503LanguageVersion = LanguageVersion.CSharp12, 535LanguageVersion = LanguageVersion.CSharp12, 567LanguageVersion = LanguageVersion.CSharp12, 589LanguageVersion = LanguageVersion.CSharp12, 621LanguageVersion = LanguageVersion.CSharp12, 642LanguageVersion = LanguageVersion.CSharp12, 674LanguageVersion = LanguageVersion.CSharp12, 695LanguageVersion = LanguageVersion.CSharp12, 717LanguageVersion = LanguageVersion.CSharp12, 741LanguageVersion = LanguageVersion.CSharp12, 763LanguageVersion = LanguageVersion.CSharp12, 785LanguageVersion = LanguageVersion.CSharp12, 809LanguageVersion = LanguageVersion.CSharp12, 833LanguageVersion = LanguageVersion.CSharp12, 855LanguageVersion = LanguageVersion.CSharp12, 877LanguageVersion = LanguageVersion.CSharp12, 900LanguageVersion = LanguageVersion.CSharp12, 933LanguageVersion = LanguageVersion.CSharp12, 968LanguageVersion = LanguageVersion.CSharp12, 1002LanguageVersion = LanguageVersion.CSharp12, 1038LanguageVersion = LanguageVersion.CSharp12, 1061LanguageVersion = LanguageVersion.CSharp12, 1085LanguageVersion = LanguageVersion.CSharp12, 1111LanguageVersion = LanguageVersion.CSharp12, 1151LanguageVersion = LanguageVersion.CSharp12, 1191LanguageVersion = LanguageVersion.CSharp12, 1229LanguageVersion = LanguageVersion.CSharp12, 1269LanguageVersion = LanguageVersion.CSharp12, 1305LanguageVersion = LanguageVersion.CSharp12, 1343LanguageVersion = LanguageVersion.CSharp12, 1381LanguageVersion = LanguageVersion.CSharp12, 1421LanguageVersion = LanguageVersion.CSharp12, 1457LanguageVersion = LanguageVersion.CSharp12, 1495LanguageVersion = LanguageVersion.CSharp12, 1533LanguageVersion = LanguageVersion.CSharp12, 1575LanguageVersion = LanguageVersion.CSharp12, 1595LanguageVersion = LanguageVersion.CSharp12, 1631LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests.cs (5)
1682""", OutputKind.ConsoleApplication, LanguageVersion.CSharp12); 1714""", languageVersion: LanguageVersion.CSharp12); 1748LanguageVersion = LanguageVersion.CSharp12, 1785LanguageVersion = LanguageVersion.CSharp12, 1826LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests_CollectionExpression.cs (21)
31LanguageVersion = LanguageVersion.CSharp12, 375LanguageVersion = LanguageVersion.CSharp12, 798LanguageVersion = LanguageVersion.CSharp12, 823LanguageVersion = LanguageVersion.CSharp12, 1941LanguageVersion = LanguageVersion.CSharp12, 4385LanguageVersion = LanguageVersion.CSharp12, 5346LanguageVersion = LanguageVersion.CSharp12, 5386LanguageVersion = LanguageVersion.CSharp12, 5423LanguageVersion = LanguageVersion.CSharp12, 5457LanguageVersion = LanguageVersion.CSharp12, 5491LanguageVersion = LanguageVersion.CSharp12, 5525LanguageVersion = LanguageVersion.CSharp12, 5569LanguageVersion = LanguageVersion.CSharp12, 5603LanguageVersion = LanguageVersion.CSharp12, 5637LanguageVersion = LanguageVersion.CSharp12, 5681LanguageVersion = LanguageVersion.CSharp12, 5705LanguageVersion = LanguageVersion.CSharp12, 5743LanguageVersion = LanguageVersion.CSharp12, 5777LanguageVersion = LanguageVersion.CSharp12, 5811LanguageVersion = LanguageVersion.CSharp12, 5865LanguageVersion = 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)
77LanguageVersion = LanguageVersion.CSharp12, 184LanguageVersion = LanguageVersion.CSharp12, 249LanguageVersion = LanguageVersion.CSharp12, 313LanguageVersion = LanguageVersion.CSharp12, 358LanguageVersion = LanguageVersion.CSharp12, 405LanguageVersion = LanguageVersion.CSharp12, 452LanguageVersion = LanguageVersion.CSharp12, 498LanguageVersion = LanguageVersion.CSharp12, 547LanguageVersion = LanguageVersion.CSharp12, 598LanguageVersion = LanguageVersion.CSharp12, 679LanguageVersion = LanguageVersion.CSharp12, 735LanguageVersion = LanguageVersion.CSharp12, 792LanguageVersion = LanguageVersion.CSharp12, 837LanguageVersion = LanguageVersion.CSharp12, 889LanguageVersion = LanguageVersion.CSharp12, 990LanguageVersion = LanguageVersion.CSharp12, 1043LanguageVersion = LanguageVersion.CSharp12, 1155LanguageVersion = LanguageVersion.CSharp12, 1220LanguageVersion = LanguageVersion.CSharp12, 1257LanguageVersion = LanguageVersion.CSharp12, 1339LanguageVersion = LanguageVersion.CSharp12, 1412LanguageVersion = LanguageVersion.CSharp12, 1455LanguageVersion = LanguageVersion.CSharp12, 1502LanguageVersion = LanguageVersion.CSharp12, 1545LanguageVersion = LanguageVersion.CSharp12, 1592LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UsePrimaryConstructor\UsePrimaryConstructorTests.cs (139)
40LanguageVersion = LanguageVersion.CSharp12, 74LanguageVersion = LanguageVersion.CSharp12, 96LanguageVersion = LanguageVersion.CSharp12, 117LanguageVersion = LanguageVersion.CSharp12, 146LanguageVersion = LanguageVersion.CSharp12, 183LanguageVersion = LanguageVersion.CSharp12, 220LanguageVersion = LanguageVersion.CSharp12, 259LanguageVersion = LanguageVersion.CSharp12, 298LanguageVersion = LanguageVersion.CSharp12, 339LanguageVersion = LanguageVersion.CSharp12, 355LanguageVersion = LanguageVersion.CSharp12, 373LanguageVersion = LanguageVersion.CSharp12, 397LanguageVersion = LanguageVersion.CSharp12, 421LanguageVersion = LanguageVersion.CSharp12, 445LanguageVersion = LanguageVersion.CSharp12, 469LanguageVersion = LanguageVersion.CSharp12, 490LanguageVersion = LanguageVersion.CSharp12, 511LanguageVersion = LanguageVersion.CSharp12, 529LanguageVersion = LanguageVersion.CSharp12, 550LanguageVersion = LanguageVersion.CSharp12, 574LanguageVersion = LanguageVersion.CSharp12, 603LanguageVersion = LanguageVersion.CSharp12, 630LanguageVersion = LanguageVersion.CSharp12, 658LanguageVersion = LanguageVersion.CSharp12, 686LanguageVersion = LanguageVersion.CSharp12, 715LanguageVersion = LanguageVersion.CSharp12, 738LanguageVersion = LanguageVersion.CSharp12, 793LanguageVersion = LanguageVersion.CSharp12, 832LanguageVersion = LanguageVersion.CSharp12, 871LanguageVersion = LanguageVersion.CSharp12, 910LanguageVersion = LanguageVersion.CSharp12, 951LanguageVersion = LanguageVersion.CSharp12, 994LanguageVersion = LanguageVersion.CSharp12, 1037LanguageVersion = LanguageVersion.CSharp12, 1059LanguageVersion = LanguageVersion.CSharp12, 1081LanguageVersion = LanguageVersion.CSharp12, 1111LanguageVersion = LanguageVersion.CSharp12, 1147LanguageVersion = LanguageVersion.CSharp12, 1187LanguageVersion = LanguageVersion.CSharp12, 1217LanguageVersion = LanguageVersion.CSharp12, 1265LanguageVersion = LanguageVersion.CSharp12, 1309LanguageVersion = LanguageVersion.CSharp12, 1349LanguageVersion = LanguageVersion.CSharp12, 1398LanguageVersion = LanguageVersion.CSharp12, 1445LanguageVersion = LanguageVersion.CSharp12, 1487LanguageVersion = LanguageVersion.CSharp12, 1529LanguageVersion = LanguageVersion.CSharp12, 1577LanguageVersion = LanguageVersion.CSharp12, 1625LanguageVersion = LanguageVersion.CSharp12, 1672LanguageVersion = LanguageVersion.CSharp12, 1721LanguageVersion = LanguageVersion.CSharp12, 1754LanguageVersion = LanguageVersion.CSharp12, 1786LanguageVersion = LanguageVersion.CSharp12, 1827LanguageVersion = LanguageVersion.CSharp12, 1886LanguageVersion = LanguageVersion.CSharp12, 1914LanguageVersion = LanguageVersion.CSharp12, 1942LanguageVersion = LanguageVersion.CSharp12, 1976LanguageVersion = LanguageVersion.CSharp12, 2012LanguageVersion = LanguageVersion.CSharp12, 2049LanguageVersion = LanguageVersion.CSharp12, 2088LanguageVersion = LanguageVersion.CSharp12, 2120LanguageVersion = LanguageVersion.CSharp12, 2155LanguageVersion = LanguageVersion.CSharp12, 2183LanguageVersion = LanguageVersion.CSharp12, 2217LanguageVersion = LanguageVersion.CSharp12, 2247LanguageVersion = LanguageVersion.CSharp12, 2283LanguageVersion = LanguageVersion.CSharp12, 2311LanguageVersion = LanguageVersion.CSharp12, 2345LanguageVersion = LanguageVersion.CSharp12, 2375LanguageVersion = LanguageVersion.CSharp12, 2411LanguageVersion = LanguageVersion.CSharp12, 2440LanguageVersion = LanguageVersion.CSharp12, 2473LanguageVersion = LanguageVersion.CSharp12, 2502LanguageVersion = LanguageVersion.CSharp12, 2535LanguageVersion = LanguageVersion.CSharp12, 2565LanguageVersion = LanguageVersion.CSharp12, 2586LanguageVersion = LanguageVersion.CSharp12, 2612LanguageVersion = LanguageVersion.CSharp12, 2638LanguageVersion = LanguageVersion.CSharp12, 2660LanguageVersion = LanguageVersion.CSharp12, 2682LanguageVersion = LanguageVersion.CSharp12, 2706LanguageVersion = LanguageVersion.CSharp12, 2730LanguageVersion = LanguageVersion.CSharp12, 2754LanguageVersion = LanguageVersion.CSharp12, 2778LanguageVersion = LanguageVersion.CSharp12, 2804LanguageVersion = LanguageVersion.CSharp12, 2830LanguageVersion = LanguageVersion.CSharp12, 2863LanguageVersion = LanguageVersion.CSharp12, 2904LanguageVersion = LanguageVersion.CSharp12, 2936LanguageVersion = LanguageVersion.CSharp12, 2968LanguageVersion = LanguageVersion.CSharp12, 2996LanguageVersion = LanguageVersion.CSharp12, 3024LanguageVersion = LanguageVersion.CSharp12, 3052LanguageVersion = LanguageVersion.CSharp12, 3129LanguageVersion = LanguageVersion.CSharp12, 3167LanguageVersion = LanguageVersion.CSharp12, 3212LanguageVersion = LanguageVersion.CSharp12, 3250LanguageVersion = LanguageVersion.CSharp12, 3292LanguageVersion = LanguageVersion.CSharp12, 3321LanguageVersion = LanguageVersion.CSharp12, 3343LanguageVersion = LanguageVersion.CSharp12, 3370LanguageVersion = LanguageVersion.CSharp12, 3391LanguageVersion = LanguageVersion.CSharp12, 3420LanguageVersion = LanguageVersion.CSharp12, 3442LanguageVersion = LanguageVersion.CSharp12, 3468LanguageVersion = LanguageVersion.CSharp12, 3497LanguageVersion = LanguageVersion.CSharp12, 3526LanguageVersion = LanguageVersion.CSharp12, 3555LanguageVersion = LanguageVersion.CSharp12, 3584LanguageVersion = LanguageVersion.CSharp12, 3606LanguageVersion = LanguageVersion.CSharp12, 3628LanguageVersion = LanguageVersion.CSharp12, 3645LanguageVersion = LanguageVersion.CSharp12, 3692LanguageVersion = LanguageVersion.CSharp12, 3728LanguageVersion = LanguageVersion.CSharp12, 3765LanguageVersion = LanguageVersion.CSharp12, 3791LanguageVersion = LanguageVersion.CSharp12, 3813LanguageVersion = LanguageVersion.CSharp12, 3839LanguageVersion = LanguageVersion.CSharp12, 3869LanguageVersion = LanguageVersion.CSharp12, 3912LanguageVersion = LanguageVersion.CSharp12, 3955LanguageVersion = LanguageVersion.CSharp12, 3998LanguageVersion = LanguageVersion.CSharp12, 4027LanguageVersion = LanguageVersion.CSharp12, 4070LanguageVersion = LanguageVersion.CSharp12, 4100LanguageVersion = LanguageVersion.CSharp12, 4126LanguageVersion = LanguageVersion.CSharp12, 4159LanguageVersion = LanguageVersion.CSharp12, 4188LanguageVersion = LanguageVersion.CSharp12, 4220LanguageVersion = LanguageVersion.CSharp12, 4249LanguageVersion = LanguageVersion.CSharp12, 4280LanguageVersion = LanguageVersion.CSharp12, 4308LanguageVersion = LanguageVersion.CSharp12, 4341LanguageVersion = LanguageVersion.CSharp12, 4371LanguageVersion = LanguageVersion.CSharp12, 4405LanguageVersion = LanguageVersion.CSharp12, 4436LanguageVersion = LanguageVersion.CSharp12, 4468LanguageVersion = LanguageVersion.CSharp12, 4503LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseSystemThreadingLock\UseSystemThreadingLockTests.cs (3)
87LanguageVersion = LanguageVersion.CSharp12, 110LanguageVersion = LanguageVersion.CSharp12, 133LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseUtf8StringLiteral\UseUtf8StringLiteralTests.cs (48)
47LanguageVersion = LanguageVersion.CSharp12 86LanguageVersion = LanguageVersion.CSharp12 106LanguageVersion = LanguageVersion.CSharp12 133LanguageVersion = LanguageVersion.CSharp12 153LanguageVersion = LanguageVersion.CSharp12 177LanguageVersion = LanguageVersion.CSharp12 199LanguageVersion = LanguageVersion.CSharp12 219LanguageVersion = LanguageVersion.CSharp12 250LanguageVersion = LanguageVersion.CSharp12 283LanguageVersion = LanguageVersion.CSharp12 314LanguageVersion = LanguageVersion.CSharp12 345LanguageVersion = LanguageVersion.CSharp12 376LanguageVersion = LanguageVersion.CSharp12 407LanguageVersion = LanguageVersion.CSharp12 437LanguageVersion = LanguageVersion.CSharp12 468LanguageVersion = LanguageVersion.CSharp12 499LanguageVersion = LanguageVersion.CSharp12 534LanguageVersion = LanguageVersion.CSharp12 565LanguageVersion = LanguageVersion.CSharp12 596LanguageVersion = LanguageVersion.CSharp12 617LanguageVersion = LanguageVersion.CSharp12 638LanguageVersion = LanguageVersion.CSharp12 659LanguageVersion = LanguageVersion.CSharp12 693LanguageVersion = LanguageVersion.CSharp12 774LanguageVersion = LanguageVersion.CSharp12 802LanguageVersion = LanguageVersion.CSharp12 835LanguageVersion = LanguageVersion.CSharp12 890LanguageVersion = LanguageVersion.CSharp12 921LanguageVersion = LanguageVersion.CSharp12 952LanguageVersion = LanguageVersion.CSharp12 983LanguageVersion = LanguageVersion.CSharp12 1014LanguageVersion = LanguageVersion.CSharp12 1045LanguageVersion = LanguageVersion.CSharp12 1076LanguageVersion = LanguageVersion.CSharp12 1096LanguageVersion = LanguageVersion.CSharp12 1127LanguageVersion = LanguageVersion.CSharp12 1158LanguageVersion = LanguageVersion.CSharp12 1189LanguageVersion = LanguageVersion.CSharp12 1220LanguageVersion = LanguageVersion.CSharp12 1251LanguageVersion = LanguageVersion.CSharp12 1292LanguageVersion = LanguageVersion.CSharp12 1347LanguageVersion = LanguageVersion.CSharp12 1436LanguageVersion = LanguageVersion.CSharp12 1467LanguageVersion = LanguageVersion.CSharp12 1498LanguageVersion = LanguageVersion.CSharp12 1529LanguageVersion = LanguageVersion.CSharp12 1564LanguageVersion = LanguageVersion.CSharp12 1599LanguageVersion = LanguageVersion.CSharp12
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
1792InlineData(LanguageVersion.CSharp12, LanguageVersion.CSharp12), 1839InlineData("12", true, LanguageVersion.CSharp12), 1840InlineData("12.0", true, LanguageVersion.CSharp12),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (12)
CodeActions\InitializeParameter\AddParameterCheckTests.cs (2)
2940LanguageVersion = LanguageVersion.CSharp12, 2953LanguageVersion = LanguageVersion.CSharp12,
Formatting\FormattingEngineTests.cs (6)
2712AssertFormatWithView(expected, code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)); 2737AssertFormatWithView(expected, code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)); 2762AssertFormatWithView(expected, code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)); 2782AssertFormatAfterTypeChar(code, expected, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)); 2802AssertFormatAfterTypeChar(code, expected, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)); 2822AssertFormatAfterTypeChar(code, expected, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12));
Formatting\Indentation\SmartIndenterTests.cs (4)
3331options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)); 3351options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)); 3372options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)); 3393options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
FieldKeywordTests.cs (3)
8485[CombinatorialValues(LanguageVersion.CSharp12, LanguageVersion.CSharp13)] LanguageVersion languageVersion, 8512case (LanguageVersion.CSharp12, false): 8533case (LanguageVersion.CSharp12, true):
RefReadonlyParameterTests.cs (1)
3706public 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)
65LanguageVersion = LanguageVersion.CSharp12,
ConvertPrimaryToRegularConstructor\ConvertPrimaryToRegularConstructorTests.cs (80)
50LanguageVersion = LanguageVersion.CSharp12, 69LanguageVersion = LanguageVersion.CSharp12, 92LanguageVersion = LanguageVersion.CSharp12, 121LanguageVersion = LanguageVersion.CSharp12, 158LanguageVersion = LanguageVersion.CSharp12, 195LanguageVersion = LanguageVersion.CSharp12, 234LanguageVersion = LanguageVersion.CSharp12, 273LanguageVersion = LanguageVersion.CSharp12, 314LanguageVersion = LanguageVersion.CSharp12, 340LanguageVersion = LanguageVersion.CSharp12, 366LanguageVersion = LanguageVersion.CSharp12, 392LanguageVersion = LanguageVersion.CSharp12, 418LanguageVersion = LanguageVersion.CSharp12, 444LanguageVersion = LanguageVersion.CSharp12, 473LanguageVersion = LanguageVersion.CSharp12, 502LanguageVersion = LanguageVersion.CSharp12, 529LanguageVersion = LanguageVersion.CSharp12, 565LanguageVersion = LanguageVersion.CSharp12, 601LanguageVersion = LanguageVersion.CSharp12, 623LanguageVersion = LanguageVersion.CSharp12, 649LanguageVersion = LanguageVersion.CSharp12, 701LanguageVersion = LanguageVersion.CSharp12, 739LanguageVersion = LanguageVersion.CSharp12, 777LanguageVersion = LanguageVersion.CSharp12, 817LanguageVersion = LanguageVersion.CSharp12, 859LanguageVersion = LanguageVersion.CSharp12, 901LanguageVersion = LanguageVersion.CSharp12, 944LanguageVersion = LanguageVersion.CSharp12, 975LanguageVersion = LanguageVersion.CSharp12, 1011LanguageVersion = LanguageVersion.CSharp12, 1051LanguageVersion = LanguageVersion.CSharp12, 1081LanguageVersion = LanguageVersion.CSharp12, 1129LanguageVersion = LanguageVersion.CSharp12, 1173LanguageVersion = LanguageVersion.CSharp12, 1213LanguageVersion = LanguageVersion.CSharp12, 1261LanguageVersion = LanguageVersion.CSharp12, 1310LanguageVersion = LanguageVersion.CSharp12, 1357LanguageVersion = LanguageVersion.CSharp12, 1393LanguageVersion = LanguageVersion.CSharp12, 1425LanguageVersion = LanguageVersion.CSharp12, 1457LanguageVersion = LanguageVersion.CSharp12, 1489LanguageVersion = LanguageVersion.CSharp12, 1525LanguageVersion = LanguageVersion.CSharp12, 1557LanguageVersion = LanguageVersion.CSharp12, 1593LanguageVersion = LanguageVersion.CSharp12, 1635LanguageVersion = LanguageVersion.CSharp12, 1673LanguageVersion = LanguageVersion.CSharp12, 1711LanguageVersion = LanguageVersion.CSharp12, 1753LanguageVersion = LanguageVersion.CSharp12, 1780LanguageVersion = LanguageVersion.CSharp12, 1808LanguageVersion = LanguageVersion.CSharp12, 1842LanguageVersion = LanguageVersion.CSharp12, 1878LanguageVersion = LanguageVersion.CSharp12, 1915LanguageVersion = LanguageVersion.CSharp12, 1954LanguageVersion = LanguageVersion.CSharp12, 1986LanguageVersion = LanguageVersion.CSharp12, 2021LanguageVersion = LanguageVersion.CSharp12, 2049LanguageVersion = LanguageVersion.CSharp12, 2083LanguageVersion = LanguageVersion.CSharp12, 2113LanguageVersion = LanguageVersion.CSharp12, 2149LanguageVersion = LanguageVersion.CSharp12, 2177LanguageVersion = LanguageVersion.CSharp12, 2211LanguageVersion = LanguageVersion.CSharp12, 2241LanguageVersion = LanguageVersion.CSharp12, 2277LanguageVersion = LanguageVersion.CSharp12, 2306LanguageVersion = LanguageVersion.CSharp12, 2339LanguageVersion = LanguageVersion.CSharp12, 2368LanguageVersion = LanguageVersion.CSharp12, 2401LanguageVersion = LanguageVersion.CSharp12, 2427LanguageVersion = LanguageVersion.CSharp12, 2449LanguageVersion = LanguageVersion.CSharp12, 2480LanguageVersion = LanguageVersion.CSharp12, 2520LanguageVersion = LanguageVersion.CSharp12, 2552LanguageVersion = LanguageVersion.CSharp12, 2592LanguageVersion = LanguageVersion.CSharp12, 2632LanguageVersion = LanguageVersion.CSharp12, 2661LanguageVersion = LanguageVersion.CSharp12, 2689LanguageVersion = LanguageVersion.CSharp12, 2717LanguageVersion = LanguageVersion.CSharp12, 2738LanguageVersion = LanguageVersion.CSharp12,
ConvertTupleToStruct\ConvertTupleToStructTests.cs (3)
172await TestAsync(text, expected, languageVersion: LanguageVersion.CSharp12, options: PreferImplicitTypeWithInfo(), testHost: host); 213await TestAsync(text, expected, languageVersion: LanguageVersion.CSharp12, options: PreferImplicitTypeWithInfo(), testHost: host); 250await TestAsync(text, expected, languageVersion: LanguageVersion.CSharp12, options: PreferImplicitTypeWithInfo(), testHost: host);
EditAndContinue\Helpers\EditingTestBase.cs (1)
132CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12),
EmbeddedLanguages\JsonStringDetectorTests.cs (1)
102LanguageVersion = LanguageVersion.CSharp12,
ExtractClass\ExtractClassTests.cs (7)
287LanguageVersion = LanguageVersion.CSharp12, 408LanguageVersion = LanguageVersion.CSharp12, 451LanguageVersion = LanguageVersion.CSharp12, 466LanguageVersion = LanguageVersion.CSharp12, 483LanguageVersion = LanguageVersion.CSharp12, 498LanguageVersion = LanguageVersion.CSharp12, 538LanguageVersion = 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)
229LanguageVersion = LanguageVersion.CSharp12, 596LanguageVersion = LanguageVersion.CSharp12, 623LanguageVersion = LanguageVersion.CSharp12, 645LanguageVersion = LanguageVersion.CSharp12, 657LanguageVersion = LanguageVersion.CSharp12, 689LanguageVersion = LanguageVersion.CSharp12, 713LanguageVersion = LanguageVersion.CSharp12, 740LanguageVersion = LanguageVersion.CSharp12, 789LanguageVersion = LanguageVersion.CSharp12, 837LanguageVersion = LanguageVersion.CSharp12, 885LanguageVersion = 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)
720LanguageVersion = LanguageVersion.CSharp12, 775LanguageVersion = LanguageVersion.CSharp12, 830LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\GenerateDefaultConstructors\GenerateDefaultConstructorsTests.cs (1)
958LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (27)
74LanguageVersion = LanguageVersion.CSharp12, 113LanguageVersion = LanguageVersion.CSharp12, 152LanguageVersion = LanguageVersion.CSharp12, 10545LanguageVersion = LanguageVersion.CSharp12, 10578LanguageVersion = LanguageVersion.CSharp12, 10611LanguageVersion = LanguageVersion.CSharp12, 10644LanguageVersion = LanguageVersion.CSharp12, 10681LanguageVersion = LanguageVersion.CSharp12, 11071LanguageVersion = LanguageVersion.CSharp12, 11108LanguageVersion = LanguageVersion.CSharp12, 11145LanguageVersion = LanguageVersion.CSharp12, 11182LanguageVersion = LanguageVersion.CSharp12, 11217LanguageVersion = LanguageVersion.CSharp12, 11252LanguageVersion = LanguageVersion.CSharp12, 11294LanguageVersion = LanguageVersion.CSharp12, 11329LanguageVersion = LanguageVersion.CSharp12, 11364LanguageVersion = LanguageVersion.CSharp12, 11400LanguageVersion = LanguageVersion.CSharp12, 11436LanguageVersion = LanguageVersion.CSharp12, 11472LanguageVersion = LanguageVersion.CSharp12, 11508LanguageVersion = LanguageVersion.CSharp12, 11544LanguageVersion = LanguageVersion.CSharp12, 11580LanguageVersion = LanguageVersion.CSharp12, 11656LanguageVersion = LanguageVersion.CSharp12, 11732LanguageVersion = LanguageVersion.CSharp12, 11886LanguageVersion = LanguageVersion.CSharp12, 12035LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\MakeRefStruct\MakeRefStructTests.cs (1)
75await TestMissingInRegularAndScriptAsync(text, new TestParameters(CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12)));
src\Analyzers\CSharp\Tests\MakeStructMemberReadOnly\MakeStructMemberReadOnlyTests.cs (33)
1408LanguageVersion = LanguageVersion.CSharp12, 1442LanguageVersion = LanguageVersion.CSharp12, 1476LanguageVersion = LanguageVersion.CSharp12, 1534LanguageVersion = LanguageVersion.CSharp12, 1592LanguageVersion = LanguageVersion.CSharp12, 1650LanguageVersion = LanguageVersion.CSharp12, 1708LanguageVersion = LanguageVersion.CSharp12, 1728LanguageVersion = LanguageVersion.CSharp12, 1748LanguageVersion = LanguageVersion.CSharp12, 1768LanguageVersion = LanguageVersion.CSharp12, 1791LanguageVersion = LanguageVersion.CSharp12, 1814LanguageVersion = LanguageVersion.CSharp12, 1839LanguageVersion = LanguageVersion.CSharp12, 1880LanguageVersion = LanguageVersion.CSharp12, 1907LanguageVersion = LanguageVersion.CSharp12, 1925LanguageVersion = LanguageVersion.CSharp12, 1966LanguageVersion = LanguageVersion.CSharp12, 2007LanguageVersion = LanguageVersion.CSharp12, 2038LanguageVersion = LanguageVersion.CSharp12, 2058LanguageVersion = LanguageVersion.CSharp12, 2078LanguageVersion = LanguageVersion.CSharp12, 2105LanguageVersion = LanguageVersion.CSharp12, 2149LanguageVersion = LanguageVersion.CSharp12, 2176LanguageVersion = LanguageVersion.CSharp12, 2216LanguageVersion = LanguageVersion.CSharp12, 2264LanguageVersion = LanguageVersion.CSharp12, 2314LanguageVersion = LanguageVersion.CSharp12, 2364LanguageVersion = LanguageVersion.CSharp12, 2424LanguageVersion = LanguageVersion.CSharp12, 2460LanguageVersion = LanguageVersion.CSharp12, 2490LanguageVersion = LanguageVersion.CSharp12, 2520LanguageVersion = LanguageVersion.CSharp12, 2554LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\MakeStructReadOnly\MakeStructReadOnlyTests.cs (3)
23private static Task TestMissingAsync(string testCode, LanguageVersion version = LanguageVersion.CSharp12) 26private static async Task TestAsync(string testCode, string fixedCode, LanguageVersion version = LanguageVersion.CSharp12) 450LanguageVersion.CSharp12);
src\Analyzers\CSharp\Tests\RemoveUnnecessaryCast\RemoveUnnecessaryCastTests.cs (20)
13578LanguageVersion = LanguageVersion.CSharp12, 13596LanguageVersion = LanguageVersion.CSharp12, 13621LanguageVersion = LanguageVersion.CSharp12, 13648LanguageVersion = LanguageVersion.CSharp12, 13681LanguageVersion = LanguageVersion.CSharp12, 13704LanguageVersion = LanguageVersion.CSharp12, 13734LanguageVersion = LanguageVersion.CSharp12, 13778LanguageVersion = LanguageVersion.CSharp12, 13815LanguageVersion = LanguageVersion.CSharp12, 13893LanguageVersion = LanguageVersion.CSharp12, 13933LanguageVersion = LanguageVersion.CSharp12, 13954LanguageVersion = LanguageVersion.CSharp12, 13975LanguageVersion = LanguageVersion.CSharp12, 13994LanguageVersion = LanguageVersion.CSharp12, 14013LanguageVersion = LanguageVersion.CSharp12, 14032LanguageVersion = LanguageVersion.CSharp12, 14053LanguageVersion = LanguageVersion.CSharp12, 14074LanguageVersion = LanguageVersion.CSharp12, 14095LanguageVersion = LanguageVersion.CSharp12, 14118LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\RemoveUnnecessaryLambdaExpression\RemoveUnnecessaryLambdaExpressionTests.cs (3)
28LanguageVersion version = LanguageVersion.CSharp12, 45LanguageVersion version = LanguageVersion.CSharp12, 123LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (1)
10062LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (7)
1101LanguageVersion.CSharp12, 1112LanguageVersion.CSharp12, 1123LanguageVersion.CSharp12, 1134LanguageVersion.CSharp12, 1145LanguageVersion.CSharp12, 1156LanguageVersion.CSharp12, 1291expected: LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests.cs (1)
25private readonly ParseOptions CSharp12 = CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp12);
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForArrayTests.cs (23)
56LanguageVersion = LanguageVersion.CSharp12, 77LanguageVersion = LanguageVersion.CSharp12, 98LanguageVersion = LanguageVersion.CSharp12, 123LanguageVersion = LanguageVersion.CSharp12, 148LanguageVersion = LanguageVersion.CSharp12, 169LanguageVersion = LanguageVersion.CSharp12, 190LanguageVersion = LanguageVersion.CSharp12, 205LanguageVersion = LanguageVersion.CSharp12, 230LanguageVersion = LanguageVersion.CSharp12, 251LanguageVersion = LanguageVersion.CSharp12, 278LanguageVersion = LanguageVersion.CSharp12, 299LanguageVersion = LanguageVersion.CSharp12, 320LanguageVersion = LanguageVersion.CSharp12, 341LanguageVersion = LanguageVersion.CSharp12, 356LanguageVersion = LanguageVersion.CSharp12, 371LanguageVersion = LanguageVersion.CSharp12, 386LanguageVersion = LanguageVersion.CSharp12, 407LanguageVersion = LanguageVersion.CSharp12, 422LanguageVersion = LanguageVersion.CSharp12, 447LanguageVersion = LanguageVersion.CSharp12, 474LanguageVersion = LanguageVersion.CSharp12, 489LanguageVersion = LanguageVersion.CSharp12, 510LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForBuilderTests.cs (43)
107LanguageVersion = LanguageVersion.CSharp12, 141LanguageVersion = LanguageVersion.CSharp12, 175LanguageVersion = LanguageVersion.CSharp12, 199LanguageVersion = LanguageVersion.CSharp12, 237LanguageVersion = LanguageVersion.CSharp12, 275LanguageVersion = LanguageVersion.CSharp12, 313LanguageVersion = LanguageVersion.CSharp12, 351LanguageVersion = LanguageVersion.CSharp12, 377LanguageVersion = LanguageVersion.CSharp12, 401LanguageVersion = LanguageVersion.CSharp12, 442LanguageVersion = LanguageVersion.CSharp12, 485LanguageVersion = LanguageVersion.CSharp12, 515LanguageVersion = LanguageVersion.CSharp12, 545LanguageVersion = LanguageVersion.CSharp12, 592LanguageVersion = LanguageVersion.CSharp12, 639LanguageVersion = LanguageVersion.CSharp12, 686LanguageVersion = LanguageVersion.CSharp12, 726LanguageVersion = LanguageVersion.CSharp12, 768LanguageVersion = LanguageVersion.CSharp12, 810LanguageVersion = LanguageVersion.CSharp12, 856LanguageVersion = LanguageVersion.CSharp12, 894LanguageVersion = LanguageVersion.CSharp12, 932LanguageVersion = LanguageVersion.CSharp12, 970LanguageVersion = LanguageVersion.CSharp12, 995LanguageVersion = LanguageVersion.CSharp12, 1034LanguageVersion = LanguageVersion.CSharp12, 1072LanguageVersion = LanguageVersion.CSharp12, 1110LanguageVersion = LanguageVersion.CSharp12, 1148LanguageVersion = LanguageVersion.CSharp12, 1186LanguageVersion = LanguageVersion.CSharp12, 1212LanguageVersion = LanguageVersion.CSharp12, 1238LanguageVersion = LanguageVersion.CSharp12, 1278LanguageVersion = LanguageVersion.CSharp12, 1317LanguageVersion = LanguageVersion.CSharp12, 1360LanguageVersion = LanguageVersion.CSharp12, 1383LanguageVersion = LanguageVersion.CSharp12, 1405LanguageVersion = LanguageVersion.CSharp12, 1442LanguageVersion = LanguageVersion.CSharp12, 1482LanguageVersion = LanguageVersion.CSharp12, 1521LanguageVersion = LanguageVersion.CSharp12, 1559LanguageVersion = LanguageVersion.CSharp12, 1584LanguageVersion = LanguageVersion.CSharp12, 1625LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForCreateTests.cs (51)
99LanguageVersion = LanguageVersion.CSharp12, 121LanguageVersion = LanguageVersion.CSharp12, 149LanguageVersion = LanguageVersion.CSharp12, 170LanguageVersion = LanguageVersion.CSharp12, 192LanguageVersion = LanguageVersion.CSharp12, 214LanguageVersion = LanguageVersion.CSharp12, 236LanguageVersion = LanguageVersion.CSharp12, 258LanguageVersion = LanguageVersion.CSharp12, 280LanguageVersion = LanguageVersion.CSharp12, 296LanguageVersion = LanguageVersion.CSharp12, 318LanguageVersion = LanguageVersion.CSharp12, 340LanguageVersion = LanguageVersion.CSharp12, 362LanguageVersion = LanguageVersion.CSharp12, 378LanguageVersion = LanguageVersion.CSharp12, 394LanguageVersion = LanguageVersion.CSharp12, 416LanguageVersion = LanguageVersion.CSharp12, 438LanguageVersion = LanguageVersion.CSharp12, 460LanguageVersion = LanguageVersion.CSharp12, 476LanguageVersion = LanguageVersion.CSharp12, 508LanguageVersion = LanguageVersion.CSharp12, 530LanguageVersion = LanguageVersion.CSharp12, 552LanguageVersion = LanguageVersion.CSharp12, 574LanguageVersion = LanguageVersion.CSharp12, 596LanguageVersion = LanguageVersion.CSharp12, 614LanguageVersion = LanguageVersion.CSharp12, 632LanguageVersion = LanguageVersion.CSharp12, 658LanguageVersion = LanguageVersion.CSharp12, 684LanguageVersion = LanguageVersion.CSharp12, 710LanguageVersion = LanguageVersion.CSharp12, 736LanguageVersion = LanguageVersion.CSharp12, 762LanguageVersion = LanguageVersion.CSharp12, 788LanguageVersion = LanguageVersion.CSharp12, 807LanguageVersion = LanguageVersion.CSharp12, 829LanguageVersion = LanguageVersion.CSharp12, 853LanguageVersion = LanguageVersion.CSharp12, 884LanguageVersion = LanguageVersion.CSharp12, 906LanguageVersion = LanguageVersion.CSharp12, 940LanguageVersion = LanguageVersion.CSharp12, 962LanguageVersion = LanguageVersion.CSharp12, 996LanguageVersion = LanguageVersion.CSharp12, 1012LanguageVersion = LanguageVersion.CSharp12, 1040LanguageVersion = LanguageVersion.CSharp12, 1078LanguageVersion = LanguageVersion.CSharp12, 1115LanguageVersion = LanguageVersion.CSharp12, 1156LanguageVersion = LanguageVersion.CSharp12, 1181LanguageVersion = LanguageVersion.CSharp12, 1206LanguageVersion = LanguageVersion.CSharp12, 1240LanguageVersion = LanguageVersion.CSharp12, 1266LanguageVersion = LanguageVersion.CSharp12, 1284LanguageVersion = LanguageVersion.CSharp12, 1324LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForEmptyTests.cs (49)
51LanguageVersion = LanguageVersion.CSharp12, 82LanguageVersion = LanguageVersion.CSharp12, 113LanguageVersion = LanguageVersion.CSharp12, 142LanguageVersion = LanguageVersion.CSharp12, 161LanguageVersion = LanguageVersion.CSharp12, 198LanguageVersion = LanguageVersion.CSharp12, 219LanguageVersion = LanguageVersion.CSharp12, 254LanguageVersion = LanguageVersion.CSharp12, 287LanguageVersion = LanguageVersion.CSharp12, 320LanguageVersion = LanguageVersion.CSharp12, 353LanguageVersion = LanguageVersion.CSharp12, 386LanguageVersion = LanguageVersion.CSharp12, 417LanguageVersion = LanguageVersion.CSharp12, 438LanguageVersion = LanguageVersion.CSharp12, 471LanguageVersion = LanguageVersion.CSharp12, 496LanguageVersion = LanguageVersion.CSharp12, 553LanguageVersion = LanguageVersion.CSharp12, 621LanguageVersion = LanguageVersion.CSharp12, 689LanguageVersion = LanguageVersion.CSharp12, 721LanguageVersion = LanguageVersion.CSharp12, 742LanguageVersion = LanguageVersion.CSharp12, 776LanguageVersion = LanguageVersion.CSharp12, 798LanguageVersion = LanguageVersion.CSharp12, 832LanguageVersion = LanguageVersion.CSharp12, 865LanguageVersion = LanguageVersion.CSharp12, 900LanguageVersion = LanguageVersion.CSharp12, 951LanguageVersion = LanguageVersion.CSharp12, 989LanguageVersion = LanguageVersion.CSharp12, 1041LanguageVersion = LanguageVersion.CSharp12, 1094LanguageVersion = LanguageVersion.CSharp12, 1149LanguageVersion = LanguageVersion.CSharp12, 1187LanguageVersion = LanguageVersion.CSharp12, 1244LanguageVersion = LanguageVersion.CSharp12, 1268LanguageVersion = LanguageVersion.CSharp12, 1288LanguageVersion = LanguageVersion.CSharp12, 1315LanguageVersion = LanguageVersion.CSharp12, 1352LanguageVersion = LanguageVersion.CSharp12, 1382LanguageVersion = LanguageVersion.CSharp12, 1412LanguageVersion = LanguageVersion.CSharp12, 1442LanguageVersion = LanguageVersion.CSharp12, 1472LanguageVersion = LanguageVersion.CSharp12, 1508LanguageVersion = LanguageVersion.CSharp12, 1548LanguageVersion = LanguageVersion.CSharp12, 1586LanguageVersion = LanguageVersion.CSharp12, 1609LanguageVersion = LanguageVersion.CSharp12, 1632LanguageVersion = LanguageVersion.CSharp12, 1669LanguageVersion = LanguageVersion.CSharp12, 1694LanguageVersion = LanguageVersion.CSharp12, 1716LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForFluentTests.cs (91)
73LanguageVersion = LanguageVersion.CSharp12, 107LanguageVersion = LanguageVersion.CSharp12, 141LanguageVersion = LanguageVersion.CSharp12, 164LanguageVersion = LanguageVersion.CSharp12, 198LanguageVersion = LanguageVersion.CSharp12, 232LanguageVersion = LanguageVersion.CSharp12, 254LanguageVersion = LanguageVersion.CSharp12, 290LanguageVersion = LanguageVersion.CSharp12, 326LanguageVersion = LanguageVersion.CSharp12, 362LanguageVersion = LanguageVersion.CSharp12, 398LanguageVersion = LanguageVersion.CSharp12, 434LanguageVersion = LanguageVersion.CSharp12, 470LanguageVersion = LanguageVersion.CSharp12, 506LanguageVersion = LanguageVersion.CSharp12, 542LanguageVersion = LanguageVersion.CSharp12, 578LanguageVersion = LanguageVersion.CSharp12, 614LanguageVersion = LanguageVersion.CSharp12, 650LanguageVersion = LanguageVersion.CSharp12, 686LanguageVersion = LanguageVersion.CSharp12, 709LanguageVersion = LanguageVersion.CSharp12, 732LanguageVersion = LanguageVersion.CSharp12, 755LanguageVersion = LanguageVersion.CSharp12, 795LanguageVersion = LanguageVersion.CSharp12, 831LanguageVersion = LanguageVersion.CSharp12, 854LanguageVersion = LanguageVersion.CSharp12, 898LanguageVersion = LanguageVersion.CSharp12, 934LanguageVersion = LanguageVersion.CSharp12, 957LanguageVersion = LanguageVersion.CSharp12, 993LanguageVersion = LanguageVersion.CSharp12, 1029LanguageVersion = LanguageVersion.CSharp12, 1071LanguageVersion = LanguageVersion.CSharp12, 1118LanguageVersion = LanguageVersion.CSharp12, 1160LanguageVersion = LanguageVersion.CSharp12, 1207LanguageVersion = LanguageVersion.CSharp12, 1233LanguageVersion = LanguageVersion.CSharp12, 1259LanguageVersion = LanguageVersion.CSharp12, 1285LanguageVersion = LanguageVersion.CSharp12, 1310LanguageVersion = LanguageVersion.CSharp12, 1335LanguageVersion = LanguageVersion.CSharp12, 1371LanguageVersion = LanguageVersion.CSharp12, 1407LanguageVersion = LanguageVersion.CSharp12, 1443LanguageVersion = LanguageVersion.CSharp12, 1481LanguageVersion = LanguageVersion.CSharp12, 1519LanguageVersion = LanguageVersion.CSharp12, 1543LanguageVersion = LanguageVersion.CSharp12, 1570LanguageVersion = LanguageVersion.CSharp12, 1608LanguageVersion = LanguageVersion.CSharp12, 1646LanguageVersion = LanguageVersion.CSharp12, 1684LanguageVersion = LanguageVersion.CSharp12, 1728LanguageVersion = LanguageVersion.CSharp12, 1772LanguageVersion = LanguageVersion.CSharp12, 1810LanguageVersion = LanguageVersion.CSharp12, 1848LanguageVersion = LanguageVersion.CSharp12, 1894LanguageVersion = LanguageVersion.CSharp12, 1939LanguageVersion = LanguageVersion.CSharp12, 1973LanguageVersion = LanguageVersion.CSharp12, 1995LanguageVersion = LanguageVersion.CSharp12, 2031LanguageVersion = LanguageVersion.CSharp12, 2079LanguageVersion = LanguageVersion.CSharp12, 2114LanguageVersion = LanguageVersion.CSharp12, 2149LanguageVersion = LanguageVersion.CSharp12, 2183LanguageVersion = LanguageVersion.CSharp12, 2206LanguageVersion = LanguageVersion.CSharp12, 2242LanguageVersion = LanguageVersion.CSharp12, 2265LanguageVersion = LanguageVersion.CSharp12, 2301LanguageVersion = LanguageVersion.CSharp12, 2324LanguageVersion = LanguageVersion.CSharp12, 2360LanguageVersion = LanguageVersion.CSharp12, 2398LanguageVersion = LanguageVersion.CSharp12, 2432LanguageVersion = LanguageVersion.CSharp12, 2466LanguageVersion = LanguageVersion.CSharp12, 2501LanguageVersion = LanguageVersion.CSharp12, 2536LanguageVersion = LanguageVersion.CSharp12, 2573LanguageVersion = LanguageVersion.CSharp12, 2610LanguageVersion = LanguageVersion.CSharp12, 2650LanguageVersion = LanguageVersion.CSharp12, 2674LanguageVersion = LanguageVersion.CSharp12, 2698LanguageVersion = LanguageVersion.CSharp12, 2726LanguageVersion = LanguageVersion.CSharp12, 2777LanguageVersion = LanguageVersion.CSharp12, 2810LanguageVersion = LanguageVersion.CSharp12, 2832LanguageVersion = LanguageVersion.CSharp12, 2872LanguageVersion = LanguageVersion.CSharp12, 2908LanguageVersion = LanguageVersion.CSharp12, 2935LanguageVersion = LanguageVersion.CSharp12, 2978LanguageVersion = LanguageVersion.CSharp12, 3012LanguageVersion = LanguageVersion.CSharp12, 3046LanguageVersion = LanguageVersion.CSharp12, 3080LanguageVersion = LanguageVersion.CSharp12, 3114LanguageVersion = LanguageVersion.CSharp12, 3150LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForNewTests.cs (2)
55LanguageVersion = LanguageVersion.CSharp12, 93LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionExpression\UseCollectionExpressionForStackAllocTests.cs (54)
80LanguageVersion = LanguageVersion.CSharp12, 101LanguageVersion = LanguageVersion.CSharp12, 133LanguageVersion = LanguageVersion.CSharp12, 165LanguageVersion = LanguageVersion.CSharp12, 197LanguageVersion = LanguageVersion.CSharp12, 229LanguageVersion = LanguageVersion.CSharp12, 250LanguageVersion = LanguageVersion.CSharp12, 271LanguageVersion = LanguageVersion.CSharp12, 292LanguageVersion = LanguageVersion.CSharp12, 313LanguageVersion = LanguageVersion.CSharp12, 347LanguageVersion = LanguageVersion.CSharp12, 368LanguageVersion = LanguageVersion.CSharp12, 389LanguageVersion = LanguageVersion.CSharp12, 410LanguageVersion = LanguageVersion.CSharp12, 431LanguageVersion = LanguageVersion.CSharp12, 467LanguageVersion = LanguageVersion.CSharp12, 503LanguageVersion = LanguageVersion.CSharp12, 535LanguageVersion = LanguageVersion.CSharp12, 567LanguageVersion = LanguageVersion.CSharp12, 589LanguageVersion = LanguageVersion.CSharp12, 621LanguageVersion = LanguageVersion.CSharp12, 642LanguageVersion = LanguageVersion.CSharp12, 674LanguageVersion = LanguageVersion.CSharp12, 695LanguageVersion = LanguageVersion.CSharp12, 717LanguageVersion = LanguageVersion.CSharp12, 741LanguageVersion = LanguageVersion.CSharp12, 763LanguageVersion = LanguageVersion.CSharp12, 785LanguageVersion = LanguageVersion.CSharp12, 809LanguageVersion = LanguageVersion.CSharp12, 833LanguageVersion = LanguageVersion.CSharp12, 855LanguageVersion = LanguageVersion.CSharp12, 877LanguageVersion = LanguageVersion.CSharp12, 900LanguageVersion = LanguageVersion.CSharp12, 933LanguageVersion = LanguageVersion.CSharp12, 968LanguageVersion = LanguageVersion.CSharp12, 1002LanguageVersion = LanguageVersion.CSharp12, 1038LanguageVersion = LanguageVersion.CSharp12, 1061LanguageVersion = LanguageVersion.CSharp12, 1085LanguageVersion = LanguageVersion.CSharp12, 1111LanguageVersion = LanguageVersion.CSharp12, 1151LanguageVersion = LanguageVersion.CSharp12, 1191LanguageVersion = LanguageVersion.CSharp12, 1229LanguageVersion = LanguageVersion.CSharp12, 1269LanguageVersion = LanguageVersion.CSharp12, 1305LanguageVersion = LanguageVersion.CSharp12, 1343LanguageVersion = LanguageVersion.CSharp12, 1381LanguageVersion = LanguageVersion.CSharp12, 1421LanguageVersion = LanguageVersion.CSharp12, 1457LanguageVersion = LanguageVersion.CSharp12, 1495LanguageVersion = LanguageVersion.CSharp12, 1533LanguageVersion = LanguageVersion.CSharp12, 1575LanguageVersion = LanguageVersion.CSharp12, 1595LanguageVersion = LanguageVersion.CSharp12, 1631LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests.cs (5)
1682""", OutputKind.ConsoleApplication, LanguageVersion.CSharp12); 1714""", languageVersion: LanguageVersion.CSharp12); 1748LanguageVersion = LanguageVersion.CSharp12, 1785LanguageVersion = LanguageVersion.CSharp12, 1826LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseCollectionInitializer\UseCollectionInitializerTests_CollectionExpression.cs (21)
31LanguageVersion = LanguageVersion.CSharp12, 375LanguageVersion = LanguageVersion.CSharp12, 798LanguageVersion = LanguageVersion.CSharp12, 823LanguageVersion = LanguageVersion.CSharp12, 1941LanguageVersion = LanguageVersion.CSharp12, 4385LanguageVersion = LanguageVersion.CSharp12, 5346LanguageVersion = LanguageVersion.CSharp12, 5386LanguageVersion = LanguageVersion.CSharp12, 5423LanguageVersion = LanguageVersion.CSharp12, 5457LanguageVersion = LanguageVersion.CSharp12, 5491LanguageVersion = LanguageVersion.CSharp12, 5525LanguageVersion = LanguageVersion.CSharp12, 5569LanguageVersion = LanguageVersion.CSharp12, 5603LanguageVersion = LanguageVersion.CSharp12, 5637LanguageVersion = LanguageVersion.CSharp12, 5681LanguageVersion = LanguageVersion.CSharp12, 5705LanguageVersion = LanguageVersion.CSharp12, 5743LanguageVersion = LanguageVersion.CSharp12, 5777LanguageVersion = LanguageVersion.CSharp12, 5811LanguageVersion = LanguageVersion.CSharp12, 5865LanguageVersion = 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)
77LanguageVersion = LanguageVersion.CSharp12, 184LanguageVersion = LanguageVersion.CSharp12, 249LanguageVersion = LanguageVersion.CSharp12, 313LanguageVersion = LanguageVersion.CSharp12, 358LanguageVersion = LanguageVersion.CSharp12, 405LanguageVersion = LanguageVersion.CSharp12, 452LanguageVersion = LanguageVersion.CSharp12, 498LanguageVersion = LanguageVersion.CSharp12, 547LanguageVersion = LanguageVersion.CSharp12, 598LanguageVersion = LanguageVersion.CSharp12, 679LanguageVersion = LanguageVersion.CSharp12, 735LanguageVersion = LanguageVersion.CSharp12, 792LanguageVersion = LanguageVersion.CSharp12, 837LanguageVersion = LanguageVersion.CSharp12, 889LanguageVersion = LanguageVersion.CSharp12, 990LanguageVersion = LanguageVersion.CSharp12, 1043LanguageVersion = LanguageVersion.CSharp12, 1155LanguageVersion = LanguageVersion.CSharp12, 1220LanguageVersion = LanguageVersion.CSharp12, 1257LanguageVersion = LanguageVersion.CSharp12, 1339LanguageVersion = LanguageVersion.CSharp12, 1412LanguageVersion = LanguageVersion.CSharp12, 1455LanguageVersion = LanguageVersion.CSharp12, 1502LanguageVersion = LanguageVersion.CSharp12, 1545LanguageVersion = LanguageVersion.CSharp12, 1592LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UsePrimaryConstructor\UsePrimaryConstructorTests.cs (139)
40LanguageVersion = LanguageVersion.CSharp12, 74LanguageVersion = LanguageVersion.CSharp12, 96LanguageVersion = LanguageVersion.CSharp12, 117LanguageVersion = LanguageVersion.CSharp12, 146LanguageVersion = LanguageVersion.CSharp12, 183LanguageVersion = LanguageVersion.CSharp12, 220LanguageVersion = LanguageVersion.CSharp12, 259LanguageVersion = LanguageVersion.CSharp12, 298LanguageVersion = LanguageVersion.CSharp12, 339LanguageVersion = LanguageVersion.CSharp12, 355LanguageVersion = LanguageVersion.CSharp12, 373LanguageVersion = LanguageVersion.CSharp12, 397LanguageVersion = LanguageVersion.CSharp12, 421LanguageVersion = LanguageVersion.CSharp12, 445LanguageVersion = LanguageVersion.CSharp12, 469LanguageVersion = LanguageVersion.CSharp12, 490LanguageVersion = LanguageVersion.CSharp12, 511LanguageVersion = LanguageVersion.CSharp12, 529LanguageVersion = LanguageVersion.CSharp12, 550LanguageVersion = LanguageVersion.CSharp12, 574LanguageVersion = LanguageVersion.CSharp12, 603LanguageVersion = LanguageVersion.CSharp12, 630LanguageVersion = LanguageVersion.CSharp12, 658LanguageVersion = LanguageVersion.CSharp12, 686LanguageVersion = LanguageVersion.CSharp12, 715LanguageVersion = LanguageVersion.CSharp12, 738LanguageVersion = LanguageVersion.CSharp12, 793LanguageVersion = LanguageVersion.CSharp12, 832LanguageVersion = LanguageVersion.CSharp12, 871LanguageVersion = LanguageVersion.CSharp12, 910LanguageVersion = LanguageVersion.CSharp12, 951LanguageVersion = LanguageVersion.CSharp12, 994LanguageVersion = LanguageVersion.CSharp12, 1037LanguageVersion = LanguageVersion.CSharp12, 1059LanguageVersion = LanguageVersion.CSharp12, 1081LanguageVersion = LanguageVersion.CSharp12, 1111LanguageVersion = LanguageVersion.CSharp12, 1147LanguageVersion = LanguageVersion.CSharp12, 1187LanguageVersion = LanguageVersion.CSharp12, 1217LanguageVersion = LanguageVersion.CSharp12, 1265LanguageVersion = LanguageVersion.CSharp12, 1309LanguageVersion = LanguageVersion.CSharp12, 1349LanguageVersion = LanguageVersion.CSharp12, 1398LanguageVersion = LanguageVersion.CSharp12, 1445LanguageVersion = LanguageVersion.CSharp12, 1487LanguageVersion = LanguageVersion.CSharp12, 1529LanguageVersion = LanguageVersion.CSharp12, 1577LanguageVersion = LanguageVersion.CSharp12, 1625LanguageVersion = LanguageVersion.CSharp12, 1672LanguageVersion = LanguageVersion.CSharp12, 1721LanguageVersion = LanguageVersion.CSharp12, 1754LanguageVersion = LanguageVersion.CSharp12, 1786LanguageVersion = LanguageVersion.CSharp12, 1827LanguageVersion = LanguageVersion.CSharp12, 1886LanguageVersion = LanguageVersion.CSharp12, 1914LanguageVersion = LanguageVersion.CSharp12, 1942LanguageVersion = LanguageVersion.CSharp12, 1976LanguageVersion = LanguageVersion.CSharp12, 2012LanguageVersion = LanguageVersion.CSharp12, 2049LanguageVersion = LanguageVersion.CSharp12, 2088LanguageVersion = LanguageVersion.CSharp12, 2120LanguageVersion = LanguageVersion.CSharp12, 2155LanguageVersion = LanguageVersion.CSharp12, 2183LanguageVersion = LanguageVersion.CSharp12, 2217LanguageVersion = LanguageVersion.CSharp12, 2247LanguageVersion = LanguageVersion.CSharp12, 2283LanguageVersion = LanguageVersion.CSharp12, 2311LanguageVersion = LanguageVersion.CSharp12, 2345LanguageVersion = LanguageVersion.CSharp12, 2375LanguageVersion = LanguageVersion.CSharp12, 2411LanguageVersion = LanguageVersion.CSharp12, 2440LanguageVersion = LanguageVersion.CSharp12, 2473LanguageVersion = LanguageVersion.CSharp12, 2502LanguageVersion = LanguageVersion.CSharp12, 2535LanguageVersion = LanguageVersion.CSharp12, 2565LanguageVersion = LanguageVersion.CSharp12, 2586LanguageVersion = LanguageVersion.CSharp12, 2612LanguageVersion = LanguageVersion.CSharp12, 2638LanguageVersion = LanguageVersion.CSharp12, 2660LanguageVersion = LanguageVersion.CSharp12, 2682LanguageVersion = LanguageVersion.CSharp12, 2706LanguageVersion = LanguageVersion.CSharp12, 2730LanguageVersion = LanguageVersion.CSharp12, 2754LanguageVersion = LanguageVersion.CSharp12, 2778LanguageVersion = LanguageVersion.CSharp12, 2804LanguageVersion = LanguageVersion.CSharp12, 2830LanguageVersion = LanguageVersion.CSharp12, 2863LanguageVersion = LanguageVersion.CSharp12, 2904LanguageVersion = LanguageVersion.CSharp12, 2936LanguageVersion = LanguageVersion.CSharp12, 2968LanguageVersion = LanguageVersion.CSharp12, 2996LanguageVersion = LanguageVersion.CSharp12, 3024LanguageVersion = LanguageVersion.CSharp12, 3052LanguageVersion = LanguageVersion.CSharp12, 3129LanguageVersion = LanguageVersion.CSharp12, 3167LanguageVersion = LanguageVersion.CSharp12, 3212LanguageVersion = LanguageVersion.CSharp12, 3250LanguageVersion = LanguageVersion.CSharp12, 3292LanguageVersion = LanguageVersion.CSharp12, 3321LanguageVersion = LanguageVersion.CSharp12, 3343LanguageVersion = LanguageVersion.CSharp12, 3370LanguageVersion = LanguageVersion.CSharp12, 3391LanguageVersion = LanguageVersion.CSharp12, 3420LanguageVersion = LanguageVersion.CSharp12, 3442LanguageVersion = LanguageVersion.CSharp12, 3468LanguageVersion = LanguageVersion.CSharp12, 3497LanguageVersion = LanguageVersion.CSharp12, 3526LanguageVersion = LanguageVersion.CSharp12, 3555LanguageVersion = LanguageVersion.CSharp12, 3584LanguageVersion = LanguageVersion.CSharp12, 3606LanguageVersion = LanguageVersion.CSharp12, 3628LanguageVersion = LanguageVersion.CSharp12, 3645LanguageVersion = LanguageVersion.CSharp12, 3692LanguageVersion = LanguageVersion.CSharp12, 3728LanguageVersion = LanguageVersion.CSharp12, 3765LanguageVersion = LanguageVersion.CSharp12, 3791LanguageVersion = LanguageVersion.CSharp12, 3813LanguageVersion = LanguageVersion.CSharp12, 3839LanguageVersion = LanguageVersion.CSharp12, 3869LanguageVersion = LanguageVersion.CSharp12, 3912LanguageVersion = LanguageVersion.CSharp12, 3955LanguageVersion = LanguageVersion.CSharp12, 3998LanguageVersion = LanguageVersion.CSharp12, 4027LanguageVersion = LanguageVersion.CSharp12, 4070LanguageVersion = LanguageVersion.CSharp12, 4100LanguageVersion = LanguageVersion.CSharp12, 4126LanguageVersion = LanguageVersion.CSharp12, 4159LanguageVersion = LanguageVersion.CSharp12, 4188LanguageVersion = LanguageVersion.CSharp12, 4220LanguageVersion = LanguageVersion.CSharp12, 4249LanguageVersion = LanguageVersion.CSharp12, 4280LanguageVersion = LanguageVersion.CSharp12, 4308LanguageVersion = LanguageVersion.CSharp12, 4341LanguageVersion = LanguageVersion.CSharp12, 4371LanguageVersion = LanguageVersion.CSharp12, 4405LanguageVersion = LanguageVersion.CSharp12, 4436LanguageVersion = LanguageVersion.CSharp12, 4468LanguageVersion = LanguageVersion.CSharp12, 4503LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseSystemThreadingLock\UseSystemThreadingLockTests.cs (3)
87LanguageVersion = LanguageVersion.CSharp12, 110LanguageVersion = LanguageVersion.CSharp12, 133LanguageVersion = LanguageVersion.CSharp12,
src\Analyzers\CSharp\Tests\UseUtf8StringLiteral\UseUtf8StringLiteralTests.cs (48)
47LanguageVersion = LanguageVersion.CSharp12 86LanguageVersion = LanguageVersion.CSharp12 106LanguageVersion = LanguageVersion.CSharp12 133LanguageVersion = LanguageVersion.CSharp12 153LanguageVersion = LanguageVersion.CSharp12 177LanguageVersion = LanguageVersion.CSharp12 199LanguageVersion = LanguageVersion.CSharp12 219LanguageVersion = LanguageVersion.CSharp12 250LanguageVersion = LanguageVersion.CSharp12 283LanguageVersion = LanguageVersion.CSharp12 314LanguageVersion = LanguageVersion.CSharp12 345LanguageVersion = LanguageVersion.CSharp12 376LanguageVersion = LanguageVersion.CSharp12 407LanguageVersion = LanguageVersion.CSharp12 437LanguageVersion = LanguageVersion.CSharp12 468LanguageVersion = LanguageVersion.CSharp12 499LanguageVersion = LanguageVersion.CSharp12 534LanguageVersion = LanguageVersion.CSharp12 565LanguageVersion = LanguageVersion.CSharp12 596LanguageVersion = LanguageVersion.CSharp12 617LanguageVersion = LanguageVersion.CSharp12 638LanguageVersion = LanguageVersion.CSharp12 659LanguageVersion = LanguageVersion.CSharp12 693LanguageVersion = LanguageVersion.CSharp12 774LanguageVersion = LanguageVersion.CSharp12 802LanguageVersion = LanguageVersion.CSharp12 835LanguageVersion = LanguageVersion.CSharp12 890LanguageVersion = LanguageVersion.CSharp12 921LanguageVersion = LanguageVersion.CSharp12 952LanguageVersion = LanguageVersion.CSharp12 983LanguageVersion = LanguageVersion.CSharp12 1014LanguageVersion = LanguageVersion.CSharp12 1045LanguageVersion = LanguageVersion.CSharp12 1076LanguageVersion = LanguageVersion.CSharp12 1096LanguageVersion = LanguageVersion.CSharp12 1127LanguageVersion = LanguageVersion.CSharp12 1158LanguageVersion = LanguageVersion.CSharp12 1189LanguageVersion = LanguageVersion.CSharp12 1220LanguageVersion = LanguageVersion.CSharp12 1251LanguageVersion = LanguageVersion.CSharp12 1292LanguageVersion = LanguageVersion.CSharp12 1347LanguageVersion = LanguageVersion.CSharp12 1436LanguageVersion = LanguageVersion.CSharp12 1467LanguageVersion = LanguageVersion.CSharp12 1498LanguageVersion = LanguageVersion.CSharp12 1529LanguageVersion = LanguageVersion.CSharp12 1564LanguageVersion = LanguageVersion.CSharp12 1599LanguageVersion = LanguageVersion.CSharp12
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\DelegateTypeTests.cs (8)
6485foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.CSharp13, CSharp.LanguageVersion.CSharp12 }) 6524foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.CSharp13, CSharp.LanguageVersion.CSharp12 }) 6569foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.CSharp13, CSharp.LanguageVersion.CSharp12 }) 6614foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.CSharp13, CSharp.LanguageVersion.CSharp12 }) 6659foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.CSharp13, CSharp.LanguageVersion.CSharp12 }) 6704foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.CSharp13, CSharp.LanguageVersion.CSharp12 }) 6743foreach (var languageVersion in new[] { CSharp.LanguageVersion.Preview, CSharp.LanguageVersion.CSharp13, CSharp.LanguageVersion.CSharp12 }) 6782foreach (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)
44public 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)
54showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 82showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 96<Project Language="C#" CommonReferences="true" LanguageVersion=<%= LanguageVersion.CSharp12.ToDisplayString() %>> 130<Project Language="C#" CommonReferences="true" LanguageVersion=<%= LanguageVersion.CSharp12.ToDisplayString() %>> 178showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 210showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 283showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 319showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 353showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 380showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 419showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 448showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 489showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 530showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 569showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 781showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9744showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9792showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9829showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9860showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9889showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9908showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9927showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9948showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9969showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 9989showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10009showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10029showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10049showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10070showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10090showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10110showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10130showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10150showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10171showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10194showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10217showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 10240showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11275showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11301showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11332showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11364showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11396showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11428showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11460showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11492showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11524showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 11553languageVersion:=LanguageVersion.CSharp12) 11583languageVersion:=LanguageVersion.CSharp12) 11600<Project Language="C#" AssemblyName="TestAssembly" CommonReferencesPortable="true" LanguageVersion=<%= LanguageVersion.CSharp12.ToDisplayString() %>> 11638languageVersion:=LanguageVersion.CSharp12) 11660languageVersion:=LanguageVersion.CSharp12) 11682languageVersion:=LanguageVersion.CSharp12) 11708languageVersion:=LanguageVersion.CSharp12) 11731languageVersion:=LanguageVersion.CSharp12) 11748languageVersion:=LanguageVersion.CSharp12) 11770languageVersion:=LanguageVersion.CSharp12) 11792languageVersion:=LanguageVersion.CSharp12) 11818languageVersion:=LanguageVersion.CSharp12) 11841languageVersion:=LanguageVersion.CSharp12) 11866languageVersion:=LanguageVersion.CSharp12) 11896languageVersion:=LanguageVersion.CSharp12) 11926languageVersion:=LanguageVersion.CSharp12) 11976languageVersion:=LanguageVersion.CSharp12) 11996languageVersion:=LanguageVersion.CSharp12) 12591showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 12615showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 12632showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 12678showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 12703showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 12727showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12) 12750showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12)
IntelliSense\CSharpCompletionCommandHandlerTests_DeclarationName.vb (1)
43showCompletionInArgumentLists:=showCompletionInArgumentLists, languageVersion:=LanguageVersion.CSharp12)
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportFixer.cs (1)
631if (((CSharpParseOptions)syntaxTree.Options).LanguageVersion < LanguageVersion.CSharp12)