1170 references to TestInRegularAndScriptAsync
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (757)
AddBracesFixAllTests.cs (10)
46await TestInRegularAndScriptAsync(input, expected); 79await TestInRegularAndScriptAsync(input, expected); 165await TestInRegularAndScriptAsync(input, expected); 248await TestInRegularAndScriptAsync(input, expected); 334await TestInRegularAndScriptAsync(input, expected); 401await TestInRegularAndScriptAsync(input, expected); 474await TestInRegularAndScriptAsync(input, expected); 585await TestInRegularAndScriptAsync(input, expected); 634await TestInRegularAndScriptAsync(input, expected); 691await TestInRegularAndScriptAsync(input, expected);
AddBracesTests.cs (1)
1960await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, options: Option(CSharpCodeStyleOptions.PreferBraces, bracesPreference, NotificationOption2.Silent));
AddExplicitCastTests.cs (76)
35await TestInRegularAndScriptAsync( 65await TestInRegularAndScriptAsync( 105await TestInRegularAndScriptAsync( 135await TestInRegularAndScriptAsync( 167await TestInRegularAndScriptAsync( 199await TestInRegularAndScriptAsync( 237await TestInRegularAndScriptAsync( 281await TestInRegularAndScriptAsync( 325await TestInRegularAndScriptAsync( 367await TestInRegularAndScriptAsync( 399await TestInRegularAndScriptAsync( 435await TestInRegularAndScriptAsync( 469await TestInRegularAndScriptAsync( 532await TestInRegularAndScriptAsync( 568await TestInRegularAndScriptAsync( 628await TestInRegularAndScriptAsync( 668await TestInRegularAndScriptAsync( 700await TestInRegularAndScriptAsync( 728await TestInRegularAndScriptAsync( 758await TestInRegularAndScriptAsync( 794await TestInRegularAndScriptAsync( 830await TestInRegularAndScriptAsync( 885await TestInRegularAndScriptAsync( 942await TestInRegularAndScriptAsync( 999await TestInRegularAndScriptAsync( 1029await TestInRegularAndScriptAsync( 1061await TestInRegularAndScriptAsync( 1089await TestInRegularAndScriptAsync( 1117await TestInRegularAndScriptAsync( 1153await TestInRegularAndScriptAsync( 1187await TestInRegularAndScriptAsync( 1223await TestInRegularAndScriptAsync( 1255await TestInRegularAndScriptAsync( 1315await TestInRegularAndScriptAsync( 1374await TestInRegularAndScriptAsync( 1430await TestInRegularAndScriptAsync( 1485await TestInRegularAndScriptAsync( 1542await TestInRegularAndScriptAsync( 1570await TestInRegularAndScriptAsync( 1600await TestInRegularAndScriptAsync( 1630await TestInRegularAndScriptAsync( 1688await TestInRegularAndScriptAsync( 1726await TestInRegularAndScriptAsync( 1768await TestInRegularAndScriptAsync( 1810await TestInRegularAndScriptAsync( 1852await TestInRegularAndScriptAsync( 1894await TestInRegularAndScriptAsync( 1934await TestInRegularAndScriptAsync( 1974await TestInRegularAndScriptAsync( 2047await TestInRegularAndScriptAsync( 2087await TestInRegularAndScriptAsync( 2129await TestInRegularAndScriptAsync( 2195await TestInRegularAndScriptAsync( 2261await TestInRegularAndScriptAsync( 2301await TestInRegularAndScriptAsync( 2436await TestInRegularAndScriptAsync( 2484await TestInRegularAndScriptAsync( 2536await TestInRegularAndScriptAsync( 2612await TestInRegularAndScriptAsync(initialMarkup, expect_0, index: 0, 2632await TestInRegularAndScriptAsync(initialMarkup, expect_1, index: 1, 2680await TestInRegularAndScriptAsync(initialMarkup, expect_0, index: 0, 2700await TestInRegularAndScriptAsync(initialMarkup, expect_1, index: 1, 2742await TestInRegularAndScriptAsync(initialMarkup, expected); 2788await TestInRegularAndScriptAsync(initialMarkup, expected); 2840await TestInRegularAndScriptAsync(initialMarkup, expect_0, index: 0, 2863await TestInRegularAndScriptAsync(initialMarkup, expect_1, index: 1, 2922await TestInRegularAndScriptAsync(initialMarkup, expect_0, index: 0, 2948await TestInRegularAndScriptAsync(initialMarkup, expect_1, index: 1, 2974await TestInRegularAndScriptAsync(initialMarkup, expect_2, index: 2, 3023await TestInRegularAndScriptAsync(initialMarkup, expected); 3069await TestInRegularAndScriptAsync(initialMarkup, expected); 3098await TestInRegularAndScriptAsync( 3136await TestInRegularAndScriptAsync( 3190await TestInRegularAndScriptAsync( 3220await TestInRegularAndScriptAsync( 3248await TestInRegularAndScriptAsync(
AddExplicitCastTests_FixAllTests.cs (6)
300await TestInRegularAndScriptAsync(input, expected); 586await TestInRegularAndScriptAsync(input, expected); 872await TestInRegularAndScriptAsync(input, expected); 1134await TestInRegularAndScriptAsync(input, expected); 1474await TestInRegularAndScriptAsync(input, expected); 1740await TestInRegularAndScriptAsync(input, expected);
AddParameterTests.cs (79)
58await TestInRegularAndScriptAsync( 92await TestInRegularAndScriptAsync( 146await TestInRegularAndScriptAsync( 180await TestInRegularAndScriptAsync( 214await TestInRegularAndScriptAsync( 268await TestInRegularAndScriptAsync( 305await TestInRegularAndScriptAsync( 342await TestInRegularAndScriptAsync( 379await TestInRegularAndScriptAsync( 418await TestInRegularAndScriptAsync( 457await TestInRegularAndScriptAsync( 496await TestInRegularAndScriptAsync( 530await TestInRegularAndScriptAsync( 564await TestInRegularAndScriptAsync( 598await TestInRegularAndScriptAsync( 632await TestInRegularAndScriptAsync( 664await TestInRegularAndScriptAsync( 718await TestInRegularAndScriptAsync( 763await TestInRegularAndScriptAsync( 827await TestInRegularAndScriptAsync(code, fix); 868await TestInRegularAndScriptAsync(code, fix); 916await TestInRegularAndScriptAsync(code, fix_DeclarationOnly, index: 0); 917await TestInRegularAndScriptAsync(code, fix_All, index: 1); 965await TestInRegularAndScriptAsync(code, fix_DeclarationOnly, index: 0); 966await TestInRegularAndScriptAsync(code, fix_All, index: 1); 1015await TestInRegularAndScriptAsync(code, fix_DeclarationOnly, index: 0); 1016await TestInRegularAndScriptAsync(code, fix_All, index: 1); 1077await TestInRegularAndScriptAsync(code, fix_DeclarationOnly, index: 0); 1078await TestInRegularAndScriptAsync(code, fix_All, index: 1); 1085await TestInRegularAndScriptAsync( 1111await TestInRegularAndScriptAsync( 1171await TestInRegularAndScriptAsync(code, fix0, 0); 1172await TestInRegularAndScriptAsync(code, fix1, 1); 1217await TestInRegularAndScriptAsync(code, fix0, 0); 1218await TestInRegularAndScriptAsync(code, fix1, 1); 1250await TestInRegularAndScriptAsync(code, fix0, 0); 1284await TestInRegularAndScriptAsync(code, fix0, 0); 1318await TestInRegularAndScriptAsync(code, fix0, 0); 1408await TestInRegularAndScriptAsync(code, fix0); 1439await TestInRegularAndScriptAsync(code, fix); 1468await TestInRegularAndScriptAsync(code, fix); 1532await TestInRegularAndScriptAsync(code, fix0); 1561await TestInRegularAndScriptAsync(code, fix0); 1622await TestInRegularAndScriptAsync(code, fix_DeclarationOnly, index: 0); 1623await TestInRegularAndScriptAsync(code, fix_All, index: 1); 1687await TestInRegularAndScriptAsync(code, fix0); 1751await TestInRegularAndScriptAsync(code, fix0); 1793await TestInRegularAndScriptAsync(code, fix0); 1899await TestInRegularAndScriptAsync(code, fixedDocumentWithoutConflictAnnotation, index: 0); 1900await TestInRegularAndScriptAsync(code, fixedDocumentWithConflictAnnotation, index: 1); 2015await TestInRegularAndScriptAsync(code, fix_All, index: 1); 2067await TestInRegularAndScriptAsync(code, fix_DeclarationOnly, index: 0); 2068await TestInRegularAndScriptAsync(code, fix_All, index: 1); 2175await TestInRegularAndScriptAsync(code, fix0, index: 0); 2204await TestInRegularAndScriptAsync(code, fix0, index: 0); 2233await TestInRegularAndScriptAsync(code, fix0, index: 0); 2262await TestInRegularAndScriptAsync(code, fix0, index: 0); 2309await TestInRegularAndScriptAsync(code, fix0, index: 0); 2357await TestInRegularAndScriptAsync(code, fix0, index: 0); 2382await TestInRegularAndScriptAsync(code, fix0, index: 0); 2413await TestInRegularAndScriptAsync(code, fix0, index: 0); 2444await TestInRegularAndScriptAsync(code, fix0, index: 0); 2473await TestInRegularAndScriptAsync(code, fix0, index: 0); 2502await TestInRegularAndScriptAsync(code, fix0, index: 0); 2567await TestInRegularAndScriptAsync(code, fix0, index: 0); 2597await TestInRegularAndScriptAsync(code, fix0, index: 0); 2633await TestInRegularAndScriptAsync(code, fix0, index: 0); 2668await TestInRegularAndScriptAsync(code, fix0, index: 0); 2674await TestInRegularAndScriptAsync( 2750await TestInRegularAndScriptAsync(code, fix); 2796await TestInRegularAndScriptAsync(code, fix); 2802await TestInRegularAndScriptAsync(""" 2821await TestInRegularAndScriptAsync(""" 2846await TestInRegularAndScriptAsync(""" 2873await TestInRegularAndScriptAsync( 2905await TestInRegularAndScriptAsync(""" 2931await TestInRegularAndScriptAsync(@" 2947await TestInRegularAndScriptAsync(""" 2973await TestInRegularAndScriptAsync(@"
AddRequiredExpressionParenthesesTests.cs (2)
783await TestInRegularAndScriptAsync( 828await TestInRegularAndScriptAsync(
AliasAmbiguousTypeTests.cs (18)
93await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup0, index: 0); 94await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup1, index: 1); 102await TestInRegularAndScriptAsync(@" 156await TestInRegularAndScriptAsync(@" 305await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup0, index: 0); 306await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup1, index: 1); 333await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup); 359await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup); 391await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup); 423await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup); 461await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup); 499await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup); 535await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup); 577await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup); 627await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup0, index: 0); 628await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup1, index: 1); 682await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup0, options: options, index: 0); 683await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup1, options: options, index: 1);
ChangeToIEnumerableTests.cs (7)
57await TestInRegularAndScriptAsync(initial, expected); 90await TestInRegularAndScriptAsync(initial, expected); 123await TestInRegularAndScriptAsync(initial, expected); 160await TestInRegularAndScriptAsync(initial, expected); 261await TestInRegularAndScriptAsync( 343await TestInRegularAndScriptAsync( 381await TestInRegularAndScriptAsync(
CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProviderTests.cs (1)
38await TestInRegularAndScriptAsync(
CSharpAsAndNullCheckTests_FixAllTests.cs (5)
21await TestInRegularAndScriptAsync( 74await TestInRegularAndScriptAsync( 127await TestInRegularAndScriptAsync( 178await TestInRegularAndScriptAsync( 243await TestInRegularAndScriptAsync(
CSharpInlineDeclarationTests_FixAllTests.cs (15)
20await TestInRegularAndScriptAsync( 46await TestInRegularAndScriptAsync( 86await TestInRegularAndScriptAsync( 109await TestInRegularAndScriptAsync( 153await TestInRegularAndScriptAsync( 176await TestInRegularAndScriptAsync( 202await TestInRegularAndScriptAsync( 228await TestInRegularAndScriptAsync( 254await TestInRegularAndScriptAsync( 280await TestInRegularAndScriptAsync( 306await TestInRegularAndScriptAsync( 332await TestInRegularAndScriptAsync( 355await TestInRegularAndScriptAsync( 379await TestInRegularAndScriptAsync( 405await TestInRegularAndScriptAsync(
CSharpIsAndCastCheckDiagnosticAnalyzerTests.cs (1)
668await TestInRegularAndScriptAsync(
CSharpIsAndCastCheckDiagnosticAnalyzerTests_FixAllTests.cs (2)
19await TestInRegularAndScriptAsync( 53await TestInRegularAndScriptAsync(
HideBaseTests.cs (5)
30await TestInRegularAndScriptAsync( 58await TestInRegularAndScriptAsync( 94await TestInRegularAndScriptAsync( 122await TestInRegularAndScriptAsync( 150await TestInRegularAndScriptAsync(
InvokeDelegateWithConditionalAccessTests_FixAllTests.cs (6)
19await TestInRegularAndScriptAsync( 55await TestInRegularAndScriptAsync( 91await TestInRegularAndScriptAsync( 127await TestInRegularAndScriptAsync( 163await TestInRegularAndScriptAsync( 199await TestInRegularAndScriptAsync(
MakeFieldReadonlyTests.cs (1)
2199await TestInRegularAndScriptAsync(
MakeLocalFunctionStaticTests.cs (10)
36await TestInRegularAndScriptAsync( 175await TestInRegularAndScriptAsync( 215await TestInRegularAndScriptAsync( 254await TestInRegularAndScriptAsync( 290await TestInRegularAndScriptAsync( 335await TestInRegularAndScriptAsync( 368await TestInRegularAndScriptAsync( 403await TestInRegularAndScriptAsync( 461await TestInRegularAndScriptAsync( 506await TestInRegularAndScriptAsync(
MakeMethodAsynchronousTests.cs (41)
59await TestInRegularAndScriptAsync(initial, expected, index: 1); 130await TestInRegularAndScriptAsync(initial, expected, index: 1); 163await TestInRegularAndScriptAsync(initial, expected); 196await TestInRegularAndScriptAsync(initial, expected); 229await TestInRegularAndScriptAsync(initial, expected); 264await TestInRegularAndScriptAsync(initial, expected); 297await TestInRegularAndScriptAsync(initial, expected); 326await TestInRegularAndScriptAsync(initial, expected, index: 1); 355await TestInRegularAndScriptAsync(initial, expected); 384await TestInRegularAndScriptAsync(initial, expected); 413await TestInRegularAndScriptAsync(initial, expected); 440await TestInRegularAndScriptAsync(initial, expected, index: 1); 467await TestInRegularAndScriptAsync(initial, expected); 494await TestInRegularAndScriptAsync(initial, expected); 523await TestInRegularAndScriptAsync(initial, expected); 552await TestInRegularAndScriptAsync(initial, expected); 579await TestInRegularAndScriptAsync(initial, expected); 612await TestInRegularAndScriptAsync(initial, expected); 645await TestInRegularAndScriptAsync(initial, expected); 678await TestInRegularAndScriptAsync(initial, expected); 721await TestInRegularAndScriptAsync(initial, expected); 754await TestInRegularAndScriptAsync(initial, expected); 787await TestInRegularAndScriptAsync(initial, expected); 826await TestInRegularAndScriptAsync(initial, expected); 859await TestInRegularAndScriptAsync(initial, expected); 892await TestInRegularAndScriptAsync(initial, expected); 913await TestInRegularAndScriptAsync( 949await TestInRegularAndScriptAsync( 985await TestInRegularAndScriptAsync( 1084await TestInRegularAndScriptAsync(initial, expected); 1129await TestInRegularAndScriptAsync(initial, expected); 1135await TestInRegularAndScriptAsync( 1180await TestInRegularAndScriptAsync( 1231await TestInRegularAndScriptAsync( 1280await TestInRegularAndScriptAsync( 1317await TestInRegularAndScriptAsync( 1364await TestInRegularAndScriptAsync( 1411await TestInRegularAndScriptAsync( 1458await TestInRegularAndScriptAsync( 1517await TestInRegularAndScriptAsync(initial, expected); 1552await TestInRegularAndScriptAsync(initial, expected);
MakeRefStructTests.cs (6)
62await TestInRegularAndScriptAsync(text, expected, parseOptions: s_parseOptions); 121await TestInRegularAndScriptAsync(text, expected, parseOptions: s_parseOptions); 139await TestInRegularAndScriptAsync(text, expected, parseOptions: s_parseOptions); 187await TestInRegularAndScriptAsync(text, expected, parseOptions: s_parseOptions); 229await TestInRegularAndScriptAsync(text, expected, parseOptions: s_parseOptions); 255await TestInRegularAndScriptAsync(text, expected, parseOptions: s_parseOptions);
MisplacedUsingDirectivesTests.cs (1)
87return TestInRegularAndScriptAsync(
NamingStylesTests.cs (34)
51await TestInRegularAndScriptAsync( 82await TestInRegularAndScriptAsync( 116await TestInRegularAndScriptAsync( 159await TestInRegularAndScriptAsync( 199await TestInRegularAndScriptAsync( 251await TestInRegularAndScriptAsync( 265await TestInRegularAndScriptAsync( 337await TestInRegularAndScriptAsync( 356await TestInRegularAndScriptAsync( 377await TestInRegularAndScriptAsync( 398await TestInRegularAndScriptAsync( 423await TestInRegularAndScriptAsync( 448await TestInRegularAndScriptAsync( 473await TestInRegularAndScriptAsync( 498await TestInRegularAndScriptAsync( 523await TestInRegularAndScriptAsync( 594await TestInRegularAndScriptAsync( 617await TestInRegularAndScriptAsync( 640await TestInRegularAndScriptAsync( 663await TestInRegularAndScriptAsync( 686await TestInRegularAndScriptAsync( 709await TestInRegularAndScriptAsync( 821await TestInRegularAndScriptAsync( 836await TestInRegularAndScriptAsync( 880await TestInRegularAndScriptAsync( 901await TestInRegularAndScriptAsync( 922await TestInRegularAndScriptAsync( 959await TestInRegularAndScriptAsync( 978await TestInRegularAndScriptAsync( 1033await TestInRegularAndScriptAsync( 1058await TestInRegularAndScriptAsync( 1113await TestInRegularAndScriptAsync( 1156await TestInRegularAndScriptAsync( 1326await TestInRegularAndScriptAsync(
OrderModifiersTests.cs (3)
516await TestInRegularAndScriptAsync(""" 533await TestInRegularAndScriptAsync(""" 550await TestInRegularAndScriptAsync("""
PopulateSwitchExpressionTests_FixAllTests.cs (3)
164await TestInRegularAndScriptAsync(input, expected); 304await TestInRegularAndScriptAsync(input, expected); 461await TestInRegularAndScriptAsync(input, expected);
PopulateSwitchStatementTests.cs (16)
95await TestInRegularAndScriptAsync( 155await TestInRegularAndScriptAsync( 215await TestInRegularAndScriptAsync( 277await TestInRegularAndScriptAsync( 337await TestInRegularAndScriptAsync( 397await TestInRegularAndScriptAsync( 459await TestInRegularAndScriptAsync( 515await TestInRegularAndScriptAsync( 567await TestInRegularAndScriptAsync( 699await TestInRegularAndScriptAsync( 763await TestInRegularAndScriptAsync( 817await TestInRegularAndScriptAsync( 879await TestInRegularAndScriptAsync( 966await TestInRegularAndScriptAsync( 1020await TestInRegularAndScriptAsync( 1058await TestInRegularAndScriptAsync(
PopulateSwitchStatementTests_FixAllTests.cs (3)
177await TestInRegularAndScriptAsync(input, expected); 327await TestInRegularAndScriptAsync(input, expected); 495await TestInRegularAndScriptAsync(input, expected);
QualifyMemberAccessTests.cs (1)
34=> TestInRegularAndScriptAsync(code, expected, options: Option(option, true, notification));
QualifyMemberAccessTests_FixAllTests.cs (1)
95await TestInRegularAndScriptAsync(
RemoveNewModifierCodeFixProviderTests.cs (1)
97=> TestInRegularAndScriptAsync("""
RemoveUnnecessaryCastTests_FixAllTests.cs (3)
193await TestInRegularAndScriptAsync(input, expected); 337await TestInRegularAndScriptAsync(input, expected); 481await TestInRegularAndScriptAsync(input, expected);
RemoveUnnecessaryExpressionParenthesesTests.cs (10)
35await TestInRegularAndScriptAsync(initial, expected, options: RemoveAllUnnecessaryParentheses, index: index); 39await TestInRegularAndScriptAsync(initial, expected, options: RequireAllParenthesesForClarity, index: index); 671await TestInRegularAndScriptAsync( 3255await TestInRegularAndScriptAsync( 3285await TestInRegularAndScriptAsync( 3315await TestInRegularAndScriptAsync( 3345await TestInRegularAndScriptAsync( 3375await TestInRegularAndScriptAsync( 3405await TestInRegularAndScriptAsync( 3435await TestInRegularAndScriptAsync(
RemoveUnnecessaryImportsTests_FixAllTests.cs (4)
104await TestInRegularAndScriptAsync(input, expected); 180await TestInRegularAndScriptAsync(input, expected); 257await TestInRegularAndScriptAsync(input, expected); 332await TestInRegularAndScriptAsync(input, expected);
RemoveUnnecessaryPatternParenthesesTests.cs (2)
33await TestInRegularAndScriptAsync(initial, expected, options: RemoveAllUnnecessaryParentheses, index: index); 37await TestInRegularAndScriptAsync(initial, expected, options: RequireAllParenthesesForClarity, index: index);
RemoveUnusedLocalFunctionTests.cs (5)
32await TestInRegularAndScriptAsync( 55await TestInRegularAndScriptAsync( 79await TestInRegularAndScriptAsync( 103await TestInRegularAndScriptAsync( 126await TestInRegularAndScriptAsync(
RemoveUnusedValueAssignmentTests.cs (62)
1677await TestInRegularAndScriptAsync( 1716await TestInRegularAndScriptAsync( 1836await TestInRegularAndScriptAsync( 1865await TestInRegularAndScriptAsync( 1893await TestInRegularAndScriptAsync( 1923await TestInRegularAndScriptAsync( 1951await TestInRegularAndScriptAsync( 1980await TestInRegularAndScriptAsync( 2138await TestInRegularAndScriptAsync( 2168await TestInRegularAndScriptAsync( 2199await TestInRegularAndScriptAsync( 2215await TestInRegularAndScriptAsync( 2356await TestInRegularAndScriptAsync( 2382await TestInRegularAndScriptAsync( 2452await TestInRegularAndScriptAsync( 2482await TestInRegularAndScriptAsync( 2595await TestInRegularAndScriptAsync( 2634await TestInRegularAndScriptAsync( 2706await TestInRegularAndScriptAsync( 2793await TestInRegularAndScriptAsync( 4887await TestInRegularAndScriptAsync( 4998await TestInRegularAndScriptAsync( 5052await TestInRegularAndScriptAsync( 5375await TestInRegularAndScriptAsync( 5415await TestInRegularAndScriptAsync( 5454await TestInRegularAndScriptAsync( 5522await TestInRegularAndScriptAsync( 5859await TestInRegularAndScriptAsync( 6129await TestInRegularAndScriptAsync( 6221await TestInRegularAndScriptAsync( 6414await TestInRegularAndScriptAsync( 6474await TestInRegularAndScriptAsync( 6533await TestInRegularAndScriptAsync( 6567await TestInRegularAndScriptAsync( 6603await TestInRegularAndScriptAsync( 6639await TestInRegularAndScriptAsync( 6753await TestInRegularAndScriptAsync( 6793await TestInRegularAndScriptAsync( 6898await TestInRegularAndScriptAsync( 6934await TestInRegularAndScriptAsync( 7328await TestInRegularAndScriptAsync( 7354await TestInRegularAndScriptAsync( 7376await TestInRegularAndScriptAsync( 7400await TestInRegularAndScriptAsync( 7428await TestInRegularAndScriptAsync( 7456await TestInRegularAndScriptAsync( 7607await TestInRegularAndScriptAsync( 7641await TestInRegularAndScriptAsync( 7680await TestInRegularAndScriptAsync( 7710await TestInRegularAndScriptAsync( 8022await TestInRegularAndScriptAsync( 8054await TestInRegularAndScriptAsync( 8086await TestInRegularAndScriptAsync( 8122await TestInRegularAndScriptAsync( 8378await TestInRegularAndScriptAsync( 8438await TestInRegularAndScriptAsync( 8476await TestInRegularAndScriptAsync( 8604await TestInRegularAndScriptAsync( 8744await TestInRegularAndScriptAsync(source, expected, options: PreferDiscard).ConfigureAwait(false); 8750await TestInRegularAndScriptAsync( 8782await TestInRegularAndScriptAsync( 8806await TestInRegularAndScriptAsync(
RemoveUnusedValueExpressionStatementTests.cs (9)
60await TestInRegularAndScriptAsync( 330await TestInRegularAndScriptAsync( 360await TestInRegularAndScriptAsync( 390await TestInRegularAndScriptAsync( 426await TestInRegularAndScriptAsync( 512await TestInRegularAndScriptAsync( 544await TestInRegularAndScriptAsync( 575await TestInRegularAndScriptAsync( 607await TestInRegularAndScriptAsync(
RemoveUnusedValuesTestsBase.cs (2)
51=> TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, options: GetOptions(optionName), parseOptions: parseOptions); 58await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, options: options, parseOptions: parseOptions);
ReplaceDefaultLiteralTests.cs (1)
48await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup,
SimplifyConditionalTests.cs (1)
344await TestInRegularAndScriptAsync(
UseAutoPropertyTests.cs (1)
2879await TestInRegularAndScriptAsync(
UseCoalesceExpressionForNullableTernaryConditionalCheckTests.cs (8)
33await TestInRegularAndScriptAsync( 61await TestInRegularAndScriptAsync( 89await TestInRegularAndScriptAsync( 117await TestInRegularAndScriptAsync( 145await TestInRegularAndScriptAsync( 175await TestInRegularAndScriptAsync( 203await TestInRegularAndScriptAsync( 231await TestInRegularAndScriptAsync(
UseConditionalExpressionForReturnTests.cs (7)
484await TestInRegularAndScriptAsync( 515await TestInRegularAndScriptAsync( 546await TestInRegularAndScriptAsync( 577await TestInRegularAndScriptAsync( 608await TestInRegularAndScriptAsync( 639await TestInRegularAndScriptAsync( 1965await TestInRegularAndScriptAsync(
UseExplicitTypeForConstTests.cs (6)
30await TestInRegularAndScriptAsync( 54await TestInRegularAndScriptAsync( 80await TestInRegularAndScriptAsync( 104await TestInRegularAndScriptAsync( 128await TestInRegularAndScriptAsync( 182await TestInRegularAndScriptAsync(
UseExplicitTypeTests.cs (107)
139await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 141await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 171await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 173await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 372await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 398await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 399await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 400await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); // preference for builtin types dominates 425await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 426await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 427await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 452await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 453await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 454await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 479await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 480await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 481await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 508await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 509await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 510await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 543await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 544await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 545await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 570await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 571await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 572await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 597await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 599await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 628await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 630await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 661await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 663await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 692await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 694await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 723await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 725await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 754await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 756await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 783await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 785await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 816await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 818await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 849await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 851await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 880await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 882await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 909await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 911await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 938await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 940await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 973await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 975await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 1006await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1008await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 1039await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1041await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 1076await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1078await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 1109await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1111await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 1136await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1137await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 1138await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); // preference for builtin types dominates 1163await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1165await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 1189await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 1190await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeForBuiltInTypesOnly()); 1191await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent()); 1237await TestInRegularAndScriptAsync( 1264await TestInRegularAndScriptAsync( 1291await TestInRegularAndScriptAsync( 1318await TestInRegularAndScriptAsync( 1345await TestInRegularAndScriptAsync( 1372await TestInRegularAndScriptAsync( 1399await TestInRegularAndScriptAsync( 1426await TestInRegularAndScriptAsync( 1453await TestInRegularAndScriptAsync( 1554await TestInRegularAndScriptAsync( 1582await TestInRegularAndScriptAsync( 1610await TestInRegularAndScriptAsync( 1638await TestInRegularAndScriptAsync( 1666await TestInRegularAndScriptAsync( 1694await TestInRegularAndScriptAsync( 1722await TestInRegularAndScriptAsync( 1750await TestInRegularAndScriptAsync( 1784await TestInRegularAndScriptAsync( 1822await TestInRegularAndScriptAsync( 1852await TestInRegularAndScriptAsync( 1898await TestInRegularAndScriptAsync( 1930await TestInRegularAndScriptAsync( 1966await TestInRegularAndScriptAsync( 2016await TestInRegularAndScriptAsync( 2064await TestInRegularAndScriptAsync( 2092await TestInRegularAndScriptAsync( 2122await TestInRegularAndScriptAsync( 2162await TestInRegularAndScriptAsync( 2192await TestInRegularAndScriptAsync( 2232await TestInRegularAndScriptAsync( 2260await TestInRegularAndScriptAsync( 2294await TestInRegularAndScriptAsync( 2324await TestInRegularAndScriptAsync( 2434await TestInRegularAndScriptAsync( 2459await TestInRegularAndScriptAsync( 2484await TestInRegularAndScriptAsync( 2509await TestInRegularAndScriptAsync( 2800await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeEverywhere()); 2802await TestInRegularAndScriptAsync(before, after, options: ExplicitTypeExceptWhereApparent());
UseExplicitTypeTests_FixAllTests.cs (4)
128await TestInRegularAndScriptAsync(input, expected, options: ExplicitTypeEverywhere()); 242await TestInRegularAndScriptAsync(input, expected, options: ExplicitTypeEverywhere()); 356await TestInRegularAndScriptAsync(input, expected, options: ExplicitTypeEverywhere()); 406await TestInRegularAndScriptAsync(input, expected, options: ExplicitTypeExceptWhereApparent());
UseExpressionBodyForLambdasAnalyzerTests.cs (41)
38await TestInRegularAndScriptAsync( 86await TestInRegularAndScriptAsync( 134await TestInRegularAndScriptAsync( 169await TestInRegularAndScriptAsync( 264await TestInRegularAndScriptAsync( 295await TestInRegularAndScriptAsync( 326await TestInRegularAndScriptAsync( 357await TestInRegularAndScriptAsync( 388await TestInRegularAndScriptAsync( 419await TestInRegularAndScriptAsync( 450await TestInRegularAndScriptAsync( 481await TestInRegularAndScriptAsync( 512await TestInRegularAndScriptAsync( 543await TestInRegularAndScriptAsync( 574await TestInRegularAndScriptAsync( 607await TestInRegularAndScriptAsync( 640await TestInRegularAndScriptAsync( 673await TestInRegularAndScriptAsync( 706await TestInRegularAndScriptAsync( 739await TestInRegularAndScriptAsync( 772await TestInRegularAndScriptAsync( 805await TestInRegularAndScriptAsync( 838await TestInRegularAndScriptAsync( 871await TestInRegularAndScriptAsync( 904await TestInRegularAndScriptAsync( 937await TestInRegularAndScriptAsync( 970await TestInRegularAndScriptAsync( 1003await TestInRegularAndScriptAsync( 1036await TestInRegularAndScriptAsync( 1069await TestInRegularAndScriptAsync( 1102await TestInRegularAndScriptAsync( 1138await TestInRegularAndScriptAsync( 1171await TestInRegularAndScriptAsync( 1204await TestInRegularAndScriptAsync( 1238await TestInRegularAndScriptAsync( 1272await TestInRegularAndScriptAsync( 1306await TestInRegularAndScriptAsync( 1340await TestInRegularAndScriptAsync( 1374await TestInRegularAndScriptAsync( 1408await TestInRegularAndScriptAsync( 1442await TestInRegularAndScriptAsync(
UseImplicitTypeTests.cs (66)
505await TestInRegularAndScriptAsync( 549await TestInRegularAndScriptAsync( 638await TestInRegularAndScriptAsync( 666await TestInRegularAndScriptAsync( 694await TestInRegularAndScriptAsync( 750await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeEverywhere()); 756await TestInRegularAndScriptAsync( 784await TestInRegularAndScriptAsync( 812await TestInRegularAndScriptAsync( 840await TestInRegularAndScriptAsync( 868await TestInRegularAndScriptAsync( 896await TestInRegularAndScriptAsync( 924await TestInRegularAndScriptAsync( 958await TestInRegularAndScriptAsync( 996await TestInRegularAndScriptAsync( 1026await TestInRegularAndScriptAsync( 1072await TestInRegularAndScriptAsync( 1104await TestInRegularAndScriptAsync( 1140await TestInRegularAndScriptAsync( 1190await TestInRegularAndScriptAsync( 1238await TestInRegularAndScriptAsync( 1268await TestInRegularAndScriptAsync( 1308await TestInRegularAndScriptAsync( 1338await TestInRegularAndScriptAsync( 1368await TestInRegularAndScriptAsync( 1408await TestInRegularAndScriptAsync( 1491await TestInRegularAndScriptAsync( 1519await TestInRegularAndScriptAsync( 1564await TestInRegularAndScriptAsync( 1592await TestInRegularAndScriptAsync( 1684await TestInRegularAndScriptAsync( 1730await TestInRegularAndScriptAsync( 1758await TestInRegularAndScriptAsync( 1792await TestInRegularAndScriptAsync( 1820await TestInRegularAndScriptAsync( 1850await TestInRegularAndScriptAsync( 1966await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeEverywhere()); 1978await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeEverywhere()); 1979await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeButKeepIntrinsics()); 1980await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeWhereApparent()); 1990await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeEverywhere()); 1991await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeButKeepIntrinsics()); 2019await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeEverywhere()); 2020await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeWhereApparentAndForIntrinsics()); 2030await TestInRegularAndScriptAsync(before, after, options: ImplicitTypeEverywhere()); 2038await TestInRegularAndScriptAsync( 2067await TestInRegularAndScriptAsync( 2149await TestInRegularAndScriptAsync( 2215await TestInRegularAndScriptAsync( 2326await TestInRegularAndScriptAsync(""" 2358await TestInRegularAndScriptAsync(""" 2390await TestInRegularAndScriptAsync(""" 2422await TestInRegularAndScriptAsync(""" 2454await TestInRegularAndScriptAsync(""" 2476await TestInRegularAndScriptAsync(""" 2542await TestInRegularAndScriptAsync(""" 2570await TestInRegularAndScriptAsync(""" 2598await TestInRegularAndScriptAsync(""" 2872await TestInRegularAndScriptAsync( 2944await TestInRegularAndScriptAsync( 3063=> TestInRegularAndScriptAsync( 3096=> TestInRegularAndScriptAsync( 3129=> TestInRegularAndScriptAsync( 3162=> TestInRegularAndScriptAsync( 3211=> TestInRegularAndScriptAsync( 3260=> TestInRegularAndScriptAsync(
UseImplicitTypeTests_FixAllTests.cs (4)
128await TestInRegularAndScriptAsync(input, expected, options: ImplicitTypeEverywhere()); 242await TestInRegularAndScriptAsync(input, expected, options: ImplicitTypeEverywhere()); 356await TestInRegularAndScriptAsync(input, expected, options: ImplicitTypeEverywhere()); 406await TestInRegularAndScriptAsync(input, expected, options: ImplicitTypeButKeepIntrinsics());
UseIsNullCheckForCastAndEqualityOperatorTests.cs (12)
32await TestInRegularAndScriptAsync( 121await TestInRegularAndScriptAsync( 151await TestInRegularAndScriptAsync( 181await TestInRegularAndScriptAsync( 211await TestInRegularAndScriptAsync( 241await TestInRegularAndScriptAsync( 307await TestInRegularAndScriptAsync( 343await TestInRegularAndScriptAsync( 373await TestInRegularAndScriptAsync( 403await TestInRegularAndScriptAsync( 433await TestInRegularAndScriptAsync( 481await TestInRegularAndScriptAsync(
UseSimpleUsingStatementTests.cs (34)
38await TestInRegularAndScriptAsync( 91await TestInRegularAndScriptAsync( 198await TestInRegularAndScriptAsync( 232await TestInRegularAndScriptAsync( 265await TestInRegularAndScriptAsync( 298await TestInRegularAndScriptAsync( 329await TestInRegularAndScriptAsync( 386await TestInRegularAndScriptAsync( 423await TestInRegularAndScriptAsync( 460await TestInRegularAndScriptAsync( 501await TestInRegularAndScriptAsync( 563await TestInRegularAndScriptAsync( 594await TestInRegularAndScriptAsync( 627await TestInRegularAndScriptAsync( 1106await TestInRegularAndScriptAsync( 1147await TestInRegularAndScriptAsync( 1194await TestInRegularAndScriptAsync( 1243await TestInRegularAndScriptAsync( 1292await TestInRegularAndScriptAsync( 1341await TestInRegularAndScriptAsync( 1390await TestInRegularAndScriptAsync( 1441await TestInRegularAndScriptAsync( 1484await TestInRegularAndScriptAsync( 1523await TestInRegularAndScriptAsync( 1558await TestInRegularAndScriptAsync( 1597await TestInRegularAndScriptAsync( 1644await TestInRegularAndScriptAsync( 1676await TestInRegularAndScriptAsync( 1708await TestInRegularAndScriptAsync( 1740await TestInRegularAndScriptAsync( 1770await TestInRegularAndScriptAsync( 1802await TestInRegularAndScriptAsync( 1849await TestInRegularAndScriptAsync( 1904await TestInRegularAndScriptAsync(
UseThrowExpressionTests.cs (7)
35await TestInRegularAndScriptAsync( 84await TestInRegularAndScriptAsync( 156await TestInRegularAndScriptAsync( 243await TestInRegularAndScriptAsync( 273await TestInRegularAndScriptAsync( 545await TestInRegularAndScriptAsync( 574await TestInRegularAndScriptAsync(
UseThrowExpressionTests_FixAllTests.cs (6)
20await TestInRegularAndScriptAsync( 56await TestInRegularAndScriptAsync( 92await TestInRegularAndScriptAsync( 128await TestInRegularAndScriptAsync( 164await TestInRegularAndScriptAsync( 237await TestInRegularAndScriptAsync(
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (413)
AddExplicitCastTests.vb (80)
26Await TestInRegularAndScriptAsync( 45Await TestInRegularAndScriptAsync( 66Await TestInRegularAndScriptAsync( 85Await TestInRegularAndScriptAsync( 104Await TestInRegularAndScriptAsync( 123Await TestInRegularAndScriptAsync( 142Await TestInRegularAndScriptAsync( 161Await TestInRegularAndScriptAsync( 180Await TestInRegularAndScriptAsync( 199Await TestInRegularAndScriptAsync( 218Await TestInRegularAndScriptAsync( 237Await TestInRegularAndScriptAsync( 256Await TestInRegularAndScriptAsync( 275Await TestInRegularAndScriptAsync( 294Await TestInRegularAndScriptAsync( 313Await TestInRegularAndScriptAsync( 332Await TestInRegularAndScriptAsync( 363Await TestInRegularAndScriptAsync( 396Await TestInRegularAndScriptAsync( 417Await TestInRegularAndScriptAsync( 436Await TestInRegularAndScriptAsync( 471Await TestInRegularAndScriptAsync( 488Await TestInRegularAndScriptAsync( 519Await TestInRegularAndScriptAsync( 566Await TestInRegularAndScriptAsync( 622Await TestInRegularAndScriptAsync( 655Await TestInRegularAndScriptAsync( 696Await TestInRegularAndScriptAsync( 729Await TestInRegularAndScriptAsync( 764Await TestInRegularAndScriptAsync( 799Await TestInRegularAndScriptAsync( 840Await TestInRegularAndScriptAsync( 889Await TestInRegularAndScriptAsync( 938Await TestInRegularAndScriptAsync( 985Await TestInRegularAndScriptAsync( 1028Await TestInRegularAndScriptAsync( 1107Await TestInRegularAndScriptAsync( 1144Await TestInRegularAndScriptAsync( 1214Await TestInRegularAndScriptAsync( 1265Await TestInRegularAndScriptAsync( 1314Await TestInRegularAndScriptAsync( 1375Await TestInRegularAndScriptAsync( 1436Await TestInRegularAndScriptAsync( 1500Await TestInRegularAndScriptAsync( 1570Await TestInRegularAndScriptAsync( 1619Await TestInRegularAndScriptAsync( 1656Await TestInRegularAndScriptAsync( 1701Await TestInRegularAndScriptAsync( 1732Await TestInRegularAndScriptAsync( 1763Await TestInRegularAndScriptAsync( 1869Await TestInRegularAndScriptAsync( 1916Await TestInRegularAndScriptAsync( 1951Await TestInRegularAndScriptAsync( 1990Await TestInRegularAndScriptAsync( 2029Await TestInRegularAndScriptAsync( 2068Await TestInRegularAndScriptAsync( 2107Await TestInRegularAndScriptAsync( 2177Await TestInRegularAndScriptAsync( 2222Await TestInRegularAndScriptAsync( 2255Await TestInRegularAndScriptAsync( 2296Await TestInRegularAndScriptAsync( 2414Await TestInRegularAndScriptAsync( 2459Await TestInRegularAndScriptAsync( 2504Await TestInRegularAndScriptAsync( 2543Await TestInRegularAndScriptAsync( 2582Await TestInRegularAndScriptAsync( 2645Await TestInRegularAndScriptAsync( 2684Await TestInRegularAndScriptAsync( 2793Await TestInRegularAndScriptAsync( 2832Await TestInRegularAndScriptAsync( 2873Await TestInRegularAndScriptAsync( 2973Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "Derived"), index:=0, 2976Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "Derived2"), index:=1, 3039Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "Derived"), index:=0, 3042Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "Derived2"), index:=1, 3102Await TestInRegularAndScriptAsync(initialMarkup, expect) 3161Await TestInRegularAndScriptAsync(initialMarkup, expect) 3234Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "CStr(b)"), index:=0, 3237Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "CType(b, Derived)"), index:=1, 3240Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "CType(b, Derived2)"), index:=2,
AddExplicitCastTests_FixAllTests.vb (6)
379Await TestInRegularAndScriptAsync(input, expected) 754Await TestInRegularAndScriptAsync(input, expected) 1129Await TestInRegularAndScriptAsync(input, expected) 1334Await TestInRegularAndScriptAsync(input, expected) 1539Await TestInRegularAndScriptAsync(input, expected) 1744Await TestInRegularAndScriptAsync(input, expected)
AddParameterTests.vb (34)
59Await TestInRegularAndScriptAsync( 86Await TestInRegularAndScriptAsync( 113Await TestInRegularAndScriptAsync( 156Await TestInRegularAndScriptAsync( 185Await TestInRegularAndScriptAsync( 214Await TestInRegularAndScriptAsync( 262Await TestInRegularAndScriptAsync( 288Await TestInRegularAndScriptAsync( 314Await TestInRegularAndScriptAsync( 340Await TestInRegularAndScriptAsync( 368Await TestInRegularAndScriptAsync( 396Await TestInRegularAndScriptAsync( 425Await TestInRegularAndScriptAsync( 453Await TestInRegularAndScriptAsync( 479Await TestInRegularAndScriptAsync( 521Await TestInRegularAndScriptAsync( 608Await TestInRegularAndScriptAsync(code, fixDeclarationOnly, index:=0) 609Await TestInRegularAndScriptAsync(code, fixCascading, index:=1) 666Await TestInRegularAndScriptAsync(code, fixDeclarationOnly, index:=0) 667Await TestInRegularAndScriptAsync(code, fixCascading, index:=1) 687Await TestInRegularAndScriptAsync(code, fix) 707Await TestInRegularAndScriptAsync(code, fix) 729Await TestInRegularAndScriptAsync(code, fix) 751Await TestInRegularAndScriptAsync(code, fix) 783Await TestInRegularAndScriptAsync(code, fix) 815Await TestInRegularAndScriptAsync(code, fix) 847Await TestInRegularAndScriptAsync(code, fix) 873Await TestInRegularAndScriptAsync(code, fix) 899Await TestInRegularAndScriptAsync(code, fix) 941Await TestInRegularAndScriptAsync(code, fix) 967Await TestInRegularAndScriptAsync(code, fix) 993Await TestInRegularAndScriptAsync(code, fix) 1058Await TestInRegularAndScriptAsync(code, fix0, index:=0) 1093Await TestInRegularAndScriptAsync(code, fix0, index:=0)
AliasAmbiguousTypeTests.vb (5)
64Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expectedMarkupTemplate, "Imports Ambiguous = N1.Ambiguous"), index:=0) 65Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expectedMarkupTemplate, "Imports Ambiguous = N2.Ambiguous"), index:=1) 93Await TestInRegularAndScriptAsync(initialMarkup, expectedMarkupTemplate) 159Await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup) 194Await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup)
MakeFieldReadonlyTests.vb (1)
1130Await TestInRegularAndScriptAsync(
MakeMethodAsynchronousTests.vb (5)
21Await TestInRegularAndScriptAsync( 41Await TestInRegularAndScriptAsync( 61Await TestInRegularAndScriptAsync( 80Await TestInRegularAndScriptAsync( 433Await TestInRegularAndScriptAsync(
MakeTypeAbstractTests.vb (1)
141Await TestInRegularAndScriptAsync("
NamingStylesTests.vb (20)
31Await TestInRegularAndScriptAsync( 45Await TestInRegularAndScriptAsync( 61Await TestInRegularAndScriptAsync( 77Await TestInRegularAndScriptAsync( 93Await TestInRegularAndScriptAsync( 109Await TestInRegularAndScriptAsync( 125Await TestInRegularAndScriptAsync( 143Await TestInRegularAndScriptAsync( 161Await TestInRegularAndScriptAsync( 191Await TestInRegularAndScriptAsync( 209Await TestInRegularAndScriptAsync( 239Await TestInRegularAndScriptAsync( 257Await TestInRegularAndScriptAsync( 292Await TestInRegularAndScriptAsync( 400Await TestInRegularAndScriptAsync( 412Await TestInRegularAndScriptAsync( 446Await TestInRegularAndScriptAsync( 462Await TestInRegularAndScriptAsync( 478Await TestInRegularAndScriptAsync( 488Await TestInRegularAndScriptAsync(
PopulateSwitchStatementTests_FixAllTests.vb (3)
171Await TestInRegularAndScriptAsync(input, expected) 318Await TestInRegularAndScriptAsync(input, expected) 461Await TestInRegularAndScriptAsync(input, expected)
QualifyMemberAccessTests.vb (1)
27Return TestInRegularAndScriptAsync(code, expected, options:=[Option](opt, True, notification))
QualifyMemberAccessTests_FixAllTests.vb (1)
80Await TestInRegularAndScriptAsync(
RemoveUnnecessaryCastTests_FixAllTests.vb (3)
165Await TestInRegularAndScriptAsync(input, expected) 302Await TestInRegularAndScriptAsync(input, expected) 439Await TestInRegularAndScriptAsync(input, expected)
RemoveUnnecessaryImportsTests_FixAllTests.vb (3)
76Await TestInRegularAndScriptAsync(input, expected) 141Await TestInRegularAndScriptAsync(input, expected) 203Await TestInRegularAndScriptAsync(input, expected)
RemoveUnnecessaryParenthesesTests.vb (2)
45Await TestInRegularAndScriptAsync(initial, expected, options:=RemoveAllUnnecessaryParentheses, index:=index, compilationOptions:=compilationOptions) 48Await TestInRegularAndScriptAsync(initial, expected, options:=RequireAllParenthesesForClarity, index:=index, compilationOptions:=compilationOptions)
RemoveUnusedMembersTests.vb (32)
121Await TestInRegularAndScriptAsync( 131Await TestInRegularAndScriptAsync( 142Await TestInRegularAndScriptAsync( 153Await TestInRegularAndScriptAsync( 174Await TestInRegularAndScriptAsync( 194Await TestInRegularAndScriptAsync( 204Await TestInRegularAndScriptAsync( 220Await TestInRegularAndScriptAsync( 230Await TestInRegularAndScriptAsync( 240Await TestInRegularAndScriptAsync( 250Await TestInRegularAndScriptAsync( 260Await TestInRegularAndScriptAsync( 270Await TestInRegularAndScriptAsync( 281Await TestInRegularAndScriptAsync( 291Await TestInRegularAndScriptAsync( 307Await TestInRegularAndScriptAsync( 317Await TestInRegularAndScriptAsync( 338Await TestInRegularAndScriptAsync( 1064Await TestInRegularAndScriptAsync( 1075Await TestInRegularAndScriptAsync( 1086Await TestInRegularAndScriptAsync( 1142Await TestInRegularAndScriptAsync( 1169Await TestInRegularAndScriptAsync( 1282Await TestInRegularAndScriptAsync( 1306Await TestInRegularAndScriptAsync( 1352Await TestInRegularAndScriptAsync( 1376Await TestInRegularAndScriptAsync( 1400Await TestInRegularAndScriptAsync( 1428Await TestInRegularAndScriptAsync( 1462Await TestInRegularAndScriptAsync( 1528Await TestInRegularAndScriptAsync( 1593Await TestInRegularAndScriptAsync(
RemoveUnusedValueAssignmentTests.vb (11)
49Await TestInRegularAndScriptAsync( 67Await TestInRegularAndScriptAsync( 85Await TestInRegularAndScriptAsync( 103Await TestInRegularAndScriptAsync( 135Await TestInRegularAndScriptAsync( 153Await TestInRegularAndScriptAsync( 173Await TestInRegularAndScriptAsync( 216Await TestInRegularAndScriptAsync( 312Await TestInRegularAndScriptAsync( 411Await TestInRegularAndScriptAsync( 438Await TestInRegularAndScriptAsync(
RemoveUnusedValueExpressionStatementTests.vb (2)
51Await TestInRegularAndScriptAsync( 74Await TestInRegularAndScriptAsync(
SimplifyInterpolationTests.vb (16)
43Await TestInRegularAndScriptAsync(" 58Await TestInRegularAndScriptAsync(" 73Await TestInRegularAndScriptAsync(" 123Await TestInRegularAndScriptAsync(" 138Await TestInRegularAndScriptAsync(" 164Await TestInRegularAndScriptAsync(" 179Await TestInRegularAndScriptAsync(" 245Await TestInRegularAndScriptAsync(" 350Await TestInRegularAndScriptAsync(" 365Await TestInRegularAndScriptAsync(" 380Await TestInRegularAndScriptAsync(" 395Await TestInRegularAndScriptAsync(" 542Await TestInRegularAndScriptAsync( 573Await TestInRegularAndScriptAsync( 616Await TestInRegularAndScriptAsync( 643Await TestInRegularAndScriptAsync(
UnsealClassTests.vb (6)
21Await TestInRegularAndScriptAsync(" 36Await TestInRegularAndScriptAsync(" 51Await TestInRegularAndScriptAsync(" 121Await TestInRegularAndScriptAsync(" 144Await TestInRegularAndScriptAsync( 187Await TestInRegularAndScriptAsync(
UseAutoPropertyTests.vb (44)
22Await TestInRegularAndScriptAsync( 38Await TestInRegularAndScriptAsync( 54Await TestInRegularAndScriptAsync( 87Await TestInRegularAndScriptAsync( 109Await TestInRegularAndScriptAsync( 125Await TestInRegularAndScriptAsync( 175Await TestInRegularAndScriptAsync( 226Await TestInRegularAndScriptAsync( 255Await TestInRegularAndScriptAsync( 271Await TestInRegularAndScriptAsync( 298Await TestInRegularAndScriptAsync( 317Await TestInRegularAndScriptAsync( 347Await TestInRegularAndScriptAsync( 379Await TestInRegularAndScriptAsync( 398Await TestInRegularAndScriptAsync( 417Await TestInRegularAndScriptAsync( 442Await TestInRegularAndScriptAsync( 472Await TestInRegularAndScriptAsync( 491Await TestInRegularAndScriptAsync( 520Await TestInRegularAndScriptAsync( 666Await TestInRegularAndScriptAsync( 682Await TestInRegularAndScriptAsync( 699Await TestInRegularAndScriptAsync( 716Await TestInRegularAndScriptAsync( 733Await TestInRegularAndScriptAsync( 764Await TestInRegularAndScriptAsync( 786Await TestInRegularAndScriptAsync( 808Await TestInRegularAndScriptAsync( 860Await TestInRegularAndScriptAsync( 885Await TestInRegularAndScriptAsync( 913Await TestInRegularAndScriptAsync( 943Await TestInRegularAndScriptAsync( 968Await TestInRegularAndScriptAsync( 999Await TestInRegularAndScriptAsync(" 1075Await TestInRegularAndScriptAsync( 1092Await TestInRegularAndScriptAsync( 1109Await TestInRegularAndScriptAsync( 1126Await TestInRegularAndScriptAsync( 1163Await TestInRegularAndScriptAsync( 1215Await TestInRegularAndScriptAsync( 1231Await TestInRegularAndScriptAsync( 1247Await TestInRegularAndScriptAsync( 1263Await TestInRegularAndScriptAsync( 1279Await TestInRegularAndScriptAsync(
UseCoalesceExpressionForNullableTernaryConditionalCheckTests.vb (7)
23Await TestInRegularAndScriptAsync( 44Await TestInRegularAndScriptAsync( 65Await TestInRegularAndScriptAsync( 86Await TestInRegularAndScriptAsync( 107Await TestInRegularAndScriptAsync( 130Await TestInRegularAndScriptAsync( 151Await TestInRegularAndScriptAsync(
UseCoalesceExpressionForTernaryConditionalCheckTests.vb (13)
23Await TestInRegularAndScriptAsync( 44Await TestInRegularAndScriptAsync( 65Await TestInRegularAndScriptAsync( 86Await TestInRegularAndScriptAsync( 107Await TestInRegularAndScriptAsync( 128Await TestInRegularAndScriptAsync( 149Await TestInRegularAndScriptAsync( 170Await TestInRegularAndScriptAsync( 191Await TestInRegularAndScriptAsync( 212Await TestInRegularAndScriptAsync( 235Await TestInRegularAndScriptAsync( 256Await TestInRegularAndScriptAsync( 279Await TestInRegularAndScriptAsync(
UseCollectionInitializerTests.vb (9)
21Await TestInRegularAndScriptAsync( 43Await TestInRegularAndScriptAsync( 65Await TestInRegularAndScriptAsync( 87Await TestInRegularAndScriptAsync( 163Await TestInRegularAndScriptAsync( 191Await TestInRegularAndScriptAsync( 238Await TestInRegularAndScriptAsync( 275Await TestInRegularAndScriptAsync( 299Await TestInRegularAndScriptAsync(
UseCompoundAssignmentTests.vb (19)
21Await TestInRegularAndScriptAsync( 36Await TestInRegularAndScriptAsync( 51Await TestInRegularAndScriptAsync( 66Await TestInRegularAndScriptAsync( 81Await TestInRegularAndScriptAsync( 96Await TestInRegularAndScriptAsync( 111Await TestInRegularAndScriptAsync( 126Await TestInRegularAndScriptAsync( 141Await TestInRegularAndScriptAsync( 160Await TestInRegularAndScriptAsync( 179Await TestInRegularAndScriptAsync( 198Await TestInRegularAndScriptAsync( 221Await TestInRegularAndScriptAsync( 246Await TestInRegularAndScriptAsync( 337Await TestInRegularAndScriptAsync( 353Await TestInRegularAndScriptAsync( 370Await TestInRegularAndScriptAsync( 387Await TestInRegularAndScriptAsync( 402Await TestInRegularAndScriptAsync(
UseConditionalExpressionForAssignmentTests.vb (25)
22Await TestInRegularAndScriptAsync( 73Await TestInRegularAndScriptAsync( 95Await TestInRegularAndScriptAsync( 135Await TestInRegularAndScriptAsync( 156Await TestInRegularAndScriptAsync( 177Await TestInRegularAndScriptAsync( 202Await TestInRegularAndScriptAsync( 224Await TestInRegularAndScriptAsync( 246Await TestInRegularAndScriptAsync( 268Await TestInRegularAndScriptAsync( 291Await TestInRegularAndScriptAsync( 316Await TestInRegularAndScriptAsync( 339Await TestInRegularAndScriptAsync( 390Await TestInRegularAndScriptAsync( 414Await TestInRegularAndScriptAsync( 436Await TestInRegularAndScriptAsync( 458Await TestInRegularAndScriptAsync( 481Await TestInRegularAndScriptAsync( 511Await TestInRegularAndScriptAsync( 536Await TestInRegularAndScriptAsync( 561Await TestInRegularAndScriptAsync( 588Await TestInRegularAndScriptAsync( 617Await TestInRegularAndScriptAsync( 642Await TestInRegularAndScriptAsync( 671Await TestInRegularAndScriptAsync(
UseConditionalExpressionForReturnTests.vb (14)
22Await TestInRegularAndScriptAsync( 73Await TestInRegularAndScriptAsync( 94Await TestInRegularAndScriptAsync( 164Await TestInRegularAndScriptAsync( 198Await TestInRegularAndScriptAsync( 219Await TestInRegularAndScriptAsync( 240Await TestInRegularAndScriptAsync( 261Await TestInRegularAndScriptAsync( 284Await TestInRegularAndScriptAsync( 313Await TestInRegularAndScriptAsync( 338Await TestInRegularAndScriptAsync( 363Await TestInRegularAndScriptAsync( 390Await TestInRegularAndScriptAsync( 411Await TestInRegularAndScriptAsync(
UseIsNullCheckForReferenceEqualsTests.vb (7)
21Await TestInRegularAndScriptAsync( 44Await TestInRegularAndScriptAsync( 67Await TestInRegularAndScriptAsync( 90Await TestInRegularAndScriptAsync( 113Await TestInRegularAndScriptAsync( 136Await TestInRegularAndScriptAsync( 161Await TestInRegularAndScriptAsync(
UseNullPropagationTests.vb (32)
22Await TestInRegularAndScriptAsync( 71Await TestInRegularAndScriptAsync( 92Await TestInRegularAndScriptAsync( 113Await TestInRegularAndScriptAsync( 217Await TestInRegularAndScriptAsync( 240Await TestInRegularAndScriptAsync( 265Await TestInRegularAndScriptAsync( 288Await TestInRegularAndScriptAsync( 313Await TestInRegularAndScriptAsync( 334Await TestInRegularAndScriptAsync( 357Await TestInRegularAndScriptAsync( 378Await TestInRegularAndScriptAsync( 401Await TestInRegularAndScriptAsync( 422Await TestInRegularAndScriptAsync( 445Await TestInRegularAndScriptAsync( 466Await TestInRegularAndScriptAsync( 502Await TestInRegularAndScriptAsync( 523Await TestInRegularAndScriptAsync( 546Await TestInRegularAndScriptAsync( 569Await TestInRegularAndScriptAsync( 616Await TestInRegularAndScriptAsync( 637Await TestInRegularAndScriptAsync( 660Await TestInRegularAndScriptAsync( 707Await TestInRegularAndScriptAsync( 728Await TestInRegularAndScriptAsync( 801Await TestInRegularAndScriptAsync( 822Await TestInRegularAndScriptAsync( 869Await TestInRegularAndScriptAsync( 890Await TestInRegularAndScriptAsync( 937Await TestInRegularAndScriptAsync( 958Await TestInRegularAndScriptAsync( 981Await TestInRegularAndScriptAsync(
UseSystemHashCodeTests.vb (11)
21Await TestInRegularAndScriptAsync( 67Await TestInRegularAndScriptAsync( 112Await TestInRegularAndScriptAsync( 157Await TestInRegularAndScriptAsync( 331Await TestInRegularAndScriptAsync( 368Await TestInRegularAndScriptAsync( 455Await TestInRegularAndScriptAsync( 493Await TestInRegularAndScriptAsync( 531Await TestInRegularAndScriptAsync( 562Await TestInRegularAndScriptAsync( 593Await TestInRegularAndScriptAsync(