61 references to VerifyCodeFixAsync
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (61)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DefineAccessorsForAttributeArgumentsTests.Fixer.cs (4)
294await VerifyVB.VerifyCodeFixAsync(@" 462await VerifyVB.VerifyCodeFixAsync(@" 510await VerifyVB.VerifyCodeFixAsync(@" 552await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\IdentifiersShouldNotContainUnderscoresTests.cs (3)
972await VerifyVB.VerifyCodeFixAsync(@" 1001await VerifyVB.VerifyCodeFixAsync(@" 1459await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OperatorOverloadsHaveNamedAlternatesTests.Fixer.cs (6)
250await VerifyVB.VerifyCodeFixAsync(@" 274await VerifyVB.VerifyCodeFixAsync(@" 298await VerifyVB.VerifyCodeFixAsync(@" 330await VerifyVB.VerifyCodeFixAsync(@" 354await VerifyVB.VerifyCodeFixAsync(@" 382await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideEqualsAndOperatorEqualsOnValueTypesTests.Fixer.cs (3)
238await VerifyVB.VerifyCodeFixAsync(@" 274await VerifyVB.VerifyCodeFixAsync(@" 314await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideMethodsOnComparableTypesTests.Fixer.cs (4)
342await VerifyVB.VerifyCodeFixAsync(@" 413await VerifyVB.VerifyCodeFixAsync(@" 472await VerifyVB.VerifyCodeFixAsync(@" 551await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\TypesThatOwnDisposableFieldsShouldBeDisposableTests.cs (2)
754await VerifyVB.VerifyCodeFixAsync(@" 829await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\RethrowToPreserveStackDetailsTests.Fixer.cs (1)
70await VerifyVB.VerifyCodeFixAsync(
Microsoft.CodeQuality.Analyzers\QualityGuidelines\UseLiteralsWhereAppropriateTests.Fixer.cs (4)
34await VerifyVB.VerifyCodeFixAsync(@" 66await VerifyVB.VerifyCodeFixAsync(@" 101await VerifyVB.VerifyCodeFixAsync(@" 133await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Performance\PreferCountOverAnyTests.cs (7)
71return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 122return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 173return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 321return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 372return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 398return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 424return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode);
Microsoft.NetCore.Analyzers\Performance\PreferIsEmptyOverAnyTests.cs (8)
69return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 119return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 169return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 283return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 333return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 358return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 383return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 445return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode);
Microsoft.NetCore.Analyzers\Performance\PreferIsEmptyOverCountTests.cs (5)
145await VerifyVB.VerifyCodeFixAsync( 178return VerifyVB.VerifyCodeFixAsync( 236=> VerifyVB.VerifyCodeFixAsync( 255=> VerifyVB.VerifyCodeFixAsync( 399=> VerifyVB.VerifyCodeFixAsync(
Microsoft.NetCore.Analyzers\Performance\PreferLengthOverAnyTests.cs (3)
71return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 121return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode); 171return VerifyVB.VerifyCodeFixAsync(code, ExpectedDiagnostic, fixedCode);
Microsoft.NetCore.Analyzers\Performance\UsePropertyInsteadOfCountMethodWhenAvailableTests.cs (2)
258=> VerifyVB.VerifyCodeFixAsync( 291=> VerifyVB.VerifyCodeFixAsync(
Microsoft.NetCore.Analyzers\Runtime\InstantiateArgumentExceptionsCorrectlyTests.cs (8)
128await VerifyVB.VerifyCodeFixAsync(@" 162await VerifyVB.VerifyCodeFixAsync(@" 239await VerifyVB.VerifyCodeFixAsync(@" 309await VerifyVB.VerifyCodeFixAsync(@" 387await VerifyVB.VerifyCodeFixAsync(@" 423await VerifyVB.VerifyCodeFixAsync(@" 503await VerifyVB.VerifyCodeFixAsync(@" 665await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Runtime\UseStringEqualsOverStringCompareTests.cs (1)
190return VerifyVB.VerifyCodeFixAsync(testCode, VerifyVB.Diagnostic(Rule).WithLocation(0), fixedCode);