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)
11Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of Microsoft.CodeAnalysis.VisualBasic.AddRequiredParentheses.VisualBasicAddRequiredParenthesesForBinaryLikeExpressionDiagnosticAnalyzer, Microsoft.CodeAnalysis.AddRequiredParentheses.AddRequiredParenthesesCodeFixProvider) 35Await New VerifyVB.Test With 44Await 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 94Await New VerifyVB.Test With 145Await New VerifyVB.Test With 189Await New VerifyVB.Test With 233Await New VerifyVB.Test With 281Await New VerifyVB.Test With 329Await New VerifyVB.Test With 377Await New VerifyVB.Test With 431Await New VerifyVB.Test With 481Await New VerifyVB.Test With 531Await New VerifyVB.Test With 585Await 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)
11Imports VerifyConvertToIterator = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of Microsoft.CodeAnalysis.Testing.EmptyDiagnosticAnalyzer, Microsoft.CodeAnalysis.VisualBasic.CodeFixes.Iterator.VisualBasicConvertToIteratorCodeFixProvider) 12Imports VerifyConvertToYield = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of Microsoft.CodeAnalysis.Testing.EmptyDiagnosticAnalyzer, Microsoft.CodeAnalysis.VisualBasic.CodeFixes.Iterator.VisualBasicChangeToYieldCodeFixProvider) 18Await New VerifyConvertToIterator.Test With 27Await New VerifyConvertToIterator.Test With 135Await New VerifyConvertToYield.Test With 143Await 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)
7Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 14Dim test = New VerifyVB.Test() With { 197Await 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)
8Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 48Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 73Await VerifyVB.VerifyAnalyzerAsync(testCode) 108Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 133Await VerifyVB.VerifyAnalyzerAsync(testCode) 174Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 199Await VerifyVB.VerifyAnalyzerAsync(testCode) 244Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 280Await VerifyVB.VerifyCodeFixAsync(testCode, fixedCode) 304Await VerifyVB.VerifyAnalyzerAsync(testCode) 320Await VerifyVB.VerifyAnalyzerAsync(testCode) 349Await 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)
11Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeFixVerifier(Of 35Await New VerifyVB.Test() With { 43Await New VerifyVB.Test With { 89Await New VerifyVB.Test With { 112Await New VerifyVB.Test With { 135Await New VerifyVB.Test With { 160Await New VerifyVB.Test With { 184Await New VerifyVB.Test With { 206Await New VerifyVB.Test With { 229Await New VerifyVB.Test With { 252Await New VerifyVB.Test With { 260Await New VerifyVB.Test With { 301Await 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 {