206 references to VisualBasicCodeFixVerifier
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (206)
src\Analyzers\VisualBasic\Tests\AddAccessibilityModifiers\AddAccessibilityModifiersTests.vb (9)
7Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 17VerifyVB.VerifyStandardProperty([property]) 22Await VerifyVB.VerifyCodeFixAsync( 420Dim test As New VerifyVB.Test() 436Await VerifyVB.VerifyCodeFixAsync(source, source) 441Await VerifyVB.VerifyCodeFixAsync(" 455Await VerifyVB.VerifyCodeFixAsync(" 483Dim test As New VerifyVB.Test With { 502Dim test As New VerifyVB.Test With {
src\Analyzers\VisualBasic\Tests\AddRequiredParentheses\AddRequiredParenthesesTests.vb (3)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of Microsoft.CodeAnalysis.VisualBasic.AddRequiredParentheses.VisualBasicAddRequiredParenthesesForBinaryLikeExpressionDiagnosticAnalyzer, Microsoft.CodeAnalysis.AddRequiredParentheses.AddRequiredParenthesesCodeFixProvider) 29Await New VerifyVB.Test With 38Await New VerifyVB.Test With
src\Analyzers\VisualBasic\Tests\ConflictMarkerResolution\ConflictMarkerResolutionTests.vb (13)
6Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 49Await New VerifyVB.Test With 93Await New VerifyVB.Test With 144Await New VerifyVB.Test With 188Await New VerifyVB.Test With 231Await New VerifyVB.Test With 279Await New VerifyVB.Test With 327Await New VerifyVB.Test With 374Await New VerifyVB.Test With 428Await New VerifyVB.Test With 478Await New VerifyVB.Test With 527Await New VerifyVB.Test With 581Await New VerifyVB.Test With
src\Analyzers\VisualBasic\Tests\ConvertGetTypeToNameOf\ConvertGetTypeToNameOfTests.vb (7)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 27Await VerifyVB.VerifyCodeFixAsync(text, expected) 46Await VerifyVB.VerifyCodeFixAsync(text, expected) 69Await VerifyVB.VerifyCodeFixAsync(text, expected) 98Await VerifyVB.VerifyCodeFixAsync(text, expected) 113Await VerifyVB.VerifyCodeFixAsync(text, text) 137Await VerifyVB.VerifyCodeFixAsync(text, expected)
src\Analyzers\VisualBasic\Tests\FileHeaders\FileHeaderTests.vb (16)
6Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 36Await New VerifyVB.Test With 66Dim test As VerifyVB.Test = New VerifyVB.Test With 97Await New VerifyVB.Test With 126Await New VerifyVB.Test With 155Await New VerifyVB.Test With 184Await New VerifyVB.Test With 205Await New VerifyVB.Test With 234Await New VerifyVB.Test With 261Await New VerifyVB.Test With 287Await New VerifyVB.Test With 324Await New VerifyVB.Test With 354Await New VerifyVB.Test With 385Await New VerifyVB.Test With 411Await New VerifyVB.Test With
src\Analyzers\VisualBasic\Tests\Iterator\IteratorTests.vb (6)
6Imports VerifyConvertToIterator = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of Microsoft.CodeAnalysis.Testing.EmptyDiagnosticAnalyzer, Microsoft.CodeAnalysis.VisualBasic.CodeFixes.Iterator.VisualBasicConvertToIteratorCodeFixProvider) 7Imports VerifyConvertToYield = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of Microsoft.CodeAnalysis.Testing.EmptyDiagnosticAnalyzer, Microsoft.CodeAnalysis.VisualBasic.CodeFixes.Iterator.VisualBasicChangeToYieldCodeFixProvider) 13Await New VerifyConvertToIterator.Test With 22Await New VerifyConvertToIterator.Test With 130Await New VerifyConvertToYield.Test With 138Await New VerifyConvertToYield.Test With
src\Analyzers\VisualBasic\Tests\MakeMethodSynchronous\MakeMethodSynchronousTests.vb (17)
6Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier( 15Await VerifyVB.VerifyCodeFixAsync( 32Await VerifyVB.VerifyCodeFixAsync( 49Await VerifyVB.VerifyCodeFixAsync( 66Await VerifyVB.VerifyCodeFixAsync( 83Await VerifyVB.VerifyCodeFixAsync( 100Await VerifyVB.VerifyCodeFixAsync( 125Await VerifyVB.VerifyCodeFixAsync( 169Dim test = New VerifyVB.Test() 179Await VerifyVB.VerifyCodeFixAsync( 231Dim test = New VerifyVB.Test() 264Dim test = New VerifyVB.Test() 297Dim test = New VerifyVB.Test() 330Dim test = New VerifyVB.Test() 363Dim test = New VerifyVB.Test() 396Dim test = New VerifyVB.Test() 429Dim test = New VerifyVB.Test()
src\Analyzers\VisualBasic\Tests\MakeTypePartial\MakeTypePartialTests.vb (5)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 34Dim test = New VerifyVB.Test With { 68Dim test = New VerifyVB.Test With { 110Dim test = New VerifyVB.Test With { 140Dim test = New VerifyVB.Test With {
src\Analyzers\VisualBasic\Tests\NewLines\ConsecutiveStatementPlacement\ConsecutiveStatementPlacementTests.vb (3)
6Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 13Dim test = New VerifyVB.Test() With { 196Await New VerifyVB.Test() With {
src\Analyzers\VisualBasic\Tests\NewLines\MultipleBlankLines\MultipleBlankLinesTests.vb (3)
6Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 13Dim test = New VerifyVB.Test() With 52Await New VerifyVB.Test() With
src\Analyzers\VisualBasic\Tests\RemoveAsyncModifier\RemoveAsyncModifierTests.vb (12)
6Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 16Await VerifyVB.VerifyCodeFixAsync( 44Await VerifyVB.VerifyCodeFixAsync( 67Await VerifyVB.VerifyCodeFixAsync( 100Await VerifyVB.VerifyCodeFixAsync( 119Await VerifyVB.VerifyCodeFixAsync( 143Await VerifyVB.VerifyCodeFixAsync( 167Await VerifyVB.VerifyCodeFixAsync( 195Await VerifyVB.VerifyCodeFixAsync( 239Dim test = New VerifyVB.Test() 272Dim test = New VerifyVB.Test() 301Dim test = New VerifyVB.Test()
src\Analyzers\VisualBasic\Tests\RemoveRedundantEquality\RemoveRedundantEqualityTests.vb (11)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 27Await VerifyVB.VerifyCodeFixAsync(code, fixedCode) 32Await VerifyVB.VerifyCodeFixAsync(" 63Await VerifyVB.VerifyCodeFixAsync(code, fixedCode) 68Await VerifyVB.VerifyCodeFixAsync(" 92Await VerifyVB.VerifyAnalyzerAsync(code) 106Await VerifyVB.VerifyAnalyzerAsync(code) 126Await VerifyVB.VerifyAnalyzerAsync(code) 145Await VerifyVB.VerifyCodeFixAsync(code, fixedCode) 164Await VerifyVB.VerifyCodeFixAsync(code, fixedCode) 199Await VerifyVB.VerifyCodeFixAsync(code, fixedCode)
src\Analyzers\VisualBasic\Tests\RemoveUnnecessaryByVal\RemoveUnnecessaryByValTests.vb (2)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 13Await New VerifyVB.Test With
src\Analyzers\VisualBasic\Tests\RemoveUnnecessarySuppressions\RemoveUnnecessarySuppressionsTests.vb (6)
6Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 17VerifyVB.VerifyStandardProperty([property]) 54Await VerifyVB.VerifyCodeFixAsync(input, input) 106Await VerifyVB.VerifyCodeFixAsync(input, fixedCode) 137Await VerifyVB.VerifyCodeFixAsync(input, fixedCode) 151Await VerifyVB.VerifyCodeFixAsync(input, input)
src\Analyzers\VisualBasic\Tests\SimplifyLinqExpression\VisualBasicSimplifyLinqExpressionFixAllTests.vb (3)
45Await VisualBasicCodeFixVerifier(Of VisualBasicSimplifyLinqExpressionDiagnosticAnalyzer, SimplifyLinqExpressionCodeFixProvider).VerifyCodeFixAsync(testCode, fixedCode) 82Await VisualBasicCodeFixVerifier(Of VisualBasicSimplifyLinqExpressionDiagnosticAnalyzer, SimplifyLinqExpressionCodeFixProvider).VerifyCodeFixAsync(testCode, fixedCode) 119Await VisualBasicCodeFixVerifier(Of VisualBasicSimplifyLinqExpressionDiagnosticAnalyzer, SimplifyLinqExpressionCodeFixProvider).VerifyCodeFixAsync(testCode, fixedCode)
src\Analyzers\VisualBasic\Tests\SimplifyLinqExpression\VisualBasicSimplifyLinqExpressionTests.vb (12)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 45Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 70Await VerifyVB.VerifyAnalyzerAsync(testCode) 105Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 130Await VerifyVB.VerifyAnalyzerAsync(testCode) 171Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 196Await VerifyVB.VerifyAnalyzerAsync(testCode) 241Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 277Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 301Await VerifyVB.VerifyAnalyzerAsync(testCode) 317Await VerifyVB.VerifyAnalyzerAsync(testCode) 346Await VerifyVB.VerifyAnalyzerAsync(testCode)
src\Analyzers\VisualBasic\Tests\SimplifyObjectCreation\SimplifyObjectCreationTests.vb (11)
6Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier( 14Await VerifyVB.VerifyCodeFixAsync(" 49Dim test = New VerifyVB.Test With 68Dim test = New VerifyVB.Test With 79Await VerifyVB.VerifyCodeFixAsync(" 98Await VerifyVB.VerifyCodeFixAsync(" 117Await VerifyVB.VerifyCodeFixAsync(" 136Await VerifyVB.VerifyCodeFixAsync(" 159Await VerifyVB.VerifyCodeFixAsync(" 182Await VerifyVB.VerifyAnalyzerAsync(" 197Await VerifyVB.VerifyAnalyzerAsync("
src\Analyzers\VisualBasic\Tests\UpdateLegacySuppressions\UpdateLegacySuppressionsTests.vb (4)
7Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 18VerifyVB.VerifyStandardProperty([property]) 52Dim expectedDiagnostic = VerifyVB.Diagnostic(AbstractRemoveUnnecessaryAttributeSuppressionsDiagnosticAnalyzer.LegacyFormatTargetDescriptor). 78Await VerifyVB.VerifyCodeFixAsync(input, expectedDiagnostic, fixedCode)
src\Analyzers\VisualBasic\Tests\UseCoalesceExpression\UseCoalesceExpressionForIfNullStatementCheckTests.vb (13)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 29Await New VerifyVB.Test() With { 37Await New VerifyVB.Test With { 83Await New VerifyVB.Test With { 106Await New VerifyVB.Test With { 129Await New VerifyVB.Test With { 154Await New VerifyVB.Test With { 178Await New VerifyVB.Test With { 200Await New VerifyVB.Test With { 223Await New VerifyVB.Test With { 246Await New VerifyVB.Test With { 254Await New VerifyVB.Test With { 295Await New VerifyVB.Test With {
src\Analyzers\VisualBasic\Tests\UseExplicitTupleName\UseExplicitTupleNameTests.vb (9)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 14Await VerifyVB.VerifyCodeFixAsync(" 31Await VerifyVB.VerifyCodeFixAsync(" 54Await VerifyVB.VerifyCodeFixAsync(" 79Await VerifyVB.VerifyCodeFixAsync(code, code) 92Await VerifyVB.VerifyCodeFixAsync(code, code) 105Await VerifyVB.VerifyCodeFixAsync(code, code) 110Await VerifyVB.VerifyCodeFixAsync(" 129Await VerifyVB.VerifyCodeFixAsync("
src\Analyzers\VisualBasic\Tests\UseIsNotExpression\UseIsNotExpressionTests.vb (4)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 14Await New VerifyVB.Test With { 34Await New VerifyVB.Test With { 54Await New VerifyVB.Test With {
src\Analyzers\VisualBasic\Tests\UseObjectInitializer\UseObjectInitializerTests.vb (37)
5Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 13Await New VerifyVB.Test With { 38Dim test = New VerifyVB.Test With { 45VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 69Dim test = New VerifyVB.Test With { 76VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 102Dim test = New VerifyVB.Test With { 109VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 135Dim test = New VerifyVB.Test With { 142VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 174Dim test = New VerifyVB.Test With { 181VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3)) 209Dim test = New VerifyVB.Test With { 216VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 245Dim test = New VerifyVB.Test With { 252VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 283Dim test = New VerifyVB.Test With { 290VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 340Dim test = New VerifyVB.Test With { 347VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 388Dim test = New VerifyVB.Test With { 395VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3)) 399VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(4).WithLocation(5).WithLocation(6).WithLocation(7)) 427Dim test = New VerifyVB.Test With { 434VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3)) 479Dim test = New VerifyVB.Test With { 486VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3)) 534Dim test = New VerifyVB.Test With { 541VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2).WithLocation(3)) 573Dim test = New VerifyVB.Test With { 580VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 681Dim test = New VerifyVB.Test With { 688VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 738Dim test = New VerifyVB.Test With { 745VerifyVB.Diagnostic().WithSeverity(DiagnosticSeverity.Info).WithLocation(0).WithLocation(1).WithLocation(2)) 783Await New VerifyVB.Test With { 824Await New VerifyVB.Test With {