2063 references to CSharpCodeFixVerifier
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (2063)
AddAccessibilityModifiersTests.cs (23)
16using VerifyCS = CSharpCodeFixVerifier< 25=> VerifyCS.VerifyStandardProperty(property); 30await VerifyCS.VerifyCodeFixAsync( 159await VerifyCS.VerifyCodeFixAsync(""" 200var test = new VerifyCS.Test 226var test = new VerifyCS.Test 239await VerifyCS.VerifyCodeFixAsync(""" 255await new VerifyCS.Test 403await new VerifyCS.Test 427await new VerifyCS.Test 451await new VerifyCS.Test 469await VerifyCS.VerifyCodeFixAsync(""" 494await VerifyCS.VerifyCodeFixAsync(""" 511await VerifyCS.VerifyCodeFixAsync(""" 528await VerifyCS.VerifyCodeFixAsync(""" 555await new VerifyCS.Test 593var test = new VerifyCS.Test 621var test = new VerifyCS.Test 644await new VerifyCS.Test 657await new VerifyCS.Test 689await new VerifyCS.Test 713var test = new VerifyCS.Test 740var test = new VerifyCS.Test
AddInheritdocTests.cs (3)
14using VerifyCS = CSharpCodeFixVerifier< 23var test = new VerifyCS.Test 33=> await VerifyCS.VerifyCodeFixAsync(initialMarkup, initialMarkup);
AddObsoleteAttributeTests.cs (15)
10using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.CSharpCodeFixVerifier< 22await VerifyCS.VerifyCodeFixAsync( 43await VerifyCS.VerifyCodeFixAsync( 64await VerifyCS.VerifyCodeFixAsync( 92await VerifyCS.VerifyCodeFixAsync(code, code); 98await VerifyCS.VerifyCodeFixAsync( 121await VerifyCS.VerifyCodeFixAsync( 148await VerifyCS.VerifyCodeFixAsync( 175await VerifyCS.VerifyCodeFixAsync( 204await VerifyCS.VerifyCodeFixAsync( 233await VerifyCS.VerifyCodeFixAsync( 269await VerifyCS.VerifyCodeFixAsync( 310await VerifyCS.VerifyCodeFixAsync( 351await VerifyCS.VerifyCodeFixAsync( 410await VerifyCS.VerifyCodeFixAsync(code, code);
AddYieldTests.cs (3)
14using VerifyCS = CSharpCodeFixVerifier<EmptyDiagnosticAnalyzer, CSharpAddYieldCodeFixProvider>; 21await VerifyCS.VerifyCodeFixAsync(code, code); 26await VerifyCS.VerifyCodeFixAsync(code, fixedCode);
ArrowExpressionClausePlacementTests.cs (24)
16using Verify = CSharpCodeFixVerifier< 34await new Verify.Test 53await new Verify.Test 72await new Verify.Test 94await new Verify.Test 119await new Verify.Test 148await new Verify.Test 171await new Verify.Test 200await new Verify.Test 235await new Verify.Test 255await new Verify.Test 275await new Verify.Test 295await new Verify.Test 317await new Verify.Test 339await new Verify.Test 372await new Verify.Test 405await new Verify.Test 436await new Verify.Test 465await new Verify.Test 494await new Verify.Test 523await new Verify.Test 552await new Verify.Test 581await new Verify.Test 618await new Verify.Test
AssignOutParametersAboveReturnTests.cs (25)
14using VerifyCS = CSharpCodeFixVerifier< 24await VerifyCS.VerifyCodeFixAsync( 49await VerifyCS.VerifyCodeFixAsync( 93await VerifyCS.VerifyCodeFixAsync(code, code); 99await VerifyCS.VerifyCodeFixAsync( 129await VerifyCS.VerifyCodeFixAsync( 181await VerifyCS.VerifyCodeFixAsync(code, code); 187await VerifyCS.VerifyCodeFixAsync( 213await VerifyCS.VerifyCodeFixAsync( 238await VerifyCS.VerifyCodeFixAsync( 263await VerifyCS.VerifyCodeFixAsync( 294await VerifyCS.VerifyCodeFixAsync( 323await VerifyCS.VerifyCodeFixAsync( 360await VerifyCS.VerifyCodeFixAsync( 382await VerifyCS.VerifyCodeFixAsync( 408await VerifyCS.VerifyCodeFixAsync( 435await VerifyCS.VerifyCodeFixAsync( 468await VerifyCS.VerifyCodeFixAsync( 520await VerifyCS.VerifyCodeFixAsync(code, code); 526await VerifyCS.VerifyCodeFixAsync( 568await VerifyCS.VerifyCodeFixAsync( 636await VerifyCS.VerifyCodeFixAsync( 674await VerifyCS.VerifyCodeFixAsync( 734await VerifyCS.VerifyCodeFixAsync( 778await VerifyCS.VerifyCodeFixAsync(
AssignOutParametersAtStartTests.cs (25)
14using VerifyCS = CSharpCodeFixVerifier< 38await VerifyCS.VerifyCodeFixAsync(code, code); 44await VerifyCS.VerifyCodeFixAsync( 82await VerifyCS.VerifyCodeFixAsync(code, code); 88await VerifyCS.VerifyCodeFixAsync( 130await VerifyCS.VerifyCodeFixAsync(code, code); 149await VerifyCS.VerifyCodeFixAsync(code, code); 164await VerifyCS.VerifyCodeFixAsync(code, code); 179await VerifyCS.VerifyCodeFixAsync(code, code); 194await VerifyCS.VerifyCodeFixAsync(code, code); 200await VerifyCS.VerifyCodeFixAsync( 227await VerifyCS.VerifyCodeFixAsync( 250await VerifyCS.VerifyCodeFixAsync( 289await VerifyCS.VerifyCodeFixAsync(code, code); 305await VerifyCS.VerifyCodeFixAsync(code, code); 321await VerifyCS.VerifyCodeFixAsync(code, code); 340await VerifyCS.VerifyCodeFixAsync(code, code); 360await VerifyCS.VerifyCodeFixAsync(code, code); 381await VerifyCS.VerifyCodeFixAsync(code, code); 387await VerifyCS.VerifyCodeFixAsync( 423await VerifyCS.VerifyCodeFixAsync( 484await VerifyCS.VerifyCodeFixAsync( 512await VerifyCS.VerifyCodeFixAsync( 557await VerifyCS.VerifyCodeFixAsync( 597await VerifyCS.VerifyCodeFixAsync(
ConditionalExpressionPlacementTests.cs (27)
15using Verify = CSharpCodeFixVerifier< 37await new Verify.Test 74await new Verify.Test 98await new Verify.Test 122await new Verify.Test 146await new Verify.Test 169await new Verify.Test 192await new Verify.Test 215await new Verify.Test 241await new Verify.Test 267await new Verify.Test 293await new Verify.Test 319await new Verify.Test 345await new Verify.Test 386await new Verify.Test 427await new Verify.Test 466await new Verify.Test 505await new Verify.Test 546await new Verify.Test 585await new Verify.Test 624await new Verify.Test 661await new Verify.Test 698await new Verify.Test 735await new Verify.Test 772await new Verify.Test 809await new Verify.Test 846await new Verify.Test
ConflictMarkerResolutionTests.cs (36)
16using VerifyCS = CSharpCodeFixVerifier<EmptyDiagnosticAnalyzer, CSharpResolveConflictMarkerCodeFixProvider>; 66await new VerifyCS.Test 121await new VerifyCS.Test 184await new VerifyCS.Test 223await new VerifyCS.Test 270await new VerifyCS.Test 317await new VerifyCS.Test 356await new VerifyCS.Test 415await new VerifyCS.Test 474await new VerifyCS.Test 545await new VerifyCS.Test 588await new VerifyCS.Test 629await new VerifyCS.Test 663await new VerifyCS.Test 697await new VerifyCS.Test 717await new VerifyCS.Test 734await new VerifyCS.Test 751await new VerifyCS.Test 802await new VerifyCS.Test 856await new VerifyCS.Test 916await new VerifyCS.Test 973await new VerifyCS.Test 1030await new VerifyCS.Test 1095await new VerifyCS.Test 1136await new VerifyCS.Test 1185await new VerifyCS.Test 1234await new VerifyCS.Test 1275await new VerifyCS.Test 1321await new VerifyCS.Test 1364await new VerifyCS.Test 1400await new VerifyCS.Test 1436await new VerifyCS.Test 1457await new VerifyCS.Test 1512await new VerifyCS.Test 1570await new VerifyCS.Test 1634await new VerifyCS.Test
ConsecutiveBracePlacementTests.cs (31)
14using VerifyCS = CSharpCodeFixVerifier< 26await new VerifyCS.Test 40await new VerifyCS.Test 54await new VerifyCS.Test 68await new VerifyCS.Test 89await new VerifyCS.Test 110await new VerifyCS.Test 131await new VerifyCS.Test 155await new VerifyCS.Test 179await new VerifyCS.Test 203await new VerifyCS.Test 227await new VerifyCS.Test 251await new VerifyCS.Test 275await new VerifyCS.Test 303await new VerifyCS.Test 330await new VerifyCS.Test 357await new VerifyCS.Test 389await new VerifyCS.Test 411await new VerifyCS.Test 443await new VerifyCS.Test 476await new VerifyCS.Test 509await new VerifyCS.Test 542await new VerifyCS.Test 579await new VerifyCS.Test 617await new VerifyCS.Test 656await new VerifyCS.Test 695await new VerifyCS.Test 734await new VerifyCS.Test 772await new VerifyCS.Test 817await new VerifyCS.Test 864await new VerifyCS.Test
ConsecutiveStatementPlacementTests.cs (23)
14using Verify = CSharpCodeFixVerifier< 32await new Verify.Test 52await new Verify.Test 74await new Verify.Test 96await new Verify.Test 121await new Verify.Test 146await new Verify.Test 172await new Verify.Test 198await new Verify.Test 224await new Verify.Test 250await new Verify.Test 277await new Verify.Test 303await new Verify.Test 333await new Verify.Test 344await new Verify.Test 391await new Verify.Test 402await new Verify.Test 436await new Verify.Test 470await new Verify.Test 500await new Verify.Test 538await new Verify.Test 941await new Verify.Test 952await new Verify.Test
ConstructorInitializerPlacementTests.cs (10)
14using Verify = CSharpCodeFixVerifier< 34await new Verify.Test 67await new Verify.Test 88await new Verify.Test 110await new Verify.Test 132await new Verify.Test 164await new Verify.Test 200await new Verify.Test 234await new Verify.Test 258await new Verify.Test
ConvertSwitchStatementToExpressionFixAllTests.cs (5)
14using VerifyCS = CSharpCodeFixVerifier< 24await VerifyCS.VerifyCodeFixAsync( 218await new VerifyCS.Test 229await VerifyCS.VerifyCodeFixAsync( 291await VerifyCS.VerifyCodeFixAsync(
ConvertSwitchStatementToExpressionTests.cs (63)
20using VerifyCS = CSharpCodeFixVerifier< 31=> VerifyCS.VerifyStandardProperty(property); 36await VerifyCS.VerifyCodeFixAsync( 76await VerifyCS.VerifyCodeFixAsync( 116await VerifyCS.VerifyCodeFixAsync( 190await VerifyCS.VerifyCodeFixAsync(code, code); 222await VerifyCS.VerifyCodeFixAsync(code, code); 242await VerifyCS.VerifyCodeFixAsync(code, code); 262await VerifyCS.VerifyCodeFixAsync(code, code); 282await VerifyCS.VerifyCodeFixAsync(code, code); 302await VerifyCS.VerifyCodeFixAsync(code, code); 326await VerifyCS.VerifyCodeFixAsync(code, code); 332await VerifyCS.VerifyCodeFixAsync( 368await VerifyCS.VerifyCodeFixAsync( 434await VerifyCS.VerifyCodeFixAsync(code, code); 460await VerifyCS.VerifyCodeFixAsync(code, code); 466await VerifyCS.VerifyCodeFixAsync( 510await VerifyCS.VerifyCodeFixAsync( 582await VerifyCS.VerifyCodeFixAsync(code, code); 606await VerifyCS.VerifyCodeFixAsync(code, code); 630await new VerifyCS.Test 672await new VerifyCS.Test 709await VerifyCS.VerifyCodeFixAsync(code, code); 733await VerifyCS.VerifyCodeFixAsync(code, code); 739await VerifyCS.VerifyCodeFixAsync( 788await VerifyCS.VerifyCodeFixAsync( 832await VerifyCS.VerifyCodeFixAsync( 889await new VerifyCS.Test 907await VerifyCS.VerifyCodeFixAsync( 947await VerifyCS.VerifyCodeFixAsync( 1004await VerifyCS.VerifyCodeFixAsync(code, code); 1010await VerifyCS.VerifyCodeFixAsync( 1122await VerifyCS.VerifyCodeFixAsync(code, code); 1192await new VerifyCS.Test 1206await VerifyCS.VerifyCodeFixAsync( 1240await VerifyCS.VerifyCodeFixAsync( 1332await new VerifyCS.Test 1403await new VerifyCS.Test 1474await new VerifyCS.Test 1553await new VerifyCS.Test 1624await new VerifyCS.Test 1695await new VerifyCS.Test 1766await new VerifyCS.Test 1816await new VerifyCS.Test 1865await new VerifyCS.Test 1915await new VerifyCS.Test 1965await new VerifyCS.Test 2015await new VerifyCS.Test 2045await VerifyCS.VerifyCodeFixAsync(code, code); 2069await VerifyCS.VerifyCodeFixAsync(code, code); 2093await VerifyCS.VerifyCodeFixAsync(code, code); 2099await VerifyCS.VerifyCodeFixAsync( 2156var test = new VerifyCS.Test 2201var test = new VerifyCS.Test 2248await new VerifyCS.Test 2259await VerifyCS.VerifyCodeFixAsync( 2289await VerifyCS.VerifyCodeFixAsync( 2319await VerifyCS.VerifyCodeFixAsync( 2360await VerifyCS.VerifyCodeFixAsync( 2405await VerifyCS.VerifyCodeFixAsync( 2442await VerifyCS.VerifyCodeFixAsync( 2482await new VerifyCS.Test 2538await new VerifyCS.Test
ConvertToAsyncTests.cs (2)
14using VerifyCS = CSharpCodeFixVerifier< 58await VerifyCS.VerifyCodeFixAsync(initial, expected);
ConvertToBlockScopedNamespaceAnalyzerTests.cs (18)
16using VerifyCS = CSharpCodeFixVerifier<ConvertToBlockScopedNamespaceDiagnosticAnalyzer, ConvertNamespaceCodeFixProvider>; 25await new VerifyCS.Test 46await new VerifyCS.Test 70await new VerifyCS.Test 85await new VerifyCS.Test 106await new VerifyCS.Test 127await new VerifyCS.Test 155await new VerifyCS.Test 182await new VerifyCS.Test 209await new VerifyCS.Test 234await new VerifyCS.Test 258await new VerifyCS.Test 283await new VerifyCS.Test 307await new VerifyCS.Test 335await new VerifyCS.Test 365await new VerifyCS.Test 393await new VerifyCS.Test 421await new VerifyCS.Test
ConvertToFileScopedNamespaceAnalyzerTests.cs (35)
17using VerifyCS = CSharpCodeFixVerifier<ConvertToFileScopedNamespaceDiagnosticAnalyzer, ConvertNamespaceCodeFixProvider>; 29await new VerifyCS.Test 49await new VerifyCS.Test 64await new VerifyCS.Test 85await new VerifyCS.Test 115await new VerifyCS.Test 138await new VerifyCS.Test 160await new VerifyCS.Test 182await new VerifyCS.Test 204await new VerifyCS.Test 229await new VerifyCS.Test 253await new VerifyCS.Test 281await new VerifyCS.Test 311await new VerifyCS.Test 340await new VerifyCS.Test 368await new VerifyCS.Test 398await new VerifyCS.Test 428await new VerifyCS.Test 469await new VerifyCS.Test 503await new VerifyCS.Test 537await new VerifyCS.Test 585await new VerifyCS.Test 633await new VerifyCS.Test 683await new VerifyCS.Test 731await new VerifyCS.Test 784await new VerifyCS.Test 803await new VerifyCS.Test 824await new VerifyCS.Test 852await new VerifyCS.Test 873await new VerifyCS.Test 901await new VerifyCS.Test 922await new VerifyCS.Test 952await new VerifyCS.Test 984await new VerifyCS.Test 1013await new VerifyCS.Test
ConvertToRecordCodeFixTests.cs (1)
148private class CodeFixTest : CSharpCodeFixVerifier<TestAnalyzer, CSharpConvertToRecordCodeFixProvider>.Test
ConvertTypeOfToNameOfFixAllTests.cs (6)
13using VerifyCS = CSharpCodeFixVerifier<CSharpConvertTypeOfToNameOfDiagnosticAnalyzer, 45await VerifyCS.VerifyCodeFixAsync(input, expected); 71await VerifyCS.VerifyCodeFixAsync(input, expected); 107await VerifyCS.VerifyCodeFixAsync(input, expected); 115await new VerifyCS.Test 187await new VerifyCS.Test
ConvertTypeOfToNameOfTests.cs (15)
15using VerifyCS = CSharpCodeFixVerifier<CSharpConvertTypeOfToNameOfDiagnosticAnalyzer, 42await VerifyCS.VerifyCodeFixAsync(text, expected); 66await VerifyCS.VerifyCodeFixAsync(text, expected); 94await VerifyCS.VerifyCodeFixAsync(text, expected); 130await VerifyCS.VerifyCodeFixAsync(text, expected); 148await VerifyCS.VerifyCodeFixAsync(text, text); 172await VerifyCS.VerifyCodeFixAsync(text, expected); 200await VerifyCS.VerifyCodeFixAsync(text, expected); 215await VerifyCS.VerifyCodeFixAsync(text, text); 232await VerifyCS.VerifyCodeFixAsync(text, text); 250await VerifyCS.VerifyCodeFixAsync(text, text); 286await VerifyCS.VerifyCodeFixAsync(text, expected); 316await VerifyCS.VerifyCodeFixAsync(text, expected); 331await VerifyCS.VerifyCodeFixAsync(text, text); 337await new VerifyCS.Test
CSharpAsAndMemberAccessTests.cs (42)
16using VerifyCS = CSharpCodeFixVerifier< 26await new VerifyCS.Test 67await new VerifyCS.Test 89await new VerifyCS.Test 109await new VerifyCS.Test 134await new VerifyCS.Test 156await new VerifyCS.Test 178await new VerifyCS.Test 200await new VerifyCS.Test 222await new VerifyCS.Test 247await new VerifyCS.Test 271await new VerifyCS.Test 282await new VerifyCS.Test 317await new VerifyCS.Test 367await new VerifyCS.Test 391await new VerifyCS.Test 402await new VerifyCS.Test 439await new VerifyCS.Test 470await new VerifyCS.Test 501await new VerifyCS.Test 536await new VerifyCS.Test 567await new VerifyCS.Test 608await new VerifyCS.Test 630await new VerifyCS.Test 652await new VerifyCS.Test 677await new VerifyCS.Test 688await new VerifyCS.Test 723await new VerifyCS.Test 760await new VerifyCS.Test 795await new VerifyCS.Test 847await new VerifyCS.Test 858await new VerifyCS.Test 895await new VerifyCS.Test 925await new VerifyCS.Test 955await new VerifyCS.Test 987await new VerifyCS.Test 1008await new VerifyCS.Test 1040await new VerifyCS.Test 1061await new VerifyCS.Test 1093await new VerifyCS.Test 1125await new VerifyCS.Test 1158await new VerifyCS.Test
CSharpMakeStatementAsynchronousCodeFixTests.cs (9)
14using VerifyCS = CSharpCodeFixVerifier< 24await new VerifyCS.Test() 53await new VerifyCS.Test() 82await new VerifyCS.Test() 111await new VerifyCS.Test() 140await new VerifyCS.Test() 171await new VerifyCS.Test() 202await new VerifyCS.Test() 233await new VerifyCS.Test()
CSharpMatchFolderAndNamespaceTests.cs (3)
12using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.CSharpCodeFixVerifier< 51var testState = new VerifyCS.Test 880var testState = new VerifyCS.Test
CSharpRemoveRedundantNullableDirectiveTests.cs (2)
16using VerifyCS = CSharpCodeFixVerifier< 246await new VerifyCS.Test
CSharpRemoveUnnecessaryNullableDirectiveTests.cs (2)
16using VerifyCS = CSharpCodeFixVerifier< 233await new VerifyCS.Test
CSharpSimplifyLinqExpressionFixAllTests.cs (4)
13using VerifyCS = CSharpCodeFixVerifier< 23await new VerifyCS.Test 100await VerifyCS.VerifyCodeFixAsync(testCode, fixedCode); 107await new VerifyCS.Test
CSharpSimplifyLinqExpressionTests.cs (13)
13using VerifyCS = CSharpCodeFixVerifier< 39await new VerifyCS.Test 115await VerifyCS.VerifyAnalyzerAsync(testCode); 135await new VerifyCS.Test 171await new VerifyCS.Test 231await new VerifyCS.Test 293await VerifyCS.VerifyAnalyzerAsync(source); 345await VerifyCS.VerifyCodeFixAsync( 361await new VerifyCS.Test 428await VerifyCS.VerifyAnalyzerAsync(source); 455await VerifyCS.VerifyAnalyzerAsync(source); 474await VerifyCS.VerifyAnalyzerAsync(source); 511await VerifyCS.VerifyAnalyzerAsync(source);
CSharpUseImplicitObjectCreationTests.cs (35)
17using VerifyCS = CSharpCodeFixVerifier< 33await new VerifyCS.Test 43await new VerifyCS.Test 64await new VerifyCS.Test 85await new VerifyCS.Test 106await new VerifyCS.Test 127await new VerifyCS.Test 142await new VerifyCS.Test 169await new VerifyCS.Test 184await new VerifyCS.Test 199await new VerifyCS.Test 220await new VerifyCS.Test 251await new VerifyCS.Test 273await new VerifyCS.Test 304await new VerifyCS.Test 331await new VerifyCS.Test 352await new VerifyCS.Test 373await new VerifyCS.Test 394await new VerifyCS.Test 415await new VerifyCS.Test 436await new VerifyCS.Test 451await new VerifyCS.Test 472await new VerifyCS.Test 493await new VerifyCS.Test 508await new VerifyCS.Test 524await new VerifyCS.Test 543await new VerifyCS.Test 566await new VerifyCS.Test 589await new VerifyCS.Test 614await new VerifyCS.Test 649await new VerifyCS.Test 672await new VerifyCS.Test 695await new VerifyCS.Test 730await new VerifyCS.Test 740await new VerifyCS.Test
CSharpUseNotPatternTests.cs (8)
15using VerifyCS = CSharpCodeFixVerifier< 25await new VerifyCS.Test 56await new VerifyCS.Test 87await new VerifyCS.Test 118await new VerifyCS.Test 149await new VerifyCS.Test 180await new VerifyCS.Test 200await new VerifyCS.Test
DisambiguateSameVariableTests.cs (18)
14using VerifyCS = CSharpCodeFixVerifier< 33await VerifyCS.VerifyCodeFixAsync(code, code); 50await VerifyCS.VerifyCodeFixAsync(code, code); 67await VerifyCS.VerifyCodeFixAsync(code, code); 73await VerifyCS.VerifyCodeFixAsync(""" 108await VerifyCS.VerifyCodeFixAsync(code, code); 114await VerifyCS.VerifyCodeFixAsync(""" 138await VerifyCS.VerifyCodeFixAsync(""" 162await VerifyCS.VerifyCodeFixAsync(""" 186await VerifyCS.VerifyCodeFixAsync(""" 211await VerifyCS.VerifyCodeFixAsync(""" 235await VerifyCS.VerifyCodeFixAsync(""" 282await VerifyCS.VerifyCodeFixAsync(code, code); 299await VerifyCS.VerifyCodeFixAsync(code, code); 305await VerifyCS.VerifyCodeFixAsync(""" 333await VerifyCS.VerifyCodeFixAsync(""" 359await VerifyCS.VerifyCodeFixAsync(""" 385await VerifyCS.VerifyCodeFixAsync("""
EmbeddedStatementPlacementTests.cs (12)
14using VerifyCS = CSharpCodeFixVerifier< 33await new VerifyCS.Test 63await new VerifyCS.Test 83await new VerifyCS.Test 106await new VerifyCS.Test 140await new VerifyCS.Test 172await new VerifyCS.Test 202await new VerifyCS.Test 234await new VerifyCS.Test 265await new VerifyCS.Test 302await new VerifyCS.Test 335await new VerifyCS.Test
FileHeaderTests.cs (21)
10using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.CSharpCodeFixVerifier< 44await new VerifyCS.Test 79await new VerifyCS.Test 116await new VerifyCS.Test 150await new VerifyCS.Test 184await new VerifyCS.Test 218await new VerifyCS.Test 242await new VerifyCS.Test 267await new VerifyCS.Test 291await new VerifyCS.Test 312await new VerifyCS.Test 349await new VerifyCS.Test 381await new VerifyCS.Test 418await new VerifyCS.Test 442await new VerifyCS.Test 478await new VerifyCS.Test 505await new VerifyCS.Test 530await new VerifyCS.Test 563await new VerifyCS.Test 599await new VerifyCS.Test 630await new VerifyCS.Test
FixIncorrectConstraintTests.cs (5)
13using VerifyCS = CSharpCodeFixVerifier< 22await new VerifyCS.Test 40await new VerifyCS.Test 62await new VerifyCS.Test 80await new VerifyCS.Test
FixReturnTypeTests.cs (22)
16using VerifyCS = CSharpCodeFixVerifier< 26await VerifyCS.VerifyCodeFixAsync(""" 48await VerifyCS.VerifyCodeFixAsync(""" 72await VerifyCS.VerifyCodeFixAsync(""" 94await VerifyCS.VerifyCodeFixAsync(""" 116await VerifyCS.VerifyCodeFixAsync(""" 138await VerifyCS.VerifyCodeFixAsync(""" 160await VerifyCS.VerifyCodeFixAsync(""" 182await VerifyCS.VerifyCodeFixAsync(""" 204await new VerifyCS.Test 231await VerifyCS.VerifyCodeFixAsync(""" 253await VerifyCS.VerifyCodeFixAsync(""" 275await VerifyCS.VerifyCodeFixAsync(""" 301await VerifyCS.VerifyCodeFixAsync(""" 323await VerifyCS.VerifyCodeFixAsync(""" 351await VerifyCS.VerifyCodeFixAsync(""" 379await VerifyCS.VerifyCodeFixAsync(""" 406await VerifyCS.VerifyCodeFixAsync(markup, markup); 412await VerifyCS.VerifyCodeFixAsync(""" 434await VerifyCS.VerifyCodeFixAsync(""" 456await new VerifyCS.Test 500await new VerifyCS.Test
ForEachCastTests.cs (2)
13using VerifyCS = CSharpCodeFixVerifier< 22await new VerifyCS.Test
FormattingAnalyzerTests.cs (16)
14using Verify = CSharpCodeFixVerifier<CodeStyle.CSharpFormattingAnalyzer, CodeStyle.CSharpFormattingCodeFixProvider>; 30await Verify.VerifyCodeFixAsync(testCode, expected); 54await Verify.VerifyCodeFixAsync(testCode, expected); 69await Verify.VerifyAnalyzerAsync(testCode); 92await Verify.VerifyCodeFixAsync(testCode, fixedCode); 135await Verify.VerifyCodeFixAsync(testCode, fixedCode); 166await Verify.VerifyCodeFixAsync(testCode, fixedCode); 197await Verify.VerifyCodeFixAsync(testCode, fixedCode); 229await Verify.VerifyCodeFixAsync(testCode, fixedCode); 252await Verify.VerifyCodeFixAsync(testCode, fixedCode); 273await new Verify.Test 306await new Verify.Test 343await Verify.VerifyCodeFixAsync(testCode, testCode); 398await Verify.VerifyCodeFixAsync(testCode, fixedCode); 444await Verify.VerifyCodeFixAsync(testCode, fixedCode); 484await Verify.VerifyCodeFixAsync(testCode, fixedCode);
MakeMemberRequiredTests.cs (22)
15using VerifyCS = CSharpCodeFixVerifier< 125await new VerifyCS.Test 149await new VerifyCS.Test 182await new VerifyCS.Test 195await new VerifyCS.Test 228await new VerifyCS.Test 250await new VerifyCS.Test 277await new VerifyCS.Test 296await new VerifyCS.Test 323await new VerifyCS.Test 341await new VerifyCS.Test 368await new VerifyCS.Test 401await new VerifyCS.Test 431await new VerifyCS.Test 453await new VerifyCS.Test 474await new VerifyCS.Test 486await new VerifyCS.Test 512await new VerifyCS.Test 538await new VerifyCS.Test 562await new VerifyCS.Test 586await new VerifyCS.Test 612await new VerifyCS.Test
MakeMemberStaticTests.cs (7)
15using VerifyCS = CSharpCodeFixVerifier< 25await VerifyCS.VerifyCodeFixAsync( 43await VerifyCS.VerifyCodeFixAsync( 63await VerifyCS.VerifyCodeFixAsync( 81await VerifyCS.VerifyCodeFixAsync( 99await VerifyCS.VerifyCodeFixAsync( 117await VerifyCS.VerifyCodeFixAsync(
MakeMethodSynchronousTests.cs (30)
15using VerifyCS = CSharpCodeFixVerifier< 24await VerifyCS.VerifyCodeFixAsync( 50await VerifyCS.VerifyCodeFixAsync( 78await VerifyCS.VerifyCodeFixAsync( 104await VerifyCS.VerifyCodeFixAsync( 130await VerifyCS.VerifyCodeFixAsync( 157await VerifyCS.VerifyCodeFixAsync( 183await VerifyCS.VerifyCodeFixAsync( 248await new VerifyCS.Test 295await new VerifyCS.Test 342await new VerifyCS.Test 391await new VerifyCS.Test 409await VerifyCS.VerifyCodeFixAsync( 483await new VerifyCS.Test 532await new VerifyCS.Test 581await new VerifyCS.Test 630await new VerifyCS.Test 681await new VerifyCS.Test 732await new VerifyCS.Test 748await VerifyCS.VerifyCodeFixAsync( 786await VerifyCS.VerifyCodeFixAsync( 831await VerifyCS.VerifyCodeFixAsync( 872await new VerifyCS.Test 888await VerifyCS.VerifyCodeFixAsync( 931await VerifyCS.VerifyCodeFixAsync( 941await VerifyCS.VerifyCodeFixAsync( 982await VerifyCS.VerifyCodeFixAsync( 992await VerifyCS.VerifyCodeFixAsync( 1047await new VerifyCS.Test 1091await new VerifyCS.Test
MakeStructFieldsWritableTests.cs (21)
14using VerifyCS = CSharpCodeFixVerifier<CSharpMakeStructFieldsWritableDiagnosticAnalyzer, CSharpMakeStructFieldsWritableCodeFixProvider>; 21=> VerifyCS.VerifyStandardProperty(property); 26await VerifyCS.VerifyCodeFixAsync( 64await VerifyCS.VerifyCodeFixAsync( 129await VerifyCS.VerifyCodeFixAsync(code, code); 135await VerifyCS.VerifyCodeFixAsync( 198await VerifyCS.VerifyCodeFixAsync(code, code); 216await VerifyCS.VerifyCodeFixAsync(code, code); 222await VerifyCS.VerifyCodeFixAsync( 278await VerifyCS.VerifyCodeFixAsync(code, code); 294await VerifyCS.VerifyCodeFixAsync(code, code); 317await VerifyCS.VerifyCodeFixAsync(code, code); 340await VerifyCS.VerifyCodeFixAsync(code, code); 346await VerifyCS.VerifyCodeFixAsync( 414await VerifyCS.VerifyCodeFixAsync( 482await VerifyCS.VerifyCodeFixAsync( 550await VerifyCS.VerifyCodeFixAsync( 618await VerifyCS.VerifyCodeFixAsync( 670await VerifyCS.VerifyCodeFixAsync( 718await VerifyCS.VerifyCodeFixAsync(test, test); 734await VerifyCS.VerifyCodeFixAsync(test, test);
MakeStructMemberReadOnlyTests.cs (59)
16using VerifyCS = CSharpCodeFixVerifier< 26await new VerifyCS.Test 52await new VerifyCS.Test 68await new VerifyCS.Test 84await new VerifyCS.Test 103await new VerifyCS.Test 124await new VerifyCS.Test 148await new VerifyCS.Test 158await new VerifyCS.Test 188await new VerifyCS.Test 218await new VerifyCS.Test 254await new VerifyCS.Test 294await new VerifyCS.Test 314await new VerifyCS.Test 336await new VerifyCS.Test 358await new VerifyCS.Test 378await new VerifyCS.Test 402await new VerifyCS.Test 427await new VerifyCS.Test 452await new VerifyCS.Test 468await new VerifyCS.Test 479await new VerifyCS.Test 506await new VerifyCS.Test 516await new VerifyCS.Test 536await new VerifyCS.Test 556await new VerifyCS.Test 576await new VerifyCS.Test 596await new VerifyCS.Test 628await new VerifyCS.Test 662await new VerifyCS.Test 692await new VerifyCS.Test 716await new VerifyCS.Test 740await new VerifyCS.Test 766VerifyCS.Diagnostic("IDE0251").WithSeverity(DiagnosticSeverity.Info).WithSpan(5, 32, 5, 35).WithOptions(DiagnosticOptions.IgnoreAdditionalLocations), 784await new VerifyCS.Test 810VerifyCS.Diagnostic("IDE0251").WithSeverity(DiagnosticSeverity.Info).WithSpan(5, 42, 5, 45).WithOptions(DiagnosticOptions.IgnoreAdditionalLocations), 828await new VerifyCS.Test 852await new VerifyCS.Test 876await new VerifyCS.Test 918await new VerifyCS.Test 943await new VerifyCS.Test 965await new VerifyCS.Test 990await new VerifyCS.Test 1015await new VerifyCS.Test 1026await new VerifyCS.Test 1046await new VerifyCS.Test 1068await new VerifyCS.Test 1100await new VerifyCS.Test 1132await new VerifyCS.Test 1166await new VerifyCS.Test 1193await new VerifyCS.Test 1203await new VerifyCS.Test 1251await new VerifyCS.Test 1269await new VerifyCS.Test 1279await new VerifyCS.Test 1309await new VerifyCS.Test 1328await new VerifyCS.Test 1347await new VerifyCS.Test 1357await new VerifyCS.Test
MakeStructReadOnlyTests.cs (2)
15using VerifyCS = CSharpCodeFixVerifier< 27await new VerifyCS.Test
MakeTypePartialTests.cs (12)
15using VerifyCS = CSharpCodeFixVerifier< 36await new VerifyCS.Test 64await new VerifyCS.Test 96await new VerifyCS.Test 130await new VerifyCS.Test 188await new VerifyCS.Test 206await new VerifyCS.Test 234await new VerifyCS.Test 268await new VerifyCS.Test 337await new VerifyCS.Test 346await new VerifyCS.Test 376await new VerifyCS.Test
MultipleBlankLinesTests.cs (41)
14using Verify = CSharpCodeFixVerifier< 27await new Verify.Test 46await new Verify.Test 62await new Verify.Test 82await new Verify.Test 103await new Verify.Test 118await new Verify.Test 137await new Verify.Test 157await new Verify.Test 178await new Verify.Test 194await new Verify.Test 211await new Verify.Test 229await new Verify.Test 254await new Verify.Test 280await new Verify.Test 307await new Verify.Test 323await new Verify.Test 340await new Verify.Test 363await new Verify.Test 387await new Verify.Test 412await new Verify.Test 429await new Verify.Test 447await new Verify.Test 472await new Verify.Test 498await new Verify.Test 524await new Verify.Test 541await new Verify.Test 560await new Verify.Test 586await new Verify.Test 613await new Verify.Test 640await new Verify.Test 659await new Verify.Test 678await new Verify.Test 705await new Verify.Test 733await new Verify.Test 762await new Verify.Test 781await new Verify.Test 805await new Verify.Test 844await new Verify.Test 887await new Verify.Test 934await new Verify.Test
RemoveAsyncModifierTests.cs (35)
15using VerifyCS = CSharpCodeFixVerifier< 25await VerifyCS.VerifyCodeFixAsync( 143await VerifyCS.VerifyCodeFixAsync( 168await VerifyCS.VerifyCodeFixAsync( 236await new VerifyCS.Test 280await new VerifyCS.Test 313await new VerifyCS.Test 342await new VerifyCS.Test 353await VerifyCS.VerifyCodeFixAsync( 391await VerifyCS.VerifyCodeFixAsync( 437await VerifyCS.VerifyCodeFixAsync( 482await VerifyCS.VerifyCodeFixAsync( 520await VerifyCS.VerifyCodeFixAsync( 542await VerifyCS.VerifyCodeFixAsync( 570await VerifyCS.VerifyCodeFixAsync( 612await VerifyCS.VerifyCodeFixAsync( 642await VerifyCS.VerifyCodeFixAsync( 676await VerifyCS.VerifyCodeFixAsync( 704await VerifyCS.VerifyCodeFixAsync( 747await VerifyCS.VerifyCodeFixAsync( 783await VerifyCS.VerifyCodeFixAsync( 813await VerifyCS.VerifyCodeFixAsync( 848await VerifyCS.VerifyCodeFixAsync( 878await VerifyCS.VerifyCodeFixAsync( 921await VerifyCS.VerifyCodeFixAsync( 951await VerifyCS.VerifyCodeFixAsync( 986await VerifyCS.VerifyCodeFixAsync( 1016await VerifyCS.VerifyCodeFixAsync( 1059await VerifyCS.VerifyCodeFixAsync( 1091await VerifyCS.VerifyCodeFixAsync( 1125await VerifyCS.VerifyCodeFixAsync(""" 1166await new VerifyCS.Test 1194await new VerifyCS.Test 1223await new VerifyCS.Test 1252await new VerifyCS.Test
RemoveConfusingSuppressionTests.cs (11)
14using VerifyCS = CSharpCodeFixVerifier<CSharpRemoveConfusingSuppressionDiagnosticAnalyzer, CSharpRemoveConfusingSuppressionCodeFixProvider>; 21await VerifyCS.VerifyCodeFixAsync( 49await VerifyCS.VerifyCodeFixAsync( 77await new VerifyCS.Test 111await new VerifyCS.Test 145await new VerifyCS.Test 179await new VerifyCS.Test 218await new VerifyCS.Test 258await new VerifyCS.Test 299await new VerifyCS.Test 339await new VerifyCS.Test
RemoveRedundantEqualityTests.cs (12)
14using VerifyCS = CSharpCodeFixVerifier< 41await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 56await VerifyCS.VerifyAnalyzerAsync(code); 80await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 95await VerifyCS.VerifyAnalyzerAsync(code); 110await VerifyCS.VerifyAnalyzerAsync(code); 127await VerifyCS.VerifyAnalyzerAsync(code); 145await VerifyCS.VerifyAnalyzerAsync(code); 169await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 193await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 237await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 252await VerifyCS.VerifyAnalyzerAsync(code);
RemoveUnnecessaryAttributeSuppressionsTests.cs (8)
11using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.CSharpCodeFixVerifier< 23=> VerifyCS.VerifyStandardProperty(property); 71await VerifyCS.VerifyCodeFixAsync(input, input); 137await VerifyCS.VerifyCodeFixAsync(input, fixedCode); 168await VerifyCS.VerifyCodeFixAsync(input, fixedCode); 183await VerifyCS.VerifyCodeFixAsync(input, input); 197var expectedDiagnostic = VerifyCS.Diagnostic(AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.LegacyFormatTargetDescriptor) 201await VerifyCS.VerifyCodeFixAsync(input, expectedDiagnostic, input);
RemoveUnnecessaryCastTests.cs (477)
17using VerifyCS = CSharpCodeFixVerifier< 26=> VerifyCS.VerifyStandardProperty(property); 45await VerifyCS.VerifyCodeFixAsync( 60await VerifyCS.VerifyCodeFixAsync( 93await VerifyCS.VerifyCodeFixAsync( 124await VerifyCS.VerifyCodeFixAsync( 164await VerifyCS.VerifyCodeFixAsync(source, source); 184await VerifyCS.VerifyCodeFixAsync(source, source); 209await VerifyCS.VerifyCodeFixAsync(source, source); 215await VerifyCS.VerifyCodeFixAsync( 265await VerifyCS.VerifyCodeFixAsync(source, source); 289await VerifyCS.VerifyCodeFixAsync(source, source); 295await VerifyCS.VerifyCodeFixAsync( 339await VerifyCS.VerifyCodeFixAsync(source, source); 366await VerifyCS.VerifyCodeFixAsync(source, source); 394await VerifyCS.VerifyCodeFixAsync(source, source); 423await VerifyCS.VerifyCodeFixAsync(source, source); 441await VerifyCS.VerifyCodeFixAsync(source, source); 469await VerifyCS.VerifyCodeFixAsync(source, source); 475await VerifyCS.VerifyCodeFixAsync( 498await VerifyCS.VerifyCodeFixAsync( 523await VerifyCS.VerifyCodeFixAsync( 550await VerifyCS.VerifyCodeFixAsync( 600await new VerifyCS.Test 639await new VerifyCS.Test 680await new VerifyCS.Test 696await VerifyCS.VerifyCodeFixAsync( 736await VerifyCS.VerifyCodeFixAsync(source, source); 779await new VerifyCS.Test 793await VerifyCS.VerifyCodeFixAsync( 828await VerifyCS.VerifyCodeFixAsync( 861await VerifyCS.VerifyCodeFixAsync( 895await VerifyCS.VerifyCodeFixAsync( 931await VerifyCS.VerifyCodeFixAsync( 985await VerifyCS.VerifyCodeFixAsync(source, source); 1016await VerifyCS.VerifyCodeFixAsync(source, source); 1022await VerifyCS.VerifyCodeFixAsync( 1048await VerifyCS.VerifyCodeFixAsync( 1098await VerifyCS.VerifyCodeFixAsync(source, source); 1104await VerifyCS.VerifyCodeFixAsync( 1130await VerifyCS.VerifyCodeFixAsync( 1188await VerifyCS.VerifyCodeFixAsync(source, source); 1211await VerifyCS.VerifyCodeFixAsync( 1248await VerifyCS.VerifyCodeFixAsync(source, source); 1272await VerifyCS.VerifyCodeFixAsync(source, source); 1278await VerifyCS.VerifyCodeFixAsync( 1318await VerifyCS.VerifyCodeFixAsync(source, source); 1359await VerifyCS.VerifyCodeFixAsync(source, source); 1376await VerifyCS.VerifyCodeFixAsync(source, source); 1395await VerifyCS.VerifyCodeFixAsync( 1410await VerifyCS.VerifyCodeFixAsync( 1444await VerifyCS.VerifyCodeFixAsync( 1499await VerifyCS.VerifyCodeFixAsync( 1556await VerifyCS.VerifyCodeFixAsync(source, source); 1597await VerifyCS.VerifyCodeFixAsync(source, source); 1603await VerifyCS.VerifyCodeFixAsync( 1707await VerifyCS.VerifyCodeFixAsync( 1812await VerifyCS.VerifyCodeFixAsync(source, source); 1818await VerifyCS.VerifyCodeFixAsync(""" 1866await VerifyCS.VerifyCodeFixAsync( 1899await VerifyCS.VerifyCodeFixAsync( 1926await VerifyCS.VerifyCodeFixAsync( 1955await VerifyCS.VerifyCodeFixAsync( 1995await VerifyCS.VerifyCodeFixAsync(source, source); 2016await VerifyCS.VerifyCodeFixAsync(source, source); 2048await VerifyCS.VerifyCodeFixAsync(source, source); 2067await VerifyCS.VerifyCodeFixAsync(source, source); 2093await VerifyCS.VerifyCodeFixAsync(source, source); 2099await VerifyCS.VerifyCodeFixAsync( 2120await VerifyCS.VerifyCodeFixAsync( 2161await VerifyCS.VerifyCodeFixAsync( 2171await VerifyCS.VerifyCodeFixAsync( 2217await VerifyCS.VerifyCodeFixAsync(source, source); 2238await VerifyCS.VerifyCodeFixAsync(source, source); 2255await VerifyCS.VerifyCodeFixAsync(source, source); 2276await VerifyCS.VerifyCodeFixAsync(source, source); 2297await VerifyCS.VerifyCodeFixAsync(source, source); 2323await VerifyCS.VerifyCodeFixAsync(source, source); 2352await VerifyCS.VerifyCodeFixAsync(source, source); 2378await VerifyCS.VerifyCodeFixAsync(source, source); 2407await VerifyCS.VerifyCodeFixAsync(source, source); 2422await VerifyCS.VerifyCodeFixAsync(source, source); 2428await VerifyCS.VerifyCodeFixAsync( 2463await VerifyCS.VerifyCodeFixAsync(source, source); 2480await VerifyCS.VerifyCodeFixAsync(source, source); 2486await VerifyCS.VerifyCodeFixAsync( 2523await VerifyCS.VerifyCodeFixAsync(source, source); 2529await VerifyCS.VerifyCodeFixAsync( 2570await VerifyCS.VerifyCodeFixAsync(source, source); 2576await VerifyCS.VerifyCodeFixAsync( 2617await VerifyCS.VerifyCodeFixAsync(source, source); 2623await VerifyCS.VerifyCodeFixAsync( 2651await VerifyCS.VerifyCodeFixAsync( 2692await VerifyCS.VerifyCodeFixAsync(source, source); 2729await VerifyCS.VerifyCodeFixAsync(source, source); 2736await VerifyCS.VerifyCodeFixAsync(""" 2784await VerifyCS.VerifyCodeFixAsync( 2839await VerifyCS.VerifyCodeFixAsync( 2920await VerifyCS.VerifyCodeFixAsync(source, source); 2927await VerifyCS.VerifyCodeFixAsync( 3002await VerifyCS.VerifyCodeFixAsync(source, source); 3008await VerifyCS.VerifyCodeFixAsync( 3056await VerifyCS.VerifyCodeFixAsync( 3126await VerifyCS.VerifyCodeFixAsync(source, source); 3132await VerifyCS.VerifyCodeFixAsync( 3180await VerifyCS.VerifyCodeFixAsync( 3250await VerifyCS.VerifyCodeFixAsync(source, source); 3283await VerifyCS.VerifyCodeFixAsync(source, source); 3319await VerifyCS.VerifyCodeFixAsync( 3380await VerifyCS.VerifyCodeFixAsync(source, source); 3418await VerifyCS.VerifyCodeFixAsync(source, source); 3425await VerifyCS.VerifyCodeFixAsync( 3470await VerifyCS.VerifyCodeFixAsync( 3504await VerifyCS.VerifyCodeFixAsync( 3535await VerifyCS.VerifyCodeFixAsync( 3569await VerifyCS.VerifyCodeFixAsync( 3611await VerifyCS.VerifyCodeFixAsync(source, source); 3617await VerifyCS.VerifyCodeFixAsync( 3657await VerifyCS.VerifyCodeFixAsync(source, source); 3663await VerifyCS.VerifyCodeFixAsync( 3708await VerifyCS.VerifyCodeFixAsync(source, source); 3714await VerifyCS.VerifyCodeFixAsync( 3759await VerifyCS.VerifyCodeFixAsync(source, source); 3765await VerifyCS.VerifyCodeFixAsync( 3819await VerifyCS.VerifyCodeFixAsync(source, source); 3843await VerifyCS.VerifyCodeFixAsync(source, source); 3867await VerifyCS.VerifyCodeFixAsync(source, source); 3873await VerifyCS.VerifyCodeFixAsync( 3902await VerifyCS.VerifyCodeFixAsync( 3931await VerifyCS.VerifyCodeFixAsync( 3960await VerifyCS.VerifyCodeFixAsync( 3989await VerifyCS.VerifyCodeFixAsync( 4018await VerifyCS.VerifyCodeFixAsync( 4069await VerifyCS.VerifyCodeFixAsync( 4103await VerifyCS.VerifyCodeFixAsync( 4151await VerifyCS.VerifyCodeFixAsync( 4205await VerifyCS.VerifyCodeFixAsync( 4243await VerifyCS.VerifyCodeFixAsync(source, source); 4277await VerifyCS.VerifyCodeFixAsync(source, source); 4286await VerifyCS.VerifyCodeFixAsync( 4338await VerifyCS.VerifyCodeFixAsync( 4391await VerifyCS.VerifyCodeFixAsync(source, source); 4435await VerifyCS.VerifyCodeFixAsync(source, source); 4481await VerifyCS.VerifyCodeFixAsync(source, source); 4510await VerifyCS.VerifyCodeFixAsync(source, source); 4546await VerifyCS.VerifyCodeFixAsync(source, source); 4587await VerifyCS.VerifyCodeFixAsync(source, source); 4605await VerifyCS.VerifyCodeFixAsync(source, source); 4623await VerifyCS.VerifyCodeFixAsync(source, source); 4641await VerifyCS.VerifyCodeFixAsync(source, source); 4659await VerifyCS.VerifyCodeFixAsync(source, source); 4695await VerifyCS.VerifyCodeFixAsync(source, source); 4717await VerifyCS.VerifyCodeFixAsync(source, source); 4742await VerifyCS.VerifyCodeFixAsync(source, source); 4761await VerifyCS.VerifyCodeFixAsync(source, source); 4794await new VerifyCS.Test 4840await VerifyCS.VerifyCodeFixAsync(source, source); 4858await VerifyCS.VerifyCodeFixAsync(source, source); 4891await VerifyCS.VerifyCodeFixAsync(source, source); 4919await VerifyCS.VerifyCodeFixAsync(source, source); 4941await VerifyCS.VerifyCodeFixAsync(source, source); 4963await VerifyCS.VerifyCodeFixAsync(source, source); 4988await VerifyCS.VerifyCodeFixAsync(source, source); 4994await VerifyCS.VerifyCodeFixAsync( 5035await VerifyCS.VerifyCodeFixAsync( 5059await VerifyCS.VerifyCodeFixAsync( 5083await VerifyCS.VerifyCodeFixAsync( 5135await VerifyCS.VerifyCodeFixAsync(source, source); 5159await VerifyCS.VerifyCodeFixAsync( 5187await VerifyCS.VerifyCodeFixAsync( 5214await VerifyCS.VerifyCodeFixAsync( 5224await VerifyCS.VerifyCodeFixAsync( 5256await VerifyCS.VerifyCodeFixAsync( 5315await VerifyCS.VerifyCodeFixAsync(source, source); 5344await VerifyCS.VerifyCodeFixAsync(source, source); 5350await VerifyCS.VerifyCodeFixAsync( 5415await VerifyCS.VerifyCodeFixAsync(source, source); 5438await VerifyCS.VerifyCodeFixAsync(source, source); 5461await VerifyCS.VerifyCodeFixAsync(source, source); 5467await VerifyCS.VerifyCodeFixAsync( 5536await new VerifyCS.Test 5562await VerifyCS.VerifyCodeFixAsync( 5617await VerifyCS.VerifyCodeFixAsync(source, source); 5642await VerifyCS.VerifyCodeFixAsync(source, source); 5683await new VerifyCS.Test 5733await new VerifyCS.Test 5761await new VerifyCS.Test 5786await new VerifyCS.Test 5812await new VerifyCS.Test 5838await new VerifyCS.Test 5878await new VerifyCS.Test 5889await VerifyCS.VerifyCodeFixAsync( 5930await new VerifyCS.Test 5956await new VerifyCS.Test 5982await new VerifyCS.Test 6022await new VerifyCS.Test 6062await new VerifyCS.Test 6084await new VerifyCS.Test 6106await new VerifyCS.Test 6128await new VerifyCS.Test 6160await new VerifyCS.Test 6184await new VerifyCS.Test 6208await new VerifyCS.Test 6233await VerifyCS.VerifyCodeFixAsync(source, source); 6259await VerifyCS.VerifyCodeFixAsync(source, source); 6286await VerifyCS.VerifyCodeFixAsync(source, source); 6308await VerifyCS.VerifyCodeFixAsync( 6332await VerifyCS.VerifyCodeFixAsync(source, source); 6358await VerifyCS.VerifyCodeFixAsync(source, source); 6379await VerifyCS.VerifyCodeFixAsync(source, source); 6398await VerifyCS.VerifyCodeFixAsync(source, source); 6417await VerifyCS.VerifyCodeFixAsync(source, source); 6438await VerifyCS.VerifyCodeFixAsync(source, source); 6458await VerifyCS.VerifyCodeFixAsync(source, source); 6464await VerifyCS.VerifyCodeFixAsync( 6554await new VerifyCS.Test 6580await VerifyCS.VerifyCodeFixAsync(source, source); 6586await VerifyCS.VerifyCodeFixAsync( 6627await VerifyCS.VerifyCodeFixAsync(source, source); 6633await VerifyCS.VerifyCodeFixAsync( 6677await VerifyCS.VerifyCodeFixAsync(source, source); 6683await VerifyCS.VerifyCodeFixAsync( 6715await VerifyCS.VerifyCodeFixAsync( 6743await VerifyCS.VerifyCodeFixAsync( 6788await VerifyCS.VerifyCodeFixAsync(source, source); 6825await VerifyCS.VerifyCodeFixAsync( 6857await VerifyCS.VerifyCodeFixAsync( 6892await VerifyCS.VerifyCodeFixAsync( 6900await VerifyCS.VerifyCodeFixAsync( 6961await VerifyCS.VerifyCodeFixAsync(source, source); 6977await VerifyCS.VerifyCodeFixAsync(source, source); 6998await VerifyCS.VerifyCodeFixAsync(source, source); 7019await VerifyCS.VerifyCodeFixAsync(source, source); 7025await VerifyCS.VerifyCodeFixAsync( 7057await VerifyCS.VerifyCodeFixAsync( 7089await VerifyCS.VerifyCodeFixAsync( 7113await VerifyCS.VerifyCodeFixAsync( 7145await VerifyCS.VerifyCodeFixAsync( 7177await VerifyCS.VerifyCodeFixAsync( 7205await VerifyCS.VerifyCodeFixAsync( 7233await VerifyCS.VerifyCodeFixAsync( 7261await VerifyCS.VerifyCodeFixAsync( 7291await VerifyCS.VerifyCodeFixAsync( 7321await VerifyCS.VerifyCodeFixAsync( 7374await VerifyCS.VerifyCodeFixAsync(source, source); 7397await VerifyCS.VerifyCodeFixAsync(source, source); 7420await VerifyCS.VerifyCodeFixAsync(source, source); 7443await VerifyCS.VerifyCodeFixAsync(source, source); 7450await VerifyCS.VerifyCodeFixAsync(""" 7486await VerifyCS.VerifyCodeFixAsync(""" 7522await VerifyCS.VerifyCodeFixAsync(""" 7574await VerifyCS.VerifyCodeFixAsync(source, source); 7581await VerifyCS.VerifyCodeFixAsync( 7634await VerifyCS.VerifyCodeFixAsync(source, source); 7641await VerifyCS.VerifyCodeFixAsync( 7678await VerifyCS.VerifyCodeFixAsync(""" 7730await VerifyCS.VerifyCodeFixAsync(source, source); 7753await VerifyCS.VerifyCodeFixAsync(source, source); 7776await VerifyCS.VerifyCodeFixAsync(source, source); 7799await VerifyCS.VerifyCodeFixAsync(source, source); 7822await VerifyCS.VerifyCodeFixAsync(source, source); 7829await VerifyCS.VerifyCodeFixAsync(""" 7880await VerifyCS.VerifyCodeFixAsync(source, source); 7887await VerifyCS.VerifyCodeFixAsync(""" 7922await VerifyCS.VerifyCodeFixAsync(""" 7974await VerifyCS.VerifyCodeFixAsync(source, source); 7997await VerifyCS.VerifyCodeFixAsync(source, source); 8020await VerifyCS.VerifyCodeFixAsync(source, source); 8043await VerifyCS.VerifyCodeFixAsync(source, source); 8064await VerifyCS.VerifyCodeFixAsync(source, source); 8085await VerifyCS.VerifyCodeFixAsync(source, source); 8106await VerifyCS.VerifyCodeFixAsync(source, source); 8127await VerifyCS.VerifyCodeFixAsync(source, source); 8148await VerifyCS.VerifyCodeFixAsync(source, source); 8169await VerifyCS.VerifyCodeFixAsync(source, source); 8190await VerifyCS.VerifyCodeFixAsync(source, source); 8211await VerifyCS.VerifyCodeFixAsync(source, source); 8232await VerifyCS.VerifyCodeFixAsync(source, source); 8258await new VerifyCS.Test 8280await VerifyCS.VerifyCodeFixAsync(source, source); 8297await VerifyCS.VerifyCodeFixAsync(source, source); 8314await VerifyCS.VerifyCodeFixAsync(source, source); 8331await new VerifyCS.Test 8342await new VerifyCS.Test 8380await new VerifyCS.Test 8391await new VerifyCS.Test 8429await new VerifyCS.Test 8440await new VerifyCS.Test 8478await VerifyCS.VerifyCodeFixAsync(source, source); 8495await VerifyCS.VerifyCodeFixAsync(source, source); 8512await VerifyCS.VerifyCodeFixAsync(source, source); 8529await new VerifyCS.Test 8540await new VerifyCS.Test 8578await new VerifyCS.Test 8589await new VerifyCS.Test 8627await new VerifyCS.Test 8638await new VerifyCS.Test 8676await VerifyCS.VerifyCodeFixAsync(source, source); 8693await VerifyCS.VerifyCodeFixAsync(source, source); 8721await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 8749await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 8777await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 8805await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 8832await new VerifyCS.Test 8864await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 8891await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 8913await VerifyCS.VerifyCodeFixAsync(source, source); 8950await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 8987await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 9014await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 9041await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 9068await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 9098await VerifyCS.VerifyCodeFixAsync(source, source); 9128await VerifyCS.VerifyCodeFixAsync(source, source); 9158await VerifyCS.VerifyCodeFixAsync(source, source); 9189await VerifyCS.VerifyCodeFixAsync(source, source); 9220await VerifyCS.VerifyCodeFixAsync(source, source); 9250await VerifyCS.VerifyCodeFixAsync(source, source); 9280await VerifyCS.VerifyCodeFixAsync(source, source); 9310await VerifyCS.VerifyCodeFixAsync(source, source); 9342await VerifyCS.VerifyCodeFixAsync(source, source); 9374await VerifyCS.VerifyCodeFixAsync(source, source); 9406await VerifyCS.VerifyCodeFixAsync(source, source); 9438await VerifyCS.VerifyCodeFixAsync(source, source); 9470await VerifyCS.VerifyCodeFixAsync(source, source); 9502await VerifyCS.VerifyCodeFixAsync(source, source); 9534await VerifyCS.VerifyCodeFixAsync(source, source); 9566await VerifyCS.VerifyCodeFixAsync(source, source); 9578await VerifyCS.VerifyCodeFixAsync(source, source); 9590await VerifyCS.VerifyCodeFixAsync(source, source); 9608await VerifyCS.VerifyCodeFixAsync(source, source); 9614await VerifyCS.VerifyCodeFixAsync( 9657var test = new VerifyCS.Test() 9679var test = new VerifyCS.Test() 9709var test = new VerifyCS.Test() 9731var test = new VerifyCS.Test() 9753var test = new VerifyCS.Test() 9791await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 9822await VerifyCS.VerifyCodeFixAsync(source, fixedCode); 9839var test = new VerifyCS.Test() 9863var test = new VerifyCS.Test() 9887var test = new VerifyCS.Test() 9900var test = new VerifyCS.Test() 9930var test = new VerifyCS.Test() 9959await new VerifyCS.Test 9975await new VerifyCS.Test 10024await new VerifyCS.Test 10053await new VerifyCS.Test 10077await new VerifyCS.Test 10100await new VerifyCS.Test 10111await VerifyCS.VerifyCodeFixAsync( 10136await VerifyCS.VerifyCodeFixAsync( 10172await VerifyCS.VerifyCodeFixAsync(source, source); 10178await VerifyCS.VerifyCodeFixAsync(""" 10233await VerifyCS.VerifyCodeFixAsync(source, source); 10262await VerifyCS.VerifyCodeFixAsync(source, source); 10284await VerifyCS.VerifyCodeFixAsync(source, source); 10303await VerifyCS.VerifyCodeFixAsync(source, source); 10328await VerifyCS.VerifyCodeFixAsync(source, source); 10334await VerifyCS.VerifyCodeFixAsync( 10366await VerifyCS.VerifyCodeFixAsync( 10412await VerifyCS.VerifyCodeFixAsync(source, source); 10431await VerifyCS.VerifyCodeFixAsync(source, source); 10437await VerifyCS.VerifyCodeFixAsync( 10467await VerifyCS.VerifyCodeFixAsync( 10510await VerifyCS.VerifyCodeFixAsync(source, source); 10516await VerifyCS.VerifyCodeFixAsync( 10566await VerifyCS.VerifyCodeFixAsync(source, source); 10572await VerifyCS.VerifyCodeFixAsync( 10633await VerifyCS.VerifyCodeFixAsync(source, source); 10657await VerifyCS.VerifyCodeFixAsync(source, source); 10663await VerifyCS.VerifyCodeFixAsync( 10709await VerifyCS.VerifyCodeFixAsync( 10767await VerifyCS.VerifyCodeFixAsync(source, source); 10773await VerifyCS.VerifyCodeFixAsync( 10832await VerifyCS.VerifyCodeFixAsync(source, source); 10838await VerifyCS.VerifyCodeFixAsync( 10870await VerifyCS.VerifyCodeFixAsync( 10917await VerifyCS.VerifyCodeFixAsync(source, source); 10938await new VerifyCS.Test 10949await new VerifyCS.Test 11003await VerifyCS.VerifyCodeFixAsync(source, source); 11031await VerifyCS.VerifyCodeFixAsync(source, source); 11059await VerifyCS.VerifyCodeFixAsync(source, source); 11087await VerifyCS.VerifyCodeFixAsync(source, source); 11115await VerifyCS.VerifyCodeFixAsync(source, source); 11121await VerifyCS.VerifyCodeFixAsync( 11188await VerifyCS.VerifyCodeFixAsync(source, source); 11216await VerifyCS.VerifyCodeFixAsync(source, source); 11244await VerifyCS.VerifyCodeFixAsync(source, source); 11272await VerifyCS.VerifyCodeFixAsync(source, source); 11278await VerifyCS.VerifyCodeFixAsync( 11345await VerifyCS.VerifyCodeFixAsync(source, source); 11373await VerifyCS.VerifyCodeFixAsync(source, source); 11401await VerifyCS.VerifyCodeFixAsync(source, source); 11429await VerifyCS.VerifyCodeFixAsync(source, source); 11435await VerifyCS.VerifyCodeFixAsync( 11463await VerifyCS.VerifyCodeFixAsync( 11491await VerifyCS.VerifyCodeFixAsync( 11519await VerifyCS.VerifyCodeFixAsync( 11547await VerifyCS.VerifyCodeFixAsync( 11575await VerifyCS.VerifyCodeFixAsync( 11616await VerifyCS.VerifyCodeFixAsync(source, source); 11643await VerifyCS.VerifyCodeFixAsync(source, source); 11650await new VerifyCS.Test 11688await VerifyCS.VerifyCodeFixAsync( 11722await VerifyCS.VerifyCodeFixAsync( 11756await VerifyCS.VerifyCodeFixAsync(source, source); 11762await VerifyCS.VerifyCodeFixAsync( 11795await VerifyCS.VerifyCodeFixAsync(source, source); 11801await VerifyCS.VerifyCodeFixAsync( 11835await VerifyCS.VerifyCodeFixAsync(source, source); 11841await VerifyCS.VerifyCodeFixAsync( 11875await VerifyCS.VerifyCodeFixAsync(source, source); 11881await VerifyCS.VerifyCodeFixAsync( 11914await VerifyCS.VerifyCodeFixAsync(source, source); 11920await VerifyCS.VerifyCodeFixAsync( 11953await VerifyCS.VerifyCodeFixAsync(source, source); 11968await VerifyCS.VerifyCodeFixAsync(source, source); 11983await VerifyCS.VerifyCodeFixAsync(source, source); 11989await VerifyCS.VerifyCodeFixAsync( 12017await VerifyCS.VerifyCodeFixAsync( 12064await VerifyCS.VerifyCodeFixAsync(source, source); 12089await VerifyCS.VerifyCodeFixAsync(source, source); 12114await VerifyCS.VerifyCodeFixAsync(source, source); 12142await new VerifyCS.Test 12173await new VerifyCS.Test 12193await new VerifyCS.Test 12211await new VerifyCS.Test 12236await new VerifyCS.Test 12259await new VerifyCS.Test 12281await new VerifyCS.Test 12303await new VerifyCS.Test 12327await new VerifyCS.Test 12350await new VerifyCS.Test 12367await new VerifyCS.Test 12390await new VerifyCS.Test 12415await new VerifyCS.Test 12435await new VerifyCS.Test 12455await new VerifyCS.Test 12480await new VerifyCS.Test 12504await new VerifyCS.Test 12536await new VerifyCS.Test 12587await new VerifyCS.Test 12629await new VerifyCS.Test 12657await new VerifyCS.Test 12705await new VerifyCS.Test 12747await new VerifyCS.Test 12771await new VerifyCS.Test 12782await new VerifyCS.Test 12813await new VerifyCS.Test 12844await new VerifyCS.Test 12875await new VerifyCS.Test 12906await new VerifyCS.Test 12937await new VerifyCS.Test 12977await new VerifyCS.Test 13004await new VerifyCS.Test 13040await new VerifyCS.Test 13075await new VerifyCS.Test 13088var test = new VerifyCS.Test() 13150await new VerifyCS.Test 13183await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 13211await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 13239await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 13255await VerifyCS.VerifyCodeFixAsync(code, code); 13277await VerifyCS.VerifyCodeFixAsync(code, code); 13299await VerifyCS.VerifyCodeFixAsync(code, code); 13321await VerifyCS.VerifyCodeFixAsync(code, code); 13343await VerifyCS.VerifyCodeFixAsync(code, code); 13349await VerifyCS.VerifyCodeFixAsync( 13379await VerifyCS.VerifyCodeFixAsync(""" 13415await VerifyCS.VerifyCodeFixAsync(""" 13453await VerifyCS.VerifyCodeFixAsync(""" 13495await VerifyCS.VerifyCodeFixAsync(""" 13533await VerifyCS.VerifyCodeFixAsync(""" 13571await VerifyCS.VerifyCodeFixAsync(""" 13609await VerifyCS.VerifyCodeFixAsync("""
RemoveUnnecessaryDiscardDesignationTests.cs (19)
16using VerifyCS = CSharpCodeFixVerifier< 26await new VerifyCS.Test 61await new VerifyCS.Test 83await new VerifyCS.Test 116await new VerifyCS.Test 143await new VerifyCS.Test 176await new VerifyCS.Test 209await new VerifyCS.Test 242await new VerifyCS.Test 263await new VerifyCS.Test 296await new VerifyCS.Test 335await new VerifyCS.Test 359await new VerifyCS.Test 384await new VerifyCS.Test 437await new VerifyCS.Test 468await new VerifyCS.Test 500await new VerifyCS.Test 535await new VerifyCS.Test 571await new VerifyCS.Test
RemoveUnnecessaryImportsTests.cs (61)
17using VerifyCS = CSharpCodeFixVerifier< 27await VerifyCS.VerifyCodeFixAsync( 53await VerifyCS.VerifyCodeFixAsync( 83await VerifyCS.VerifyCodeFixAsync( 120await VerifyCS.VerifyCodeFixAsync( 156await VerifyCS.VerifyCodeFixAsync( 218await new VerifyCS.Test 233await VerifyCS.VerifyCodeFixAsync( 263await VerifyCS.VerifyCodeFixAsync( 296await VerifyCS.VerifyCodeFixAsync( 363await VerifyCS.VerifyCodeFixAsync(code, code); 369await VerifyCS.VerifyCodeFixAsync( 399await VerifyCS.VerifyCodeFixAsync( 428await VerifyCS.VerifyCodeFixAsync( 466await new VerifyCS.Test 507await VerifyCS.VerifyCodeFixAsync( 557await VerifyCS.VerifyCodeFixAsync( 608await new VerifyCS.Test 676await VerifyCS.VerifyCodeFixAsync(code, code); 708await VerifyCS.VerifyCodeFixAsync(code, code); 714await VerifyCS.VerifyCodeFixAsync( 748await VerifyCS.VerifyCodeFixAsync( 785await VerifyCS.VerifyCodeFixAsync( 825await VerifyCS.VerifyCodeFixAsync( 868await VerifyCS.VerifyCodeFixAsync( 927await VerifyCS.VerifyCodeFixAsync( 952await VerifyCS.VerifyCodeFixAsync( 976await VerifyCS.VerifyCodeFixAsync( 1048await new VerifyCS.Test 1079await VerifyCS.VerifyCodeFixAsync(code, code); 1129await new VerifyCS.Test 1163await VerifyCS.VerifyCodeFixAsync(code, code); 1170await VerifyCS.VerifyCodeFixAsync( 1208await VerifyCS.VerifyCodeFixAsync( 1246await VerifyCS.VerifyCodeFixAsync( 1270await VerifyCS.VerifyCodeFixAsync( 1307await VerifyCS.VerifyCodeFixAsync(code, code); 1313await VerifyCS.VerifyCodeFixAsync( 1331await VerifyCS.VerifyCodeFixAsync( 1359await VerifyCS.VerifyCodeFixAsync( 1416await VerifyCS.VerifyCodeFixAsync(code, code); 1436await new VerifyCS.Test 1464await VerifyCS.VerifyCodeFixAsync(code, code); 1482await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 1534await VerifyCS.VerifyCodeFixAsync(code, code); 1588await VerifyCS.VerifyCodeFixAsync(code, code); 1636await VerifyCS.VerifyCodeFixAsync(code, code); 1691await VerifyCS.VerifyCodeFixAsync(code, code); 1713await VerifyCS.VerifyCodeFixAsync(code, code); 1737await new VerifyCS.Test 1955await new VerifyCS.Test 1965await new VerifyCS.Test 1975await new VerifyCS.Test 1988await VerifyCS.VerifyCodeFixAsync( 2018await VerifyCS.VerifyCodeFixAsync( 2074await new VerifyCS.Test 2096await new VerifyCS.Test 2134await new VerifyCS.Test 2168await new VerifyCS.Test 2203await new VerifyCS.Test 2242await new VerifyCS.Test
RemoveUnnecessaryLambdaExpressionTests.cs (3)
17using VerifyCS = CSharpCodeFixVerifier< 26await new VerifyCS.Test 108await new VerifyCS.Test
RemoveUnreachableCodeTests.cs (33)
15using VerifyCS = CSharpCodeFixVerifier<CSharpRemoveUnreachableCodeDiagnosticAnalyzer, CSharpRemoveUnreachableCodeCodeFixProvider>; 23await VerifyCS.VerifyCodeFixAsync( 48await VerifyCS.VerifyCodeFixAsync( 77await VerifyCS.VerifyCodeFixAsync( 104await VerifyCS.VerifyCodeFixAsync( 130await VerifyCS.VerifyCodeFixAsync( 156await VerifyCS.VerifyCodeFixAsync( 187await VerifyCS.VerifyCodeFixAsync( 220await VerifyCS.VerifyCodeFixAsync( 257await VerifyCS.VerifyCodeFixAsync( 295await VerifyCS.VerifyCodeFixAsync( 325await VerifyCS.VerifyCodeFixAsync( 394await VerifyCS.VerifyCodeFixAsync(code, fixedCode); 400await VerifyCS.VerifyCodeFixAsync( 436await VerifyCS.VerifyCodeFixAsync( 468await VerifyCS.VerifyCodeFixAsync( 504await VerifyCS.VerifyCodeFixAsync( 540await VerifyCS.VerifyCodeFixAsync( 584await VerifyCS.VerifyCodeFixAsync( 639await VerifyCS.VerifyCodeFixAsync( 684await VerifyCS.VerifyCodeFixAsync( 715await VerifyCS.VerifyCodeFixAsync( 749await VerifyCS.VerifyCodeFixAsync( 780await VerifyCS.VerifyCodeFixAsync( 809await VerifyCS.VerifyCodeFixAsync( 839await VerifyCS.VerifyCodeFixAsync( 877await VerifyCS.VerifyCodeFixAsync( 911await new VerifyCS.Test 934await new VerifyCS.Test 959await new VerifyCS.Test 990await new VerifyCS.Test 1018await new VerifyCS.Test 1045await new VerifyCS.Test
RemoveUnusedMembersTests.cs (183)
21using VerifyCS = CSharpCodeFixVerifier< 30=> VerifyCS.VerifyStandardProperty(property); 47await VerifyCS.VerifyCodeFixAsync(code, code); 63await VerifyCS.VerifyCodeFixAsync(code, code); 79await VerifyCS.VerifyCodeFixAsync(code, code); 96await VerifyCS.VerifyCodeFixAsync(code, code); 112await VerifyCS.VerifyCodeFixAsync(code, code); 128await VerifyCS.VerifyCodeFixAsync(code, code); 145await VerifyCS.VerifyCodeFixAsync(code, code); 163await VerifyCS.VerifyCodeFixAsync(code, code); 169await VerifyCS.VerifyCodeFixAsync( 186await VerifyCS.VerifyCodeFixAsync( 203await VerifyCS.VerifyCodeFixAsync( 220await VerifyCS.VerifyCodeFixAsync( 245await VerifyCS.VerifyCodeFixAsync(code, code); 251await VerifyCS.VerifyCodeFixAsync( 275await VerifyCS.VerifyCodeFixAsync(code, code); 288await VerifyCS.VerifyCodeFixAsync(code, code); 294await VerifyCS.VerifyCodeFixAsync( 311await VerifyCS.VerifyCodeFixAsync( 328await VerifyCS.VerifyCodeFixAsync( 352await VerifyCS.VerifyCodeFixAsync(code, code); 367await VerifyCS.VerifyCodeFixAsync(code, code); 382await VerifyCS.VerifyCodeFixAsync(code, code); 397await VerifyCS.VerifyCodeFixAsync(code, code); 412await VerifyCS.VerifyCodeFixAsync(code, code); 422await new VerifyCS.Test 442await new VerifyCS.Test 470await new VerifyCS.Test 489await new VerifyCS.Test 512await VerifyCS.VerifyCodeFixAsync( 529await VerifyCS.VerifyCodeFixAsync( 546await VerifyCS.VerifyCodeFixAsync( 564await VerifyCS.VerifyCodeFixAsync( 581await VerifyCS.VerifyCodeFixAsync( 598await VerifyCS.VerifyCodeFixAsync( 615await VerifyCS.VerifyCodeFixAsync( 633await VerifyCS.VerifyCodeFixAsync( 660await VerifyCS.VerifyCodeFixAsync(code, code); 673await VerifyCS.VerifyCodeFixAsync(code, code); 686await VerifyCS.VerifyCodeFixAsync(code, code); 704await VerifyCS.VerifyCodeFixAsync(code, code); 722await VerifyCS.VerifyCodeFixAsync(code, code); 744await VerifyCS.VerifyCodeFixAsync(code, code); 750await VerifyCS.VerifyCodeFixAsync( 775await VerifyCS.VerifyCodeFixAsync(code, code); 781await VerifyCS.VerifyCodeFixAsync( 806await VerifyCS.VerifyCodeFixAsync(code, code); 820await VerifyCS.VerifyCodeFixAsync(code, code); 838await VerifyCS.VerifyCodeFixAsync(code, code); 856await VerifyCS.VerifyCodeFixAsync(code, code); 874await VerifyCS.VerifyCodeFixAsync(code, code); 892await VerifyCS.VerifyCodeFixAsync(code, code); 910await VerifyCS.VerifyCodeFixAsync(code, code); 930await VerifyCS.VerifyCodeFixAsync(code, code); 947await VerifyCS.VerifyCodeFixAsync(code, code); 961await VerifyCS.VerifyCodeFixAsync(code, code); 979await VerifyCS.VerifyCodeFixAsync(code, code); 993await VerifyCS.VerifyCodeFixAsync(code, code); 1009await VerifyCS.VerifyCodeFixAsync(code, code); 1023await VerifyCS.VerifyCodeFixAsync(code, code); 1040await VerifyCS.VerifyCodeFixAsync(code, code); 1054await VerifyCS.VerifyCodeFixAsync(code, code); 1068await VerifyCS.VerifyCodeFixAsync(code, code); 1082await VerifyCS.VerifyCodeFixAsync(code, code); 1096await VerifyCS.VerifyCodeFixAsync(code, code); 1110await VerifyCS.VerifyCodeFixAsync(code, code); 1124await VerifyCS.VerifyCodeFixAsync(code, code); 1138await VerifyCS.VerifyCodeFixAsync(code, code); 1152await VerifyCS.VerifyCodeFixAsync(code, code); 1166await VerifyCS.VerifyCodeFixAsync(code, code); 1182await VerifyCS.VerifyCodeFixAsync(code, code); 1205await VerifyCS.VerifyCodeFixAsync(code, code); 1225await VerifyCS.VerifyCodeFixAsync(code, code); 1239await VerifyCS.VerifyCodeFixAsync(code, code); 1253await VerifyCS.VerifyCodeFixAsync(code, code); 1267await VerifyCS.VerifyCodeFixAsync(code, code); 1281await VerifyCS.VerifyCodeFixAsync(code, code); 1295await VerifyCS.VerifyCodeFixAsync(code, code); 1309await VerifyCS.VerifyCodeFixAsync(code, code); 1323await VerifyCS.VerifyCodeFixAsync(code, code); 1338await VerifyCS.VerifyCodeFixAsync(code, code); 1354await VerifyCS.VerifyCodeFixAsync(code, code); 1370await VerifyCS.VerifyCodeFixAsync(code, code); 1388await VerifyCS.VerifyCodeFixAsync(code, code); 1406await VerifyCS.VerifyCodeFixAsync(code, code); 1423await VerifyCS.VerifyCodeFixAsync(code, code); 1444await new VerifyCS.Test 1450VerifyCS.Diagnostic(descriptor).WithMessage(expectedMessage).WithLocation(0), 1470await VerifyCS.VerifyCodeFixAsync(code, code); 1488await VerifyCS.VerifyCodeFixAsync(code, code); 1502await VerifyCS.VerifyCodeFixAsync(code, code); 1520await VerifyCS.VerifyCodeFixAsync(code, code); 1534await VerifyCS.VerifyCodeFixAsync(code, code); 1552await VerifyCS.VerifyCodeFixAsync(code, code); 1570await VerifyCS.VerifyCodeFixAsync(code, code); 1588await VerifyCS.VerifyCodeFixAsync(code, code); 1606await VerifyCS.VerifyCodeFixAsync(code, code); 1624await VerifyCS.VerifyCodeFixAsync(code, code); 1638await VerifyCS.VerifyCodeFixAsync(code, code); 1652await VerifyCS.VerifyCodeFixAsync(code, code); 1666await VerifyCS.VerifyCodeFixAsync(code, code); 1680await VerifyCS.VerifyCodeFixAsync(code, code); 1694await VerifyCS.VerifyCodeFixAsync(code, code); 1708await VerifyCS.VerifyCodeFixAsync(code, code); 1722await VerifyCS.VerifyAnalyzerAsync(code, new DiagnosticResult( 1740await VerifyCS.VerifyAnalyzerAsync(code, Array.Empty<DiagnosticResult>()); 1754await VerifyCS.VerifyCodeFixAsync(code, code); 1768await VerifyCS.VerifyCodeFixAsync(code, code); 1782await VerifyCS.VerifyAnalyzerAsync(code, new DiagnosticResult( 1800await VerifyCS.VerifyAnalyzerAsync(code, Array.Empty<DiagnosticResult>()); 1814await VerifyCS.VerifyCodeFixAsync(code, code); 1828await VerifyCS.VerifyCodeFixAsync(code, code); 1842await VerifyCS.VerifyCodeFixAsync(code, code); 1856await VerifyCS.VerifyCodeFixAsync(code, code); 1870await VerifyCS.VerifyCodeFixAsync(code, code); 1884await VerifyCS.VerifyCodeFixAsync(code, code); 1898await VerifyCS.VerifyAnalyzerAsync(code, new DiagnosticResult( 1916await VerifyCS.VerifyAnalyzerAsync(code, Array.Empty<DiagnosticResult>()); 1930await VerifyCS.VerifyCodeFixAsync(code, code); 1944await VerifyCS.VerifyCodeFixAsync(code, code); 1958await VerifyCS.VerifyAnalyzerAsync(code, new DiagnosticResult( 1976await VerifyCS.VerifyAnalyzerAsync(code, Array.Empty<DiagnosticResult>()); 1990await VerifyCS.VerifyCodeFixAsync(code, code); 2005await VerifyCS.VerifyCodeFixAsync(code, code); 2020await VerifyCS.VerifyCodeFixAsync(code, code); 2035await VerifyCS.VerifyCodeFixAsync(code, code); 2050await VerifyCS.VerifyCodeFixAsync(code, code); 2065await VerifyCS.VerifyCodeFixAsync(code, code); 2080await VerifyCS.VerifyCodeFixAsync(code, code); 2095await VerifyCS.VerifyCodeFixAsync(code, code); 2110await VerifyCS.VerifyCodeFixAsync(code, code); 2127await VerifyCS.VerifyCodeFixAsync(code, code); 2133await VerifyCS.VerifyCodeFixAsync( 2168await new VerifyCS.Test 2185await VerifyCS.VerifyCodeFixAsync( 2205await VerifyCS.VerifyCodeFixAsync( 2237await VerifyCS.VerifyCodeFixAsync(code, code); 2255await VerifyCS.VerifyCodeFixAsync(code, code); 2261await VerifyCS.VerifyCodeFixAsync( 2296await VerifyCS.VerifyCodeFixAsync(code, code); 2302await VerifyCS.VerifyCodeFixAsync( 2330await VerifyCS.VerifyCodeFixAsync(code, code); 2349await new VerifyCS.Test 2372await new VerifyCS.Test 2390await VerifyCS.VerifyCodeFixAsync(code, code); 2404await VerifyCS.VerifyCodeFixAsync(code, code); 2418await VerifyCS.VerifyCodeFixAsync(code, code); 2436await VerifyCS.VerifyCodeFixAsync(code, code); 2442await VerifyCS.VerifyCodeFixAsync( 2484await VerifyCS.VerifyCodeFixAsync(code, code); 2500await VerifyCS.VerifyCodeFixAsync(code, code); 2515await VerifyCS.VerifyCodeFixAsync(code, code); 2531await VerifyCS.VerifyCodeFixAsync(code, code); 2537await VerifyCS.VerifyCodeFixAsync( 2580await VerifyCS.VerifyCodeFixAsync(code, code); 2597await VerifyCS.VerifyCodeFixAsync(code, code); 2611await VerifyCS.VerifyCodeFixAsync(code, code); 2625await VerifyCS.VerifyCodeFixAsync(code, code); 2639await VerifyCS.VerifyCodeFixAsync(code, code); 2655await VerifyCS.VerifyCodeFixAsync(code, code); 2671await VerifyCS.VerifyCodeFixAsync(code, code); 2687await VerifyCS.VerifyCodeFixAsync(code, code); 2706await VerifyCS.VerifyCodeFixAsync(code, code); 2731await VerifyCS.VerifyCodeFixAsync(code, code); 2758await VerifyCS.VerifyCodeFixAsync(code, code); 2778await VerifyCS.VerifyCodeFixAsync(code, code); 2796await VerifyCS.VerifyCodeFixAsync(code, code); 2814await VerifyCS.VerifyCodeFixAsync(code, code); 2831await VerifyCS.VerifyCodeFixAsync(code, code); 2853await VerifyCS.VerifyCodeFixAsync(code, code); 2859await VerifyCS.VerifyCodeFixAsync( 2883await VerifyCS.VerifyCodeFixAsync( 2909await VerifyCS.VerifyCodeFixAsync( 2929await VerifyCS.VerifyCodeFixAsync( 3019await new VerifyCS.Test 3048await new VerifyCS.Test 3077await new VerifyCS.Test 3096await VerifyCS.VerifyCodeFixAsync(code, code); 3110await VerifyCS.VerifyCodeFixAsync(code, code); 3124await VerifyCS.VerifyCodeFixAsync(code, code); 3130await VerifyCS.VerifyAnalyzerAsync( 3138VerifyCS.Diagnostic("IDE0051").WithSpan(3, 13, 3, 14).WithArguments("C.C"));
RemoveUnusedValueAssignmentTests.cs (49)
22using VerifyCS = CSharpCodeFixVerifier< 48=> VerifyCS.VerifyStandardProperty(property); 64await new VerifyCS.Test 90await new VerifyCS.Test 126await new VerifyCS.Test 172await new VerifyCS.Test 206await new VerifyCS.Test 240await new VerifyCS.Test 278await new VerifyCS.Test 311await new VerifyCS.Test 347await new VerifyCS.Test 373await new VerifyCS.Test 409await new VerifyCS.Test 447await new VerifyCS.Test 499await new VerifyCS.Test 557await new VerifyCS.Test 596await new VerifyCS.Test 632await new VerifyCS.Test 670await new VerifyCS.Test 710await new VerifyCS.Test 751await new VerifyCS.Test 792await new VerifyCS.Test 833await new VerifyCS.Test 873await new VerifyCS.Test 917await new VerifyCS.Test 953await new VerifyCS.Test 1010await new VerifyCS.Test 1072var test = new VerifyCS.Test 1167var test = new VerifyCS.Test 1204await new VerifyCS.Test 1246var test = new VerifyCS.Test 1260VerifyCS.Diagnostic("IDE0059").WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithArguments("y")); 1284await new VerifyCS.Test 1319await new VerifyCS.Test 1363var test = new VerifyCS.Test 1377VerifyCS.Diagnostic("IDE0059").WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithArguments("y")); 1401await new VerifyCS.Test 1430await new VerifyCS.Test 1460await new VerifyCS.Test 2577await new VerifyCS.Test 2776await new VerifyCS.Test 2901await new VerifyCS.Test 3052var test = new VerifyCS.Test 3068VerifyCS.Diagnostic("IDE0059").WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithArguments("x2")); 7811await new VerifyCS.Test 8421await new VerifyCS.Test 8529await new VerifyCS.Test 8871await new VerifyCS.Test 8906await new VerifyCS.Test
TransposeRecordKeywordTests.cs (11)
14using VerifyCS = CSharpCodeFixVerifier< 23await new VerifyCS.Test 34await new VerifyCS.Test 45await new VerifyCS.Test 56await new VerifyCS.Test 73await new VerifyCS.Test 90await new VerifyCS.Test 107await new VerifyCS.Test 122await new VerifyCS.Test 143await new VerifyCS.Test 168await new VerifyCS.Test
UnsealClassTests.cs (13)
14using VerifyCS = CSharpCodeFixVerifier< 24await VerifyCS.VerifyCodeFixAsync(""" 44await VerifyCS.VerifyCodeFixAsync(""" 64await VerifyCS.VerifyCodeFixAsync(""" 93await VerifyCS.VerifyCodeFixAsync(code, code); 108await VerifyCS.VerifyCodeFixAsync(code, code); 123await VerifyCS.VerifyCodeFixAsync(code, code); 137await VerifyCS.VerifyCodeFixAsync(code, code); 149await VerifyCS.VerifyCodeFixAsync(code, code); 161await VerifyCS.VerifyCodeFixAsync(code, code); 167await VerifyCS.VerifyCodeFixAsync(""" 237await new VerifyCS.Test 273await new VerifyCS.Test
UpdateLegacySuppressionsTests.cs (4)
11using VerifyCS = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.CSharpCodeFixVerifier< 23=> VerifyCS.VerifyStandardProperty(property); 61var expectedDiagnostic = VerifyCS.Diagnostic(AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.LegacyFormatTargetDescriptor) 83await VerifyCS.VerifyCodeFixAsync(input, expectedDiagnostic, fixedCode);
UseCoalesceExpressionForIfNullStatementCheckTests.cs (17)
14using VerifyCS = CSharpCodeFixVerifier< 24await new VerifyCS.Test 56await new VerifyCS.Test 90await new VerifyCS.Test 122await new VerifyCS.Test 154await new VerifyCS.Test 201await new VerifyCS.Test 225await new VerifyCS.Test 249await new VerifyCS.Test 274await new VerifyCS.Test 300await new VerifyCS.Test 327await new VerifyCS.Test 352await new VerifyCS.Test 382await new VerifyCS.Test 406await new VerifyCS.Test 430await new VerifyCS.Test 454await new VerifyCS.Test
UseCollectionInitializerTests.cs (4)
16using VerifyCS = CSharpCodeFixVerifier< 25await new VerifyCS.Test 37var test = new VerifyCS.Test 752await new VerifyCS.Test
UseCompoundAssignmentTests.cs (57)
16using VerifyCS = CSharpCodeFixVerifier< 26await VerifyCS.VerifyCodeFixAsync(""" 48await VerifyCS.VerifyCodeFixAsync(""" 70await VerifyCS.VerifyCodeFixAsync(""" 92await VerifyCS.VerifyCodeFixAsync(""" 114await VerifyCS.VerifyCodeFixAsync(""" 136await VerifyCS.VerifyCodeFixAsync(""" 158await VerifyCS.VerifyCodeFixAsync(""" 180await VerifyCS.VerifyCodeFixAsync(""" 202await VerifyCS.VerifyCodeFixAsync(""" 224await VerifyCS.VerifyCodeFixAsync(""" 246await new VerifyCS.Test() 283await new VerifyCS.Test() 305await new VerifyCS.Test() 316await VerifyCS.VerifyCodeFixAsync(""" 342await VerifyCS.VerifyCodeFixAsync(""" 368await VerifyCS.VerifyCodeFixAsync(""" 394await VerifyCS.VerifyCodeFixAsync(""" 420await VerifyCS.VerifyCodeFixAsync(""" 452await VerifyCS.VerifyCodeFixAsync(""" 478await VerifyCS.VerifyCodeFixAsync(""" 510await VerifyCS.VerifyCodeFixAsync(""" 546await VerifyCS.VerifyCodeFixAsync(""" 572await VerifyCS.VerifyCodeFixAsync(""" 598await VerifyCS.VerifyCodeFixAsync(""" 637await VerifyCS.VerifyCodeFixAsync(code, code); 660await VerifyCS.VerifyCodeFixAsync(code, code); 683await VerifyCS.VerifyCodeFixAsync(code, code); 706await VerifyCS.VerifyCodeFixAsync(code, code); 722await VerifyCS.VerifyCodeFixAsync(code, code); 738await VerifyCS.VerifyCodeFixAsync(code, code); 758await VerifyCS.VerifyCodeFixAsync(code, code); 764await VerifyCS.VerifyCodeFixAsync(""" 787await VerifyCS.VerifyCodeFixAsync(""" 811await VerifyCS.VerifyCodeFixAsync(""" 835await VerifyCS.VerifyCodeFixAsync(""" 857await VerifyCS.VerifyCodeFixAsync(""" 881await VerifyCS.VerifyCodeFixAsync(""" 918await VerifyCS.VerifyCodeFixAsync(code, code); 939await VerifyCS.VerifyCodeFixAsync(code, code); 958await new VerifyCS.Test 970await VerifyCS.VerifyCodeFixAsync(""" 992await VerifyCS.VerifyCodeFixAsync(""" 1014await VerifyCS.VerifyCodeFixAsync(""" 1036await VerifyCS.VerifyCodeFixAsync(""" 1058await VerifyCS.VerifyCodeFixAsync(""" 1080await VerifyCS.VerifyCodeFixAsync(""" 1102await VerifyCS.VerifyCodeFixAsync(""" 1124await VerifyCS.VerifyCodeFixAsync(""" 1148await VerifyCS.VerifyCodeFixAsync(""" 1175await new VerifyCS.Test() 1207await new VerifyCS.Test() 1234await VerifyCS.VerifyCodeFixAsync(""" 1260await VerifyCS.VerifyCodeFixAsync(""" 1288await VerifyCS.VerifyCodeFixAsync($$""" 1315await VerifyCS.VerifyCodeFixAsync($$""" 1346await VerifyCS.VerifyCodeFixAsync($$"""
UseCompoundCoalesceAssignmentTests.cs (3)
16using VerifyCS = CSharpCodeFixVerifier< 25await new VerifyCS.Test 33await new VerifyCS.Test
UseConditionalExpressionForAssignmentTests.cs (5)
21using VerifyCS = CSharpCodeFixVerifier< 33var test = new VerifyCS.Test 51await new VerifyCS.Test 1537await new VerifyCS.Test 1566VerifyCS.Diagnostic().WithSpan(5, 9, 5, 11).WithSpan(5, 9, 6, 32),
UseDeconstructionTests.cs (34)
16using VerifyCS = CSharpCodeFixVerifier< 26await VerifyCS.VerifyCodeFixAsync(""" 67await VerifyCS.VerifyCodeFixAsync(code, code); 87await VerifyCS.VerifyCodeFixAsync(code, code); 93await VerifyCS.VerifyCodeFixAsync(""" 121await VerifyCS.VerifyCodeFixAsync(""" 149await VerifyCS.VerifyCodeFixAsync(""" 181await VerifyCS.VerifyCodeFixAsync(""" 213await VerifyCS.VerifyCodeFixAsync(""" 241await VerifyCS.VerifyCodeFixAsync(""" 277await VerifyCS.VerifyCodeFixAsync(""" 305await VerifyCS.VerifyCodeFixAsync(""" 345await VerifyCS.VerifyCodeFixAsync(code, code); 351await VerifyCS.VerifyCodeFixAsync(""" 377await VerifyCS.VerifyCodeFixAsync(""" 417await VerifyCS.VerifyCodeFixAsync(code, code); 436await VerifyCS.VerifyCodeFixAsync(code, code); 455await VerifyCS.VerifyCodeFixAsync(code, code); 474await VerifyCS.VerifyCodeFixAsync(code, code); 493await VerifyCS.VerifyCodeFixAsync(code, code); 499await VerifyCS.VerifyCodeFixAsync(""" 527await new VerifyCS.Test() 546await VerifyCS.VerifyCodeFixAsync(""" 586await VerifyCS.VerifyCodeFixAsync(code, code); 592await VerifyCS.VerifyCodeFixAsync(""" 642await VerifyCS.VerifyCodeFixAsync(code, code); 648await VerifyCS.VerifyCodeFixAsync(""" 684await VerifyCS.VerifyCodeFixAsync(""" 708await VerifyCS.VerifyCodeFixAsync(""" 736await VerifyCS.VerifyCodeFixAsync(""" 766await new VerifyCS.Test() 807await new VerifyCS.Test 862await new VerifyCS.Test() 884await new VerifyCS.Test
UseDefaultLiteralTests.cs (31)
15using VerifyCS = CSharpCodeFixVerifier< 34await new VerifyCS.Test() 45await new VerifyCS.Test 70await new VerifyCS.Test 97await new VerifyCS.Test 134await new VerifyCS.Test() 145await new VerifyCS.Test 188await new VerifyCS.Test() 199await new VerifyCS.Test 236await new VerifyCS.Test() 257await new VerifyCS.Test() 268await new VerifyCS.Test 312await new VerifyCS.Test() 323await new VerifyCS.Test 352await new VerifyCS.Test 381await new VerifyCS.Test 410await new VerifyCS.Test 437await new VerifyCS.Test 482await new VerifyCS.Test() 509await new VerifyCS.Test() 520await new VerifyCS.Test 566await new VerifyCS.Test() 590await new VerifyCS.Test() 601await new VerifyCS.Test 647await new VerifyCS.Test() 671await new VerifyCS.Test() 682await new VerifyCS.Test 715await new VerifyCS.Test 758await new VerifyCS.Test() 779await new VerifyCS.Test() 790await new VerifyCS.Test
UseExplicitTupleNameTests.cs (12)
15using VerifyCS = CSharpCodeFixVerifier< 25await VerifyCS.VerifyCodeFixAsync(""" 49await VerifyCS.VerifyCodeFixAsync(""" 77await VerifyCS.VerifyCodeFixAsync(""" 112await VerifyCS.VerifyCodeFixAsync(code, code); 129await VerifyCS.VerifyCodeFixAsync(code, code); 135await VerifyCS.VerifyCodeFixAsync(""" 159await VerifyCS.VerifyCodeFixAsync(""" 185await VerifyCS.VerifyCodeFixAsync(""" 220await new VerifyCS.Test() 245await new VerifyCS.Test() 298await new VerifyCS.Test()
UseExpressionBodyForAccessorsAnalyzerTests.cs (9)
18using VerifyCS = CSharpCodeFixVerifier< 30var test = new VerifyCS.Test 49await new VerifyCS.Test 66await new VerifyCS.Test 268await VerifyCS.VerifyAnalyzerAsync(""" 297await new VerifyCS.Test 575await new VerifyCS.Test 698await new VerifyCS.Test 761await new VerifyCS.Test
UseExpressionBodyForConstructorsAnalyzerTests.cs (3)
17using VerifyCS = CSharpCodeFixVerifier< 26await new VerifyCS.Test 37await new VerifyCS.Test
UseExpressionBodyForConversionOperatorsAnalyzerTests.cs (3)
15using VerifyCS = CSharpCodeFixVerifier< 24await new VerifyCS.Test 34await new VerifyCS.Test
UseExpressionBodyForIndexersAnalyzerTests.cs (4)
16using VerifyCS = CSharpCodeFixVerifier< 25await new VerifyCS.Test 39await new VerifyCS.Test 229await new VerifyCS.Test
UseExpressionBodyForLocalFunctionsAnalyzerTests.cs (6)
18using VerifyCS = CSharpCodeFixVerifier< 27await new VerifyCS.Test 37await new VerifyCS.Test 47await new VerifyCS.Test 888await new VerifyCS.Test 920await new VerifyCS.Test
UseExpressionBodyForMethodsAnalyzerTests.cs (3)
18using VerifyCS = CSharpCodeFixVerifier< 27await new VerifyCS.Test 38await new VerifyCS.Test
UseExpressionBodyForOperatorsAnalyzerTests.cs (3)
15using VerifyCS = CSharpCodeFixVerifier< 24await new VerifyCS.Test 34await new VerifyCS.Test
UseExpressionBodyForPropertiesAnalyzerTests.cs (4)
18using VerifyCS = CSharpCodeFixVerifier< 27await new VerifyCS.Test 43await new VerifyCS.Test 259await new VerifyCS.Test
UseIndexOperatorTests.cs (28)
16using VerifyCS = CSharpCodeFixVerifier< 37await new VerifyCS.Test 60await new VerifyCS.Test 105await new VerifyCS.Test 140await new VerifyCS.Test 184await new VerifyCS.Test 220await new VerifyCS.Test 242await new VerifyCS.Test 264await new VerifyCS.Test 287await new VerifyCS.Test 321await new VerifyCS.Test 355await new VerifyCS.Test 378await new VerifyCS.Test 401await new VerifyCS.Test 435await new VerifyCS.Test 469await new VerifyCS.Test 492await new VerifyCS.Test 515await new VerifyCS.Test 537await new VerifyCS.Test 560await new VerifyCS.Test 607await new VerifyCS.Test 641await new VerifyCS.Test 673await new VerifyCS.Test 705await new VerifyCS.Test 739await new VerifyCS.Test 773await new VerifyCS.Test 796await new VerifyCS.Test 821await new VerifyCS.Test
UseNullCheckOverTypeCheckDiagnosticAnalyzerTests.cs (2)
15using VerifyCS = CSharpCodeFixVerifier<CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer, CSharpUseNullCheckOverTypeCheckCodeFixProvider>; 22await new VerifyCS.Test
UseNullPropagationTests.cs (3)
16using VerifyCS = CSharpCodeFixVerifier< 25await new VerifyCS.Test 43await new VerifyCS.Test
UseObjectInitializerTests.cs (3)
15using VerifyCS = CSharpCodeFixVerifier< 24await new VerifyCS.Test 35var test = new VerifyCS.Test
UseRangeOperatorTests.cs (40)
16using VerifyCS = CSharpCodeFixVerifier< 37await new VerifyCS.Test 60await new VerifyCS.Test 97await new VerifyCS.Test 120await new VerifyCS.Test 167await new VerifyCS.Test 202await new VerifyCS.Test 246await new VerifyCS.Test 278await new VerifyCS.Test 312await new VerifyCS.Test 344await new VerifyCS.Test 376await new VerifyCS.Test 398await new VerifyCS.Test 433await new VerifyCS.Test 467await new VerifyCS.Test 500await new VerifyCS.Test 534await new VerifyCS.Test 568await new VerifyCS.Test 602await new VerifyCS.Test 636await new VerifyCS.Test 670await new VerifyCS.Test 699await new VerifyCS.Test 731await new VerifyCS.Test 777await new VerifyCS.Test 822await new VerifyCS.Test 855await new VerifyCS.Test 887await new VerifyCS.Test 919await new VerifyCS.Test 948await new VerifyCS.Test 975await new VerifyCS.Test 1023await new VerifyCS.Test 1091await new VerifyCS.Test 1123await new VerifyCS.Test 1155await new VerifyCS.Test 1187await new VerifyCS.Test 1219await new VerifyCS.Test 1251await new VerifyCS.Test 1283await new VerifyCS.Test 1308await new VerifyCS.Test 1319await new VerifyCS.Test
UseTupleSwapTests.cs (22)
17using VerifyCS = CSharpCodeFixVerifier< 39await new VerifyCS.Test 62await new VerifyCS.Test 76await VerifyCS.VerifyCodeFixAsync( 114await new VerifyCS.Test 124await VerifyCS.VerifyCodeFixAsync( 150await VerifyCS.VerifyCodeFixAsync( 178await VerifyCS.VerifyCodeFixAsync( 216await new VerifyCS.Test 238await new VerifyCS.Test 260await new VerifyCS.Test 282await new VerifyCS.Test 304await new VerifyCS.Test 326await new VerifyCS.Test 348await new VerifyCS.Test 358await VerifyCS.VerifyCodeFixAsync( 394await VerifyCS.VerifyCodeFixAsync( 442await new VerifyCS.Test 452await new VerifyCS.Test 495await new VerifyCS.Test 505await new VerifyCS.Test 555await new VerifyCS.Test
UseUtf8StringLiteralTests.cs (50)
16using VerifyCS = CSharpCodeFixVerifier< 26await new VerifyCS.Test 53await new VerifyCS.Test 72await new VerifyCS.Test 92await new VerifyCS.Test 112await new VerifyCS.Test 139await new VerifyCS.Test 159await new VerifyCS.Test 183await new VerifyCS.Test 205await new VerifyCS.Test 225await new VerifyCS.Test 256await new VerifyCS.Test 289await new VerifyCS.Test 320await new VerifyCS.Test 351await new VerifyCS.Test 382await new VerifyCS.Test 413await new VerifyCS.Test 443await new VerifyCS.Test 474await new VerifyCS.Test 505await new VerifyCS.Test 540await new VerifyCS.Test 571await new VerifyCS.Test 602await new VerifyCS.Test 623await new VerifyCS.Test 644await new VerifyCS.Test 668await new VerifyCS.Test 699await new VerifyCS.Test 782await new VerifyCS.Test 823await new VerifyCS.Test 884await new VerifyCS.Test 896await new VerifyCS.Test 927await new VerifyCS.Test 958await new VerifyCS.Test 989await new VerifyCS.Test 1020await new VerifyCS.Test 1051await new VerifyCS.Test 1082await new VerifyCS.Test 1102await new VerifyCS.Test 1133await new VerifyCS.Test 1164await new VerifyCS.Test 1195await new VerifyCS.Test 1226await new VerifyCS.Test 1257await new VerifyCS.Test 1298await new VerifyCS.Test 1353await new VerifyCS.Test 1442await new VerifyCS.Test 1473await new VerifyCS.Test 1504await new VerifyCS.Test 1535await new VerifyCS.Test 1570await new VerifyCS.Test