343 references to TestInRegularAndScriptAsync
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (343)
ConvertAnonymousType\ConvertAnonymousTypeToClassTests.cs (34)
27=> TestInRegularAndScriptAsync(""" 74=> TestInRegularAndScriptAsync(""" 125=> TestInRegularAndScriptAsync(""" 148=> TestInRegularAndScriptAsync(""" 195=> TestInRegularAndScriptAsync(""" 257=> TestInRegularAndScriptAsync(""" 323=> TestInRegularAndScriptAsync(""" 370=> TestInRegularAndScriptAsync(""" 393=> TestInRegularAndScriptAsync(""" 442=> TestInRegularAndScriptAsync(""" 467=> TestInRegularAndScriptAsync(""" 528=> TestInRegularAndScriptAsync(""" 581=> TestInRegularAndScriptAsync(""" 634=> TestInRegularAndScriptAsync(""" 695=> TestInRegularAndScriptAsync(""" 742=> TestInRegularAndScriptAsync(""" 803=> TestInRegularAndScriptAsync(""" 852=> TestInRegularAndScriptAsync(""" 901=> TestInRegularAndScriptAsync(""" 950=> TestInRegularAndScriptAsync(""" 999=> TestInRegularAndScriptAsync(""" 1024=> TestInRegularAndScriptAsync(""" 1079=> TestInRegularAndScriptAsync(""" 1126=> TestInRegularAndScriptAsync(""" 1149=> TestInRegularAndScriptAsync(""" 1196=> TestInRegularAndScriptAsync(""" 1255=> TestInRegularAndScriptAsync(""" 1314=> TestInRegularAndScriptAsync(""" 1373=> TestInRegularAndScriptAsync(""" 1432=> TestInRegularAndScriptAsync(""" 1479=> TestInRegularAndScriptAsync(""" 1526=> TestInRegularAndScriptAsync(""" 1573=> TestInRegularAndScriptAsync(""" 1627=> TestInRegularAndScriptAsync("""
ConvertAutoPropertyToFullProperty\ConvertAutoPropertyToFullPropertyTests.cs (38)
29=> TestInRegularAndScriptAsync($$""" 55=> TestInRegularAndScriptAsync(""" 83=> TestInRegularAndScriptAsync(""" 109=> TestInRegularAndScriptAsync(""" 137=> TestInRegularAndScriptAsync(""" 163=> TestInRegularAndScriptAsync(""" 192=> TestInRegularAndScriptAsync(""" 222=> TestInRegularAndScriptAsync(""" 238=> TestInRegularAndScriptAsync(""" 254=> TestInRegularAndScriptAsync(""" 278=> TestInRegularAndScriptAsync(""" 294=> TestInRegularAndScriptAsync(""" 319=> TestInRegularAndScriptAsync(""" 343=> TestInRegularAndScriptAsync(""" 369=> TestInRegularAndScriptAsync(""" 395=> TestInRegularAndScriptAsync(""" 421=> TestInRegularAndScriptAsync(""" 449=> TestInRegularAndScriptAsync(""" 481=> TestInRegularAndScriptAsync(""" 517=> TestInRegularAndScriptAsync(""" 543=> TestInRegularAndScriptAsync(""" 579=> TestInRegularAndScriptAsync(""" 628=> TestInRegularAndScriptAsync(""" 650=> TestInRegularAndScriptAsync(""" 666=> TestInRegularAndScriptAsync( 704=> TestInRegularAndScriptAsync(""" 730=> TestInRegularAndScriptAsync(""" 765=> TestInRegularAndScriptAsync(""" 791=> TestInRegularAndScriptAsync(""" 817=> TestInRegularAndScriptAsync(""" 861=> TestInRegularAndScriptAsync(""" 887=> TestInRegularAndScriptAsync(""" 930=> TestInRegularAndScriptAsync(""" 956=> TestInRegularAndScriptAsync(""" 991=> TestInRegularAndScriptAsync(""" 1199=> TestInRegularAndScriptAsync( 1240=> TestInRegularAndScriptAsync($$""" 1266=> TestInRegularAndScriptAsync($$"""
ConvertForEachToFor\ConvertForEachToForTests.cs (2)
1702=> TestInRegularAndScriptAsync(""" 1771=> TestInRegularAndScriptAsync("""
ConvertForToForEach\ConvertForToForEachTests.cs (5)
1092=> TestInRegularAndScriptAsync( 1124=> TestInRegularAndScriptAsync( 1176=> TestInRegularAndScriptAsync( 1591=> TestInRegularAndScriptAsync( 1627=> TestInRegularAndScriptAsync(
ConvertLinq\ConvertLinqQueryToForEachTests.cs (2)
3833=> TestInRegularAndScriptAsync(""" 3873=> TestInRegularAndScriptAsync("""
ConvertNamespace\ConvertNamespaceRefactoringFixAllTests.cs (4)
30=> TestInRegularAndScriptAsync(""" 94=> TestInRegularAndScriptAsync(""" 167=> TestInRegularAndScriptAsync(""" 230=> TestInRegularAndScriptAsync("""
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringTests.cs (2)
156=> TestInRegularAndScriptAsync( 203=> TestInRegularAndScriptAsync(
ConvertToRawString\ConvertInterpolatedStringToRawString_FixAllTests.cs (2)
709=> TestInRegularAndScriptAsync( 748=> TestInRegularAndScriptAsync(
EncapsulateField\EncapsulateFieldTests.cs (2)
164=> TestInRegularAndScriptAsync(""" 207=> TestInRegularAndScriptAsync("""
ExtractMethod\ExtractMethodCodeRefactoringTests.cs (46)
167=> TestInRegularAndScriptAsync( 193=> TestInRegularAndScriptAsync( 233=> TestInRegularAndScriptAsync( 260=> TestInRegularAndScriptAsync( 287=> TestInRegularAndScriptAsync( 320=> TestInRegularAndScriptAsync( 352=> TestInRegularAndScriptAsync( 384=> TestInRegularAndScriptAsync( 407=> TestInRegularAndScriptAsync( 430=> TestInRegularAndScriptAsync( 539=> TestInRegularAndScriptAsync( 1800=> TestInRegularAndScriptAsync( 1849=> TestInRegularAndScriptAsync( 3663=> TestInRegularAndScriptAsync( 4978=> TestInRegularAndScriptAsync(""" 4999=> TestInRegularAndScriptAsync(""" 5160=> TestInRegularAndScriptAsync( 5203await TestInRegularAndScriptAsync( 5243=> TestInRegularAndScriptAsync( 5314=> TestInRegularAndScriptAsync( 5373=> TestInRegularAndScriptAsync( 5432=> TestInRegularAndScriptAsync( 5491=> TestInRegularAndScriptAsync( 5541=> TestInRegularAndScriptAsync( 5592=> TestInRegularAndScriptAsync( 5643=> TestInRegularAndScriptAsync( 6740=> TestInRegularAndScriptAsync( 6789=> TestInRegularAndScriptAsync( 6845=> TestInRegularAndScriptAsync( 6901=> TestInRegularAndScriptAsync( 6951=> TestInRegularAndScriptAsync( 7007=> TestInRegularAndScriptAsync( 7056=> TestInRegularAndScriptAsync( 7109=> TestInRegularAndScriptAsync( 7159=> TestInRegularAndScriptAsync( 7215=> TestInRegularAndScriptAsync( 7268=> TestInRegularAndScriptAsync( 7316=> TestInRegularAndScriptAsync( 7366=> TestInRegularAndScriptAsync( 7436=> TestInRegularAndScriptAsync( 7500=> TestInRegularAndScriptAsync( 7561=> TestInRegularAndScriptAsync(""" 8559=> TestInRegularAndScriptAsync( 8608=> TestInRegularAndScriptAsync( 8660=> TestInRegularAndScriptAsync( 8712=> TestInRegularAndScriptAsync(
InlineTemporary\InlineTemporaryTests.cs (7)
352=> TestInRegularAndScriptAsync( 378=> TestInRegularAndScriptAsync( 3532=> TestInRegularAndScriptAsync( 3607=> TestInRegularAndScriptAsync( 3795=> TestInRegularAndScriptAsync( 4968=> TestInRegularAndScriptAsync(""" 5096=> TestInRegularAndScriptAsync("""
IntroduceUsingStatement\IntroduceUsingStatementTests.cs (1)
41=> TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(parseOptions: CSharpParseOptions.Default.WithLanguageVersion(languageVersion), options: options));
IntroduceVariable\IntroduceLocalForExpressionTests.cs (11)
343=> TestInRegularAndScriptAsync( 489=> TestInRegularAndScriptAsync( 579=> TestInRegularAndScriptAsync( 677=> TestInRegularAndScriptAsync( 771=> TestInRegularAndScriptAsync( 861=> TestInRegularAndScriptAsync( 891=> TestInRegularAndScriptAsync( 921=> TestInRegularAndScriptAsync( 953=> TestInRegularAndScriptAsync( 983=> TestInRegularAndScriptAsync( 1011=> TestInRegularAndScriptAsync(
IntroduceVariable\IntroduceVariableTests.cs (32)
659=> TestInRegularAndScriptAsync( 734=> TestInRegularAndScriptAsync( 825=> TestInRegularAndScriptAsync( 873=> TestInRegularAndScriptAsync( 993=> TestInRegularAndScriptAsync( 1545=> TestInRegularAndScriptAsync( 1725=> TestInRegularAndScriptAsync( 2309=> TestInRegularAndScriptAsync( 2552=> TestInRegularAndScriptAsync( 2583=> TestInRegularAndScriptAsync( 2614=> TestInRegularAndScriptAsync( 2734=> TestInRegularAndScriptAsync( 2789=> TestInRegularAndScriptAsync( 2880=> TestInRegularAndScriptAsync( 2917=> TestInRegularAndScriptAsync( 2972=> TestInRegularAndScriptAsync( 3004=> TestInRegularAndScriptAsync( 3146=> TestInRegularAndScriptAsync(""" 3167=> TestInRegularAndScriptAsync(""" 3194=> TestInRegularAndScriptAsync(""" 3332=> TestInRegularAndScriptAsync(""" 3355=> TestInRegularAndScriptAsync(""" 3378=> TestInRegularAndScriptAsync(""" 3419=> TestInRegularAndScriptAsync(""" 3666=> TestInRegularAndScriptAsync(""" 3827=> TestInRegularAndScriptAsync(""" 3852=> TestInRegularAndScriptAsync(""" 3892=> TestInRegularAndScriptAsync(""" 3926=> TestInRegularAndScriptAsync( 4576=> TestInRegularAndScriptAsync(""" 4698=> TestInRegularAndScriptAsync(""" 4723=> TestInRegularAndScriptAsync("""
InvertLogical\InvertLogicalTests.cs (31)
313=> TestInRegularAndScriptAsync( 335=> TestInRegularAndScriptAsync( 357=> TestInRegularAndScriptAsync( 379=> TestInRegularAndScriptAsync( 401=> TestInRegularAndScriptAsync( 423=> TestInRegularAndScriptAsync( 445=> TestInRegularAndScriptAsync( 467=> TestInRegularAndScriptAsync( 489=> TestInRegularAndScriptAsync( 511=> TestInRegularAndScriptAsync( 533=> TestInRegularAndScriptAsync( 555=> TestInRegularAndScriptAsync( 577=> TestInRegularAndScriptAsync( 599=> TestInRegularAndScriptAsync( 621=> TestInRegularAndScriptAsync( 643=> TestInRegularAndScriptAsync( 665=> TestInRegularAndScriptAsync( 687=> TestInRegularAndScriptAsync( 709=> TestInRegularAndScriptAsync( 731=> TestInRegularAndScriptAsync( 753=> TestInRegularAndScriptAsync( 775=> TestInRegularAndScriptAsync( 797=> TestInRegularAndScriptAsync( 819=> TestInRegularAndScriptAsync( 841=> TestInRegularAndScriptAsync( 863=> TestInRegularAndScriptAsync( 885=> TestInRegularAndScriptAsync( 907=> TestInRegularAndScriptAsync( 929=> TestInRegularAndScriptAsync( 951=> TestInRegularAndScriptAsync( 973=> TestInRegularAndScriptAsync(
MakeLocalFunctionStatic\MakeLocalFunctionStaticRefactoringTests.cs (16)
99=> TestInRegularAndScriptAsync( 135=> TestInRegularAndScriptAsync( 171=> TestInRegularAndScriptAsync( 207=> TestInRegularAndScriptAsync( 243=> TestInRegularAndScriptAsync( 281=> TestInRegularAndScriptAsync( 314=> TestInRegularAndScriptAsync( 348=> TestInRegularAndScriptAsync( 383=> TestInRegularAndScriptAsync( 420=> TestInRegularAndScriptAsync( 456=> TestInRegularAndScriptAsync( 490=> TestInRegularAndScriptAsync( 527=> TestInRegularAndScriptAsync( 564=> TestInRegularAndScriptAsync( 597=> TestInRegularAndScriptAsync( 655=> TestInRegularAndScriptAsync(
MoveDeclarationNearReference\MoveDeclarationNearReferenceTests.cs (1)
572=> TestInRegularAndScriptAsync(
ReplaceMethodWithProperty\ReplaceMethodWithPropertyTests.cs (9)
1793=> TestInRegularAndScriptAsync( 1812=> TestInRegularAndScriptAsync( 1831=> TestInRegularAndScriptAsync( 1939=> TestInRegularAndScriptAsync( 1955=> TestInRegularAndScriptAsync( 1971=> TestInRegularAndScriptAsync( 1987=> TestInRegularAndScriptAsync( 2003=> TestInRegularAndScriptAsync( 2019=> TestInRegularAndScriptAsync(
ReplacePropertyWithMethods\ReplacePropertyWithMethodsTests.cs (9)
1406=> TestInRegularAndScriptAsync( 1428=> TestInRegularAndScriptAsync( 1456=> TestInRegularAndScriptAsync( 1478=> TestInRegularAndScriptAsync( 1494=> TestInRegularAndScriptAsync( 1512=> TestInRegularAndScriptAsync( 1531=> TestInRegularAndScriptAsync( 1791=> TestInRegularAndScriptAsync( 1849=> TestInRegularAndScriptAsync(
UseExplicitOrImplicitType\UseExplicitTypeRefactoringTests.cs (6)
889await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferExplicitTypeWithNone())); 892await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferImplicitTypeWithNone())); 893await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferImplicitTypeWithSilent())); 894await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferImplicitTypeWithInfo())); 903await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferImplicitTypeWithWarning())); 904await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferImplicitTypeWithError()));
UseExplicitOrImplicitType\UseImplicitTypeRefactoringTests.cs (6)
476await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferImplicitTypeWithNone())); 479await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferExplicitTypeWithNone())); 480await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferExplicitTypeWithSilent())); 481await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferExplicitTypeWithInfo())); 490await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferExplicitTypeWithWarning())); 491await TestInRegularAndScriptAsync(initialMarkup, expectedMarkup, new(options: this.PreferExplicitTypeWithError()));
UseExpressionBody\Refactoring\UseExpressionBodyFixAllTests.cs (6)
35=> TestInRegularAndScriptAsync( 61=> TestInRegularAndScriptAsync( 136=> TestInRegularAndScriptAsync( 208=> TestInRegularAndScriptAsync( 253=> TestInRegularAndScriptAsync( 342await TestInRegularAndScriptAsync($$"""
UseExpressionBody\Refactoring\UseExpressionBodyForAccessorsRefactoringTests.cs (11)
84=> TestInRegularAndScriptAsync( 124=> TestInRegularAndScriptAsync( 147=> TestInRegularAndScriptAsync( 170=> TestInRegularAndScriptAsync( 196=> TestInRegularAndScriptAsync( 230=> TestInRegularAndScriptAsync( 248=> TestInRegularAndScriptAsync( 266=> TestInRegularAndScriptAsync( 284=> TestInRegularAndScriptAsync( 301=> TestInRegularAndScriptAsync( 324=> TestInRegularAndScriptAsync(
UseExpressionBody\Refactoring\UseExpressionBodyForConstructorsRefactoringTests.cs (6)
54=> TestInRegularAndScriptAsync( 74=> TestInRegularAndScriptAsync( 119=> TestInRegularAndScriptAsync( 139=> TestInRegularAndScriptAsync( 159=> TestInRegularAndScriptAsync( 193=> TestInRegularAndScriptAsync(
UseExpressionBody\Refactoring\UseExpressionBodyForConversionOperatorsRefactoringTests.cs (6)
54=> TestInRegularAndScriptAsync( 74=> TestInRegularAndScriptAsync( 119=> TestInRegularAndScriptAsync( 139=> TestInRegularAndScriptAsync( 159=> TestInRegularAndScriptAsync( 193=> TestInRegularAndScriptAsync(
UseExpressionBody\Refactoring\UseExpressionBodyForIndexersRefactoringTests.cs (6)
57=> TestInRegularAndScriptAsync( 80=> TestInRegularAndScriptAsync( 131=> TestInRegularAndScriptAsync( 154=> TestInRegularAndScriptAsync( 177=> TestInRegularAndScriptAsync( 217=> TestInRegularAndScriptAsync(
UseExpressionBody\Refactoring\UseExpressionBodyForLocalFunctionsRefactoringTests.cs (5)
56=> TestInRegularAndScriptAsync( 82=> TestInRegularAndScriptAsync( 122=> TestInRegularAndScriptAsync( 148=> TestInRegularAndScriptAsync( 174=> TestInRegularAndScriptAsync(
UseExpressionBody\Refactoring\UseExpressionBodyForMethodsRefactoringTests.cs (11)
52=> TestInRegularAndScriptAsync( 72=> TestInRegularAndScriptAsync( 117=> TestInRegularAndScriptAsync( 137=> TestInRegularAndScriptAsync( 157=> TestInRegularAndScriptAsync( 177=> TestInRegularAndScriptAsync( 197=> TestInRegularAndScriptAsync( 249=> TestInRegularAndScriptAsync( 272=> TestInRegularAndScriptAsync( 306=> TestInRegularAndScriptAsync( 337=> TestInRegularAndScriptAsync(
UseExpressionBody\Refactoring\UseExpressionBodyForOperatorsRefactoringTests.cs (6)
54=> TestInRegularAndScriptAsync( 74=> TestInRegularAndScriptAsync( 119=> TestInRegularAndScriptAsync( 139=> TestInRegularAndScriptAsync( 159=> TestInRegularAndScriptAsync( 193=> TestInRegularAndScriptAsync(
UseExpressionBody\Refactoring\UseExpressionBodyForPropertiesRefactoringTests.cs (10)
93=> TestInRegularAndScriptAsync( 116=> TestInRegularAndScriptAsync( 142=> TestInRegularAndScriptAsync( 165=> TestInRegularAndScriptAsync( 227=> TestInRegularAndScriptAsync( 250=> TestInRegularAndScriptAsync( 273=> TestInRegularAndScriptAsync( 296=> TestInRegularAndScriptAsync( 342=> TestInRegularAndScriptAsync( 382=> TestInRegularAndScriptAsync(
UseExpressionBodyForLambda\UseExpressionBodyForLambdasRefactoringTests.cs (4)
57=> TestInRegularAndScriptAsync( 86=> TestInRegularAndScriptAsync( 143=> TestInRegularAndScriptAsync( 172=> TestInRegularAndScriptAsync(
Wrapping\BinaryExpressionWrappingTests.cs (2)
25=> TestInRegularAndScriptAsync(markup, expected, EndOfLine); 28=> TestInRegularAndScriptAsync(markup, expected, BeginningOfLine);
Wrapping\ParameterWrappingTests.cs (4)
1150=> TestInRegularAndScriptAsync( 1159=> TestInRegularAndScriptAsync( 1168=> TestInRegularAndScriptAsync( 1177=> TestInRegularAndScriptAsync(