550 references to TestInRegularAndScriptAsync
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (550)
src\Analyzers\CSharp\Tests\AddBraces\AddBracesTests.cs (1)
1856await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: Option(CSharpCodeStyleOptions.PreferBraces, bracesPreference, NotificationOption2.Silent)));
src\Analyzers\CSharp\Tests\AddParameter\AddParameterTests.cs (5)
2467=> TestInRegularAndScriptAsync(""" 2562=> TestInRegularAndScriptAsync(""" 2586=> TestInRegularAndScriptAsync(""" 2600=> TestInRegularAndScriptAsync(""" 2624=> TestInRegularAndScriptAsync("""
src\Analyzers\CSharp\Tests\AddRequiredParentheses\AddRequiredExpressionParenthesesTests.cs (3)
30=> TestInRegularAndScriptAsync(initialMarkup, expected, parameters: new TestParameters(options: options)); 711=> TestInRegularAndScriptAsync( 752=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\AddRequiredParentheses\AddRequiredPatternParenthesesTests.cs (1)
29=> TestInRegularAndScriptAsync(initialMarkup, expected, parameters: new TestParameters(options: options));
src\Analyzers\CSharp\Tests\GenerateConstructor\GenerateConstructorTests.cs (10)
116=> TestInRegularAndScriptAsync( 494=> TestInRegularAndScriptAsync( 622=> TestInRegularAndScriptAsync( 797=> TestInRegularAndScriptAsync( 925=> TestInRegularAndScriptAsync( 1014=> TestInRegularAndScriptAsync( 3870=> TestInRegularAndScriptAsync( 3901=> TestInRegularAndScriptAsync( 3934=> TestInRegularAndScriptAsync( 3965=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\GenerateMethod\GenerateConversionTests.cs (1)
98=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\GenerateMethod\GenerateMethodTests.cs (1)
115=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests.cs (14)
148=> TestInRegularAndScriptAsync( 1294=> TestInRegularAndScriptAsync( 1319=> TestInRegularAndScriptAsync( 1344=> TestInRegularAndScriptAsync( 1379=> TestInRegularAndScriptAsync( 1419=> TestInRegularAndScriptAsync( 1444=> TestInRegularAndScriptAsync( 1479=> TestInRegularAndScriptAsync( 1519=> TestInRegularAndScriptAsync( 1548=> TestInRegularAndScriptAsync( 1573=> TestInRegularAndScriptAsync( 1601await TestInRegularAndScriptAsync( 1673=> TestInRegularAndScriptAsync( 1787await TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\InlineDeclaration\CSharpInlineDeclarationTests.cs (7)
222=> TestInRegularAndScriptAsync( 249=> TestInRegularAndScriptAsync( 575=> TestInRegularAndScriptAsync( 618=> TestInRegularAndScriptAsync( 661=> TestInRegularAndScriptAsync( 2422await TestInRegularAndScriptAsync( 2505=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\MakeFieldReadonly\MakeFieldReadonlyTests.cs (1)
2037=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\MakeLocalFunctionStatic\MakeLocalFunctionStaticTests.cs (10)
31=> TestInRegularAndScriptAsync( 158=> TestInRegularAndScriptAsync( 196=> TestInRegularAndScriptAsync( 234=> TestInRegularAndScriptAsync( 270=> TestInRegularAndScriptAsync( 314=> TestInRegularAndScriptAsync( 346=> TestInRegularAndScriptAsync( 383=> TestInRegularAndScriptAsync( 441=> TestInRegularAndScriptAsync( 484=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\MakeRefStruct\MakeRefStructTests.cs (6)
59await TestInRegularAndScriptAsync(text, expected, new(parseOptions: s_parseOptions)); 118await TestInRegularAndScriptAsync(text, expected, new(parseOptions: s_parseOptions)); 136await TestInRegularAndScriptAsync(text, expected, new(parseOptions: s_parseOptions)); 184await TestInRegularAndScriptAsync(text, expected, new(parseOptions: s_parseOptions)); 226await TestInRegularAndScriptAsync(text, expected, new(parseOptions: s_parseOptions)); 252await TestInRegularAndScriptAsync(text, expected, new(parseOptions: s_parseOptions));
src\Analyzers\CSharp\Tests\MisplacedUsingDirectives\MisplacedUsingDirectivesTests.cs (1)
95return TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\NamingStyles\NamingStylesTests.cs (36)
43=> TestInRegularAndScriptAsync( 76=> TestInRegularAndScriptAsync( 112=> TestInRegularAndScriptAsync( 160await TestInRegularAndScriptAsync( 206await TestInRegularAndScriptAsync( 266await TestInRegularAndScriptAsync( 283=> TestInRegularAndScriptAsync( 357=> TestInRegularAndScriptAsync( 378=> TestInRegularAndScriptAsync( 401=> TestInRegularAndScriptAsync( 424=> TestInRegularAndScriptAsync( 451=> TestInRegularAndScriptAsync( 478=> TestInRegularAndScriptAsync( 505=> TestInRegularAndScriptAsync( 532=> TestInRegularAndScriptAsync( 559=> TestInRegularAndScriptAsync( 632=> TestInRegularAndScriptAsync( 657=> TestInRegularAndScriptAsync( 682=> TestInRegularAndScriptAsync( 707=> TestInRegularAndScriptAsync( 732=> TestInRegularAndScriptAsync( 757=> TestInRegularAndScriptAsync( 869=> TestInRegularAndScriptAsync( 886=> TestInRegularAndScriptAsync( 932=> TestInRegularAndScriptAsync( 955=> TestInRegularAndScriptAsync( 978=> TestInRegularAndScriptAsync( 1017=> TestInRegularAndScriptAsync( 1038=> TestInRegularAndScriptAsync( 1095=> TestInRegularAndScriptAsync( 1122=> TestInRegularAndScriptAsync( 1179=> TestInRegularAndScriptAsync( 1221=> TestInRegularAndScriptAsync( 1288=> TestInRegularAndScriptAsync(""" 1296=> TestInRegularAndScriptAsync(""" 1409=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\Nullable\CSharpDeclareAsNullableCodeFixTests.cs (37)
28=> TestInRegularAndScriptAsync( 66=> TestInRegularAndScriptAsync( 90=> TestInRegularAndScriptAsync( 114=> TestInRegularAndScriptAsync( 144=> TestInRegularAndScriptAsync( 168=> TestInRegularAndScriptAsync( 200=> TestInRegularAndScriptAsync( 244=> TestInRegularAndScriptAsync( 262=> TestInRegularAndScriptAsync( 288=> TestInRegularAndScriptAsync( 314=> TestInRegularAndScriptAsync( 338=> TestInRegularAndScriptAsync( 379=> TestInRegularAndScriptAsync( 463=> TestInRegularAndScriptAsync( 481=> TestInRegularAndScriptAsync( 499=> TestInRegularAndScriptAsync( 518=> TestInRegularAndScriptAsync( 536=> TestInRegularAndScriptAsync( 560=> TestInRegularAndScriptAsync( 584=> TestInRegularAndScriptAsync( 608=> TestInRegularAndScriptAsync( 638=> TestInRegularAndScriptAsync( 668=> TestInRegularAndScriptAsync( 692=> TestInRegularAndScriptAsync( 746=> TestInRegularAndScriptAsync( 804=> TestInRegularAndScriptAsync( 828=> TestInRegularAndScriptAsync( 852=> TestInRegularAndScriptAsync( 876=> TestInRegularAndScriptAsync( 917=> TestInRegularAndScriptAsync( 974=> TestInRegularAndScriptAsync( 1015=> TestInRegularAndScriptAsync( 1071=> TestInRegularAndScriptAsync( 1092=> TestInRegularAndScriptAsync( 1124=> TestInRegularAndScriptAsync( 1150=> TestInRegularAndScriptAsync( 1176=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\OrderModifiers\OrderModifiersTests.cs (1)
493=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\QualifyMemberAccess\QualifyMemberAccessTests.cs (1)
41=> TestInRegularAndScriptAsync(code, expected, new(options: Option(option, true, notification)));
src\Analyzers\CSharp\Tests\QualifyMemberAccess\QualifyMemberAccessTests_FixAllTests.cs (1)
20=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryExpressionParenthesesTests.cs (13)
121=> TestInRegularAndScriptAsync( 156=> TestInRegularAndScriptAsync( 611=> TestInRegularAndScriptAsync( 958=> TestInRegularAndScriptAsync( 1038=> TestInRegularAndScriptAsync( 1099=> TestInRegularAndScriptAsync( 2356=> TestInRegularAndScriptAsync( 2379=> TestInRegularAndScriptAsync( 2402=> TestInRegularAndScriptAsync( 2424=> TestInRegularAndScriptAsync( 2446=> TestInRegularAndScriptAsync( 2507=> TestInRegularAndScriptAsync( 2946=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryPatternParenthesesTests.cs (3)
27await TestInRegularAndScriptAsync(initial, expected, new(options: RemoveAllUnnecessaryParentheses, index: index)); 31await TestInRegularAndScriptAsync(initial, expected, new(options: RequireAllParenthesesForClarity, index: index)); 44=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueAssignmentTests.cs (62)
1603=> TestInRegularAndScriptAsync( 1644=> TestInRegularAndScriptAsync( 1772=> TestInRegularAndScriptAsync( 1803=> TestInRegularAndScriptAsync( 1833=> TestInRegularAndScriptAsync( 1865=> TestInRegularAndScriptAsync( 1895=> TestInRegularAndScriptAsync( 1926=> TestInRegularAndScriptAsync( 2088=> TestInRegularAndScriptAsync( 2120=> TestInRegularAndScriptAsync( 2153=> TestInRegularAndScriptAsync( 2171=> TestInRegularAndScriptAsync( 2318=> TestInRegularAndScriptAsync( 2346=> TestInRegularAndScriptAsync( 2420=> TestInRegularAndScriptAsync( 2452=> TestInRegularAndScriptAsync( 2569=> TestInRegularAndScriptAsync( 2610=> TestInRegularAndScriptAsync( 2686=> TestInRegularAndScriptAsync( 2779=> TestInRegularAndScriptAsync( 4900=> TestInRegularAndScriptAsync( 5015=> TestInRegularAndScriptAsync( 5071=> TestInRegularAndScriptAsync( 5396=> TestInRegularAndScriptAsync( 5438=> TestInRegularAndScriptAsync( 5479=> TestInRegularAndScriptAsync( 5549=> TestInRegularAndScriptAsync( 5894=> TestInRegularAndScriptAsync( 6184=> TestInRegularAndScriptAsync( 6278=> TestInRegularAndScriptAsync( 6475=> TestInRegularAndScriptAsync( 6537=> TestInRegularAndScriptAsync( 6598=> TestInRegularAndScriptAsync( 6634=> TestInRegularAndScriptAsync( 6672=> TestInRegularAndScriptAsync( 6710=> TestInRegularAndScriptAsync( 6830=> TestInRegularAndScriptAsync( 6872=> TestInRegularAndScriptAsync( 6981=> TestInRegularAndScriptAsync( 7019=> TestInRegularAndScriptAsync( 7415=> TestInRegularAndScriptAsync( 7443=> TestInRegularAndScriptAsync( 7467=> TestInRegularAndScriptAsync( 7493=> TestInRegularAndScriptAsync( 7523=> TestInRegularAndScriptAsync( 7553=> TestInRegularAndScriptAsync( 7703=> TestInRegularAndScriptAsync( 7739=> TestInRegularAndScriptAsync( 7780=> TestInRegularAndScriptAsync( 7812=> TestInRegularAndScriptAsync( 8130=> TestInRegularAndScriptAsync( 8164=> TestInRegularAndScriptAsync( 8198=> TestInRegularAndScriptAsync( 8234=> TestInRegularAndScriptAsync( 8488=> TestInRegularAndScriptAsync( 8547=> TestInRegularAndScriptAsync( 8587=> TestInRegularAndScriptAsync( 8714=> TestInRegularAndScriptAsync( 8801=> TestInRegularAndScriptAsync(""" 8849=> TestInRegularAndScriptAsync( 8883=> TestInRegularAndScriptAsync( 8909=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValueExpressionStatementTests.cs (9)
56=> TestInRegularAndScriptAsync( 308=> TestInRegularAndScriptAsync( 336=> TestInRegularAndScriptAsync( 364=> TestInRegularAndScriptAsync( 398=> TestInRegularAndScriptAsync( 482=> TestInRegularAndScriptAsync( 512=> TestInRegularAndScriptAsync( 541=> TestInRegularAndScriptAsync( 571=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\RemoveUnusedParametersAndValues\RemoveUnusedValuesTestsBase.cs (2)
51=> TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new TestParameters(options: GetOptions(optionName), parseOptions: parseOptions)); 58await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new TestParameters(options: options, parseOptions: parseOptions));
src\Analyzers\CSharp\Tests\ReplaceDefaultLiteral\ReplaceDefaultLiteralTests.cs (1)
46await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup,
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests.cs (5)
84=> TestInRegularAndScriptAsync( 2567=> TestInRegularAndScriptAsync( 2585=> TestInRegularAndScriptAsync( 3006=> TestInRegularAndScriptAsync( 3035=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseAutoProperty\UseAutoPropertyTests_Field.cs (43)
40=> TestInRegularAndScriptAsync( 70=> TestInRegularAndScriptAsync( 100=> TestInRegularAndScriptAsync( 130=> TestInRegularAndScriptAsync( 160=> TestInRegularAndScriptAsync( 192=> TestInRegularAndScriptAsync( 231=> TestInRegularAndScriptAsync( 267=> TestInRegularAndScriptAsync( 317=> TestInRegularAndScriptAsync( 348=> TestInRegularAndScriptAsync( 368=> TestInRegularAndScriptAsync( 507=> TestInRegularAndScriptAsync( 554=> TestInRegularAndScriptAsync( 609=> TestInRegularAndScriptAsync( 673=> TestInRegularAndScriptAsync( 702=> TestInRegularAndScriptAsync( 724=> TestInRegularAndScriptAsync( 745=> TestInRegularAndScriptAsync( 785=> TestInRegularAndScriptAsync( 804=> TestInRegularAndScriptAsync( 823=> TestInRegularAndScriptAsync( 845=> TestInRegularAndScriptAsync( 869=> TestInRegularAndScriptAsync( 893=> TestInRegularAndScriptAsync( 915=> TestInRegularAndScriptAsync( 938=> TestInRegularAndScriptAsync( 970=> TestInRegularAndScriptAsync( 998=> TestInRegularAndScriptAsync( 1026=> TestInRegularAndScriptAsync( 1060=> TestInRegularAndScriptAsync( 1170=> TestInRegularAndScriptAsync( 1222=> TestInRegularAndScriptAsync( 1250=> TestInRegularAndScriptAsync( 1278=> TestInRegularAndScriptAsync( 1295=> TestInRegularAndScriptAsync( 1328=> TestInRegularAndScriptAsync(""" 1363=> TestInRegularAndScriptAsync(""" 1398=> TestInRegularAndScriptAsync( 1431=> TestInRegularAndScriptAsync( 1463=> TestInRegularAndScriptAsync( 1490=> TestInRegularAndScriptAsync( 1516=> TestInRegularAndScriptAsync( 1550=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseConditionalExpression\UseConditionalExpressionForReturnTests.cs (17)
465=> TestInRegularAndScriptAsync( 498=> TestInRegularAndScriptAsync( 531=> TestInRegularAndScriptAsync( 564=> TestInRegularAndScriptAsync( 597=> TestInRegularAndScriptAsync( 630=> TestInRegularAndScriptAsync( 707=> TestInRegularAndScriptAsync( 736=> TestInRegularAndScriptAsync( 765=> TestInRegularAndScriptAsync( 794=> TestInRegularAndScriptAsync( 823=> TestInRegularAndScriptAsync( 852=> TestInRegularAndScriptAsync( 912=> TestInRegularAndScriptAsync( 974=> TestInRegularAndScriptAsync( 1007=> TestInRegularAndScriptAsync( 1040=> TestInRegularAndScriptAsync( 2092=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseExpressionBodyForLambda\UseExpressionBodyForLambdasAnalyzerTests.cs (41)
34=> TestInRegularAndScriptAsync( 78=> TestInRegularAndScriptAsync( 122=> TestInRegularAndScriptAsync( 155=> TestInRegularAndScriptAsync( 242=> TestInRegularAndScriptAsync( 271=> TestInRegularAndScriptAsync( 300=> TestInRegularAndScriptAsync( 329=> TestInRegularAndScriptAsync( 358=> TestInRegularAndScriptAsync( 387=> TestInRegularAndScriptAsync( 416=> TestInRegularAndScriptAsync( 445=> TestInRegularAndScriptAsync( 474=> TestInRegularAndScriptAsync( 503=> TestInRegularAndScriptAsync( 532=> TestInRegularAndScriptAsync( 563=> TestInRegularAndScriptAsync( 594=> TestInRegularAndScriptAsync( 625=> TestInRegularAndScriptAsync( 656=> TestInRegularAndScriptAsync( 687=> TestInRegularAndScriptAsync( 718=> TestInRegularAndScriptAsync( 749=> TestInRegularAndScriptAsync( 780=> TestInRegularAndScriptAsync( 811=> TestInRegularAndScriptAsync( 842=> TestInRegularAndScriptAsync( 873=> TestInRegularAndScriptAsync( 904=> TestInRegularAndScriptAsync( 935=> TestInRegularAndScriptAsync( 966=> TestInRegularAndScriptAsync( 997=> TestInRegularAndScriptAsync( 1028=> TestInRegularAndScriptAsync( 1062=> TestInRegularAndScriptAsync( 1093=> TestInRegularAndScriptAsync( 1124=> TestInRegularAndScriptAsync( 1156=> TestInRegularAndScriptAsync( 1188=> TestInRegularAndScriptAsync( 1220=> TestInRegularAndScriptAsync( 1252=> TestInRegularAndScriptAsync( 1284=> TestInRegularAndScriptAsync( 1316=> TestInRegularAndScriptAsync( 1348=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests.cs (109)
131await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 133await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 163await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 165await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 335await TestInRegularAndScriptAsync(before, """ 369await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 370await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeForBuiltInTypesOnly())); 371await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); // preference for builtin types dominates 396await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 397await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeForBuiltInTypesOnly())); 398await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 423await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 424await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeForBuiltInTypesOnly())); 425await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 450await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 451await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeForBuiltInTypesOnly())); 452await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 479await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 480await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeForBuiltInTypesOnly())); 481await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 514await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 515await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeForBuiltInTypesOnly())); 516await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 541await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 542await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeForBuiltInTypesOnly())); 543await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 568await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 570await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 599await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 601await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 632await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 634await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 663await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 665await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 694await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 696await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 725await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 727await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 754await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 756await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 787await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 789await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 820await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 822await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 851await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 853await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 880await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 882await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 909await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 911await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 944await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 946await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 977await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 979await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1010await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 1012await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1043await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 1045await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1050=> TestInRegularAndScriptAsync(""" 1118await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 1120await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1145await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 1146await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeForBuiltInTypesOnly())); 1147await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); // preference for builtin types dominates 1172await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 1174await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1198await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 1199await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeForBuiltInTypesOnly())); 1200await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 1241=> TestInRegularAndScriptAsync( 1266=> TestInRegularAndScriptAsync( 1291=> TestInRegularAndScriptAsync( 1316=> TestInRegularAndScriptAsync( 1341=> TestInRegularAndScriptAsync( 1366=> TestInRegularAndScriptAsync( 1391=> TestInRegularAndScriptAsync( 1416=> TestInRegularAndScriptAsync( 1441=> TestInRegularAndScriptAsync( 1534=> TestInRegularAndScriptAsync( 1560=> TestInRegularAndScriptAsync( 1586=> TestInRegularAndScriptAsync( 1612=> TestInRegularAndScriptAsync( 1638=> TestInRegularAndScriptAsync( 1664=> TestInRegularAndScriptAsync( 1690=> TestInRegularAndScriptAsync( 1716=> TestInRegularAndScriptAsync( 1748=> TestInRegularAndScriptAsync( 1784=> TestInRegularAndScriptAsync( 1812=> TestInRegularAndScriptAsync( 1856=> TestInRegularAndScriptAsync( 1886=> TestInRegularAndScriptAsync( 1920=> TestInRegularAndScriptAsync( 1968=> TestInRegularAndScriptAsync( 2014=> TestInRegularAndScriptAsync( 2040=> TestInRegularAndScriptAsync( 2068=> TestInRegularAndScriptAsync( 2106=> TestInRegularAndScriptAsync( 2134=> TestInRegularAndScriptAsync( 2172=> TestInRegularAndScriptAsync( 2198=> TestInRegularAndScriptAsync( 2228=> TestInRegularAndScriptAsync( 2254=> TestInRegularAndScriptAsync( 2346=> TestInRegularAndScriptAsync( 2369=> TestInRegularAndScriptAsync( 2392=> TestInRegularAndScriptAsync( 2415=> TestInRegularAndScriptAsync( 2682await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeEverywhere())); 2684await TestInRegularAndScriptAsync(before, after, new(options: ExplicitTypeExceptWhereApparent())); 2707=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseExplicitTypeTests_FixAllTests.cs (4)
21=> TestInRegularAndScriptAsync(""" 131=> TestInRegularAndScriptAsync(""" 241=> TestInRegularAndScriptAsync(""" 351=> TestInRegularAndScriptAsync("""
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseImplicitTypeTests.cs (69)
454=> TestInRegularAndScriptAsync( 496=> TestInRegularAndScriptAsync( 579=> TestInRegularAndScriptAsync( 605=> TestInRegularAndScriptAsync( 631=> TestInRegularAndScriptAsync( 659=> TestInRegularAndScriptAsync(""" 687=> TestInRegularAndScriptAsync( 713=> TestInRegularAndScriptAsync( 739=> TestInRegularAndScriptAsync( 765=> TestInRegularAndScriptAsync( 791=> TestInRegularAndScriptAsync( 817=> TestInRegularAndScriptAsync( 843=> TestInRegularAndScriptAsync( 875=> TestInRegularAndScriptAsync( 911=> TestInRegularAndScriptAsync( 939=> TestInRegularAndScriptAsync( 983=> TestInRegularAndScriptAsync( 1013=> TestInRegularAndScriptAsync( 1047=> TestInRegularAndScriptAsync( 1095=> TestInRegularAndScriptAsync( 1141=> TestInRegularAndScriptAsync( 1169=> TestInRegularAndScriptAsync( 1207=> TestInRegularAndScriptAsync( 1235=> TestInRegularAndScriptAsync( 1263=> TestInRegularAndScriptAsync( 1301=> TestInRegularAndScriptAsync( 1376=> TestInRegularAndScriptAsync( 1402=> TestInRegularAndScriptAsync( 1443=> TestInRegularAndScriptAsync( 1469=> TestInRegularAndScriptAsync( 1553=> TestInRegularAndScriptAsync( 1597=> TestInRegularAndScriptAsync( 1623=> TestInRegularAndScriptAsync( 1655=> TestInRegularAndScriptAsync( 1681=> TestInRegularAndScriptAsync( 1709=> TestInRegularAndScriptAsync( 1807await TestInRegularAndScriptAsync(before, @"class C { static void M() { var s = new int[0]; } }", new(options: ImplicitTypeEverywhere())); 1819await TestInRegularAndScriptAsync(before, after, new(options: ImplicitTypeEverywhere())); 1820await TestInRegularAndScriptAsync(before, after, new(options: ImplicitTypeButKeepIntrinsics())); 1821await TestInRegularAndScriptAsync(before, after, new(options: ImplicitTypeWhereApparent())); 1831await TestInRegularAndScriptAsync(before, after, new(options: ImplicitTypeEverywhere())); 1832await TestInRegularAndScriptAsync(before, after, new(options: ImplicitTypeButKeepIntrinsics())); 1860await TestInRegularAndScriptAsync(before, after, new(options: ImplicitTypeEverywhere())); 1861await TestInRegularAndScriptAsync(before, after, new(options: ImplicitTypeWhereApparentAndForIntrinsics())); 1869await TestInRegularAndScriptAsync(before, @"class C { static void M(C c) { var s = (a: 1, b: c); } }", new(options: ImplicitTypeEverywhere())); 1876=> TestInRegularAndScriptAsync( 1903=> TestInRegularAndScriptAsync( 1979=> TestInRegularAndScriptAsync( 2043=> TestInRegularAndScriptAsync( 2104=> TestInRegularAndScriptAsync(""" 2142=> TestInRegularAndScriptAsync(""" 2178=> TestInRegularAndScriptAsync(""" 2208=> TestInRegularAndScriptAsync(""" 2238=> TestInRegularAndScriptAsync(""" 2268=> TestInRegularAndScriptAsync(""" 2298=> TestInRegularAndScriptAsync(""" 2318=> TestInRegularAndScriptAsync(""" 2378=> TestInRegularAndScriptAsync(""" 2404=> TestInRegularAndScriptAsync(""" 2430=> TestInRegularAndScriptAsync(""" 2680=> TestInRegularAndScriptAsync( 2748=> TestInRegularAndScriptAsync( 2860=> TestInRegularAndScriptAsync( 2893=> TestInRegularAndScriptAsync( 2926=> TestInRegularAndScriptAsync( 2959=> TestInRegularAndScriptAsync( 3008=> TestInRegularAndScriptAsync( 3057=> TestInRegularAndScriptAsync( 3128=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseImplicitOrExplicitType\UseImplicitTypeTests_FixAllTests.cs (4)
21=> TestInRegularAndScriptAsync(""" 131=> TestInRegularAndScriptAsync(""" 241=> TestInRegularAndScriptAsync(""" 351=> TestInRegularAndScriptAsync("""
src\Analyzers\CSharp\Tests\UseInterpolatedVerbatimString\UseInterpolatedVerbatimStringCodeFixTests.cs (3)
30=> TestInRegularAndScriptAsync( 65=> TestInRegularAndScriptAsync( 87=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseIsNullCheck\UseIsNullCheckForCastAndEqualityOperatorTests.cs (4)
140=> TestInRegularAndScriptAsync( 168=> TestInRegularAndScriptAsync( 196=> TestInRegularAndScriptAsync( 224=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseIsNullCheck\UseIsNullCheckForReferenceEqualsTests.cs (9)
200=> TestInRegularAndScriptAsync( 228=> TestInRegularAndScriptAsync( 332=> TestInRegularAndScriptAsync( 359=> TestInRegularAndScriptAsync( 391=> TestInRegularAndScriptAsync( 418=> TestInRegularAndScriptAsync( 473=> TestInRegularAndScriptAsync( 501=> TestInRegularAndScriptAsync( 589=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseLocalFunction\UseLocalFunctionTests.cs (3)
874=> TestInRegularAndScriptAsync( 1424=> TestInRegularAndScriptAsync( 3903=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UsePatternMatching\CSharpAsAndNullCheckTests.cs (9)
60=> TestInRegularAndScriptAsync( 1062=> TestInRegularAndScriptAsync( 1087=> TestInRegularAndScriptAsync( 1347=> TestInRegularAndScriptAsync( 1370=> TestInRegularAndScriptAsync( 1417=> TestInRegularAndScriptAsync( 1450=> TestInRegularAndScriptAsync( 1514=> TestInRegularAndScriptAsync( 1552=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UsePatternMatching\CSharpAsAndNullCheckTests_FixAllTests.cs (2)
20=> TestInRegularAndScriptAsync( 75=> TestInRegularAndScriptAsync(
src\Analyzers\CSharp\Tests\UseSystemHashCode\UseSystemHashCodeTests.cs (1)
1234=> TestInRegularAndScriptAsync(