327 references to VerifyCodeFixAsync
Microsoft.CodeAnalysis.Analyzers.UnitTests (14)
FixAnalyzers\FixerWithFixAllAnalyzerTests.Fixer.cs (4)
304=> VerifyVB.VerifyCodeFixAsync(""" 358=> VerifyVB.VerifyCodeFixAsync(""" 461await VerifyVB.VerifyCodeFixAsync(source, source); 466=> VerifyVB.VerifyCodeFixAsync("""
MetaAnalyzers\ConfigureGeneratedCodeAnalysisAnalyzerTests.cs (1)
48=> VerifyVB.VerifyCodeFixAsync("""
MetaAnalyzers\EnableConcurrentExecutionAnalyzerTests.cs (1)
48=> VerifyVB.VerifyCodeFixAsync("""
MetaAnalyzers\PreferIsKindAnalyzerTests.cs (7)
68await VerifyVB.VerifyCodeFixAsync($""" 117=> VerifyVB.VerifyCodeFixAsync(""" 186await VerifyVB.VerifyCodeFixAsync($""" 320await VerifyVB.VerifyCodeFixAsync($""" 388await VerifyVB.VerifyCodeFixAsync(source, source); 421=> VerifyVB.VerifyCodeFixAsync(""" 477await VerifyVB.VerifyCodeFixAsync(source, source);
UseReturnValueFromImmutableObjectMethodTests.cs (1)
202await VerifyVB.VerifyCodeFixAsync(source, source);
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (311)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\AbstractTypesShouldNotHaveConstructorsTests.cs (6)
54await VerifyVB.VerifyCodeFixAsync(code, fix); 80await VerifyVB.VerifyCodeFixAsync(code, code); 106await VerifyVB.VerifyCodeFixAsync(code, code); 143await VerifyVB.VerifyCodeFixAsync(code, fix); 189await VerifyVB.VerifyCodeFixAsync(code, fix); 218await VerifyVB.VerifyCodeFixAsync(code, code);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DeclareTypesInNamespacesTests.cs (4)
30await VerifyVB.VerifyCodeFixAsync(vbCode, vbCode); 50await VerifyVB.VerifyCodeFixAsync(vbCode, vbCode); 68await VerifyVB.VerifyCodeFixAsync(vbCode, vbCode); 91await VerifyVB.VerifyCodeFixAsync(vbCode, vbCode);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DoNotDirectlyAwaitATaskTests.cs (4)
253await VerifyVB.VerifyCodeFixAsync(code, fixedCode); 361await VerifyVB.VerifyCodeFixAsync(code, code); 456await VerifyVB.VerifyCodeFixAsync(code, fixedCode); 532await VerifyVB.VerifyCodeFixAsync(code, fixedCode);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumStorageShouldBeInt32Tests.Fixer.cs (2)
97await VerifyVB.VerifyCodeFixAsync(code, fix); 121await VerifyVB.VerifyCodeFixAsync(code, fix);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\EnumWithFlagsAttributeTests.Fixer.cs (4)
95await VerifyVB.VerifyCodeFixAsync(code, expected); 157await VerifyVB.VerifyCodeFixAsync(code, expected); 275await VerifyVB.VerifyCodeFixAsync(code, expected); 301await VerifyVB.VerifyCodeFixAsync(code, expected);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ExceptionsShouldBePublicTests.Fixer.cs (2)
79await VerifyVB.VerifyCodeFixAsync(original, expected); 103await VerifyVB.VerifyCodeFixAsync(original, expected);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ImplementStandardExceptionConstructorsTests.Fixer.cs (3)
370await VerifyVB.VerifyCodeFixAsync(code, fix); 400await VerifyVB.VerifyCodeFixAsync(code, fix); 429await VerifyVB.VerifyCodeFixAsync(code, fix);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\InterfaceMethodsShouldBeCallableByChildTypesTests.Fixer.cs (4)
742await VerifyVB.VerifyCodeFixAsync(code, expectedFixedCode); 795await VerifyVB.VerifyCodeFixAsync(code, expectedFixedCode); 1144await VerifyVB.VerifyCodeFixAsync(code, expectedFixedCode); 1209await VerifyVB.VerifyCodeFixAsync(code, expectedFixedCode);
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OperatorsShouldHaveSymmetricalOverloadsTests.Fixer.cs (3)
167await VerifyVB.VerifyCodeFixAsync( 188await VerifyVB.VerifyCodeFixAsync( 209await VerifyVB.VerifyCodeFixAsync(
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverloadOperatorEqualsOnOverridingValueTypeEqualsTests.Fixer.cs (2)
58await VerifyVB.VerifyCodeFixAsync(@" 150await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\OverrideGetHashCodeOnOverridingEqualsTests.Fixer.cs (2)
116await VerifyVB.VerifyCodeFixAsync(@" 139await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\ParameterNamesShouldMatchBaseDeclarationTests.Fixer.cs (9)
80await VerifyVB.VerifyCodeFixAsync( 102await VerifyVB.VerifyCodeFixAsync( 188await VerifyVB.VerifyCodeFixAsync( 210await VerifyVB.VerifyCodeFixAsync( 273await VerifyVB.VerifyCodeFixAsync( 295await VerifyVB.VerifyCodeFixAsync( 349await VerifyVB.VerifyCodeFixAsync( 413await VerifyVB.VerifyCodeFixAsync( 478await VerifyVB.VerifyCodeFixAsync(@"Public Interface ITest1
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\TypesThatOwnDisposableFieldsShouldBeDisposableTests.cs (10)
430await VerifyVB.VerifyCodeFixAsync(@" 452await VerifyVB.VerifyCodeFixAsync(@" 474await VerifyVB.VerifyCodeFixAsync(@" 502await VerifyVB.VerifyCodeFixAsync(@" 570await VerifyVB.VerifyCodeFixAsync(@" 606await VerifyVB.VerifyCodeFixAsync(@" 688await VerifyVB.VerifyCodeFixAsync(@" 996await VerifyVB.VerifyCodeFixAsync(@" 1106await VerifyVB.VerifyCodeFixAsync(@" 1139await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\UriParametersShouldNotBeStringsTests.Fixer.cs (1)
155await VerifyVB.VerifyCodeFixAsync(code, fix);
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidLengthCalculationWhenSlicingToEndTests.cs (28)
916await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 942await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 972await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1002await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1032await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1060await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1086await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1116await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1146await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1171await VerifyVB.VerifyCodeFixAsync(source, source); 1194await VerifyVB.VerifyCodeFixAsync(source, source); 1220await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1266await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1293await VerifyVB.VerifyCodeFixAsync(source, source); 1310await VerifyVB.VerifyCodeFixAsync(source, source); 1330await VerifyVB.VerifyCodeFixAsync(source, source); 1350await VerifyVB.VerifyCodeFixAsync(source, source); 1370await VerifyVB.VerifyCodeFixAsync(source, source); 1387await VerifyVB.VerifyCodeFixAsync(source, source); 1407await VerifyVB.VerifyCodeFixAsync(source, source); 1424await VerifyVB.VerifyCodeFixAsync(source, source); 1450await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1476await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1502await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1526await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1550await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1578await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1600await VerifyVB.VerifyCodeFixAsync(source, fixedSource);
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidUnusedPrivateFieldsTests.Fixer.cs (1)
58await VerifyVB.VerifyCodeFixAsync(
Microsoft.CodeQuality.Analyzers\Maintainability\UseNameOfInPlaceOfStringTests.cs (1)
364await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\MarkMembersAsStaticTests.Fixer.cs (9)
107await VerifyVB.VerifyCodeFixAsync(@" 245await VerifyVB.VerifyCodeFixAsync(@" 339await VerifyVB.VerifyCodeFixAsync(@" 737await VerifyVB.VerifyCodeFixAsync(@" 880await VerifyVB.VerifyCodeFixAsync(@" 985await VerifyVB.VerifyCodeFixAsync(@" 1068await VerifyVB.VerifyCodeFixAsync(@" 1336await VerifyVB.VerifyCodeFixAsync(@" 1399await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\RemoveEmptyFinalizersTests.Fixer.cs (1)
38await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.CodeQuality.Analyzers\QualityGuidelines\SealMethodsThatSatisfyPrivateInterfacesTests.Fixer.cs (3)
413await VerifyVB.VerifyCodeFixAsync( 450await VerifyVB.VerifyCodeFixAsync( 477await VerifyVB.VerifyCodeFixAsync(
Microsoft.CodeQuality.Analyzers\QualityGuidelines\UseLiteralsWhereAppropriateTests.Fixer.cs (1)
170await VerifyVB.VerifyCodeFixAsync(vbCode, vbCode);
Microsoft.NetCore.Analyzers\ImmutableCollections\DoNotCallToImmutableCollectionOnAnImmutableCollectionValueTests.Fixer.cs (2)
96await VerifyVB.VerifyCodeFixAsync(initial, expected); 164await VerifyVB.VerifyCodeFixAsync(initial, expected);
Microsoft.NetCore.Analyzers\InteropServices\ProvidePublicParameterlessSafeHandleConstructorTests.cs (1)
135await VerifyVB.VerifyCodeFixAsync(source, fixedSource);
Microsoft.NetCore.Analyzers\InteropServices\SpecifyMarshalingForPInvokeStringArgumentsTests.Fixer.cs (3)
51await VerifyVB.VerifyCodeFixAsync(@" 117await VerifyVB.VerifyCodeFixAsync(@" 157await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Performance\DoNotGuardDictionaryRemoveByContainsKeyTests.cs (31)
1184await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1216await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1248await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1282await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1312await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1344await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1374await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1406await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1442await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1480await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1516await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1554await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1647await VerifyVB.VerifyCodeFixAsync(source, source); 1668await VerifyVB.VerifyCodeFixAsync(source, source); 1690await VerifyVB.VerifyCodeFixAsync(source, source); 1713await VerifyVB.VerifyCodeFixAsync(source, source); 1734await VerifyVB.VerifyCodeFixAsync(source, source); 1756await VerifyVB.VerifyCodeFixAsync(source, source); 1779await VerifyVB.VerifyCodeFixAsync(source, source); 1803await VerifyVB.VerifyCodeFixAsync(source, source); 1821await VerifyVB.VerifyCodeFixAsync(source, source); 1839await VerifyVB.VerifyCodeFixAsync(source, source); 1858await VerifyVB.VerifyCodeFixAsync(source, source); 1877await VerifyVB.VerifyCodeFixAsync(source, source); 1895await VerifyVB.VerifyCodeFixAsync(source, source); 1913await VerifyVB.VerifyCodeFixAsync(source, source); 1931await VerifyVB.VerifyCodeFixAsync(source, source); 1949await VerifyVB.VerifyCodeFixAsync(source, source); 1967await VerifyVB.VerifyCodeFixAsync(source, source); 1985await VerifyVB.VerifyCodeFixAsync(source, source); 2019await VerifyVB.VerifyCodeFixAsync(source, fixedSource);
Microsoft.NetCore.Analyzers\Performance\DoNotGuardSetAddOrRemoveByContainsTests.cs (31)
1184await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1214await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1246await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1278await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1308await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1338await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1368await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1398await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1434await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1470await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1506await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1542await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1634await VerifyVB.VerifyCodeFixAsync(source, source); 1654await VerifyVB.VerifyCodeFixAsync(source, source); 1676await VerifyVB.VerifyCodeFixAsync(source, source); 1698await VerifyVB.VerifyCodeFixAsync(source, source); 1719await VerifyVB.VerifyCodeFixAsync(source, source); 1740await VerifyVB.VerifyCodeFixAsync(source, source); 1763await VerifyVB.VerifyCodeFixAsync(source, source); 1786await VerifyVB.VerifyCodeFixAsync(source, source); 1804await VerifyVB.VerifyCodeFixAsync(source, source); 1822await VerifyVB.VerifyCodeFixAsync(source, source); 1840await VerifyVB.VerifyCodeFixAsync(source, source); 1858await VerifyVB.VerifyCodeFixAsync(source, source); 1876await VerifyVB.VerifyCodeFixAsync(source, source); 1894await VerifyVB.VerifyCodeFixAsync(source, source); 1912await VerifyVB.VerifyCodeFixAsync(source, source); 1930await VerifyVB.VerifyCodeFixAsync(source, source); 1948await VerifyVB.VerifyCodeFixAsync(source, source); 1966await VerifyVB.VerifyCodeFixAsync(source, source); 2000await VerifyVB.VerifyCodeFixAsync(source, fixedSource);
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsedTests.Tests.cs (4)
573=> Test.Utilities.VisualBasicCodeFixVerifier<UseCountProperlyAnalyzer, BasicDoNotUseCountWhenAnyCanBeUsedFixer>.VerifyCodeFixAsync( 721=> Test.Utilities.VisualBasicCodeFixVerifier<UseCountProperlyAnalyzer, BasicDoNotUseCountWhenAnyCanBeUsedFixer>.VerifyCodeFixAsync( 1133=> Test.Utilities.VisualBasicCodeFixVerifier<UseCountProperlyAnalyzer, BasicDoNotUseCountWhenAnyCanBeUsedFixer>.VerifyCodeFixAsync( 1307=> Test.Utilities.VisualBasicCodeFixVerifier<UseCountProperlyAnalyzer, BasicDoNotUseCountWhenAnyCanBeUsedFixer>.VerifyCodeFixAsync(
Microsoft.NetCore.Analyzers\Runtime\AvoidConstArraysTests.cs (5)
52await VerifyVB.VerifyCodeFixAsync(@" 139await VerifyVB.VerifyCodeFixAsync(@" 196await VerifyVB.VerifyCodeFixAsync(@" 413await VerifyVB.VerifyCodeFixAsync(@" 571await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Runtime\AvoidUnsealedAttributesTests.Fixer.cs (1)
37await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Runtime\AvoidZeroLengthArrayAllocationsTests.cs (1)
764await VerifyVB.VerifyCodeFixAsync(source, source);
Microsoft.NetCore.Analyzers\Runtime\DoNotUseEndOfStreamInAsyncMethodsTests.cs (7)
383await VerifyVB.VerifyCodeFixAsync(source, source); 400await VerifyVB.VerifyCodeFixAsync(source, source); 416await VerifyVB.VerifyCodeFixAsync(source, source); 432await VerifyVB.VerifyCodeFixAsync(source, source); 449await VerifyVB.VerifyCodeFixAsync(source, source); 466await VerifyVB.VerifyCodeFixAsync(source, source); 487await VerifyVB.VerifyCodeFixAsync(source, source);
Microsoft.NetCore.Analyzers\Runtime\DoNotUseEnumerableMethodsOnIndexableCollectionsInsteadUseTheCollectionDirectlyTests.cs (5)
535await VerifyVB.VerifyCodeFixAsync(@" 635await VerifyVB.VerifyCodeFixAsync(@" 787await VerifyVB.VerifyCodeFixAsync(@" 887await VerifyVB.VerifyCodeFixAsync(@" 987await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Runtime\ForwardCancellationTokenToInvocationsTests.cs (44)
3045return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3075return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3105return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3137return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3167return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3197return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3231return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3273return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3307return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3349return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3379return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3409return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3445return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3481return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3517return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3553return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3601return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3649return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3689return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3729return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3769return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3815return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3861return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3901return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3947return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 3991return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4023return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4061return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4093return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4131return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4161return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4191return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4221return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4253return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4285return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4314return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4352return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4483return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4525return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4562return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4595return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4641return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4687return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode); 4734return VerifyVB.VerifyCodeFixAsync(originalCode, fixedCode);
Microsoft.NetCore.Analyzers\Runtime\MarkAllNonSerializableFieldsTests.Fixer.cs (2)
44await VerifyVB.VerifyCodeFixAsync(@" 142await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Runtime\PreferConstCharOverConstUnitStringTests.cs (4)
80await VerifyVB.VerifyCodeFixAsync(vbInput, vbFix); 116await VerifyVB.VerifyCodeFixAsync(multipleDeclarations_vb, multipleDeclarations_vb); 153await VerifyVB.VerifyCodeFixAsync(classFieldInAppend_vb, classFieldInAppend_vb); 360await VerifyVB.VerifyCodeFixAsync(appendLiteralInput_vb, appendLiteralFix_vb);
Microsoft.NetCore.Analyzers\Runtime\PreferTypedStringBuilderAppendOverloadsTests.cs (1)
87await VerifyVB.VerifyCodeFixAsync(original, !diagnosticExpected ? original : @"
Microsoft.NetCore.Analyzers\Runtime\SealInternalTypesTests.cs (4)
392return VerifyVB.VerifyCodeFixAsync(source, source); 414return VerifyVB.VerifyCodeFixAsync(source, source); 432return VerifyVB.VerifyCodeFixAsync(source, source); 461return VerifyVB.VerifyCodeFixAsync(source, source);
Microsoft.NetCore.Analyzers\Runtime\TestForEmptyStringsUsingStringLengthTests.Fixer.cs (11)
49await VerifyVB.VerifyCodeFixAsync(@" 164await VerifyVB.VerifyCodeFixAsync(@" 272await VerifyVB.VerifyCodeFixAsync(@" 379await VerifyVB.VerifyCodeFixAsync(@" 486await VerifyVB.VerifyCodeFixAsync(@" 602await VerifyVB.VerifyCodeFixAsync(@" 653await VerifyVB.VerifyCodeFixAsync(@" 908await VerifyVB.VerifyCodeFixAsync(@" 1027await VerifyVB.VerifyCodeFixAsync(@" 1062await VerifyVB.VerifyCodeFixAsync(@" 1097await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Runtime\TestForNaNCorrectlyTests.Fixer.cs (8)
37await VerifyVB.VerifyCodeFixAsync(@" 73await VerifyVB.VerifyCodeFixAsync(@" 109await VerifyVB.VerifyCodeFixAsync(@" 145await VerifyVB.VerifyCodeFixAsync(@" 181await VerifyVB.VerifyCodeFixAsync(@" 218await VerifyVB.VerifyCodeFixAsync(@" 263await VerifyVB.VerifyCodeFixAsync(@" 314await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Runtime\UseEnvironmentMembersTests.cs (1)
319await VerifyVB.VerifyCodeFixAsync(
Microsoft.NetCore.Analyzers\Runtime\UseExceptionThrowHelpersTests.cs (1)
1153await VerifyVB.VerifyCodeFixAsync(
Microsoft.NetCore.Analyzers\Runtime\UseOrdinalStringComparisonTests.Fixer.cs (2)
50await VerifyVB.VerifyCodeFixAsync( 110await VerifyVB.VerifyCodeFixAsync(
Microsoft.NetCore.Analyzers\Runtime\UseRegexMembersTests.cs (1)
123await VerifyVB.VerifyCodeFixAsync("""
Microsoft.NetCore.Analyzers\Tasks\DoNotCreateTaskCompletionSourceWithWrongArgumentsTests.cs (1)
217await VerifyVB.VerifyCodeFixAsync(
Microsoft.NetCore.Analyzers\Tasks\DoNotUseWhenAllOrWaitAllWithSingleArgumentTests.cs (1)
385await VerifyVB.VerifyCodeFixAsync(@"
Microsoft.NetCore.Analyzers\Usage\PreferGenericOverloadsTests.cs (39)
1449await VerifyVB.VerifyCodeFixAsync(source, source); 1466await VerifyVB.VerifyCodeFixAsync(source, source); 1485await VerifyVB.VerifyCodeFixAsync(source, source); 1505await VerifyVB.VerifyCodeFixAsync(source, source); 1523await VerifyVB.VerifyCodeFixAsync(source, source); 1541await VerifyVB.VerifyCodeFixAsync(source, source); 1558await VerifyVB.VerifyCodeFixAsync(source, source); 1575await VerifyVB.VerifyCodeFixAsync(source, source); 1593await VerifyVB.VerifyCodeFixAsync(source, source); 1612await VerifyVB.VerifyCodeFixAsync(source, source); 1644await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1663await VerifyVB.VerifyCodeFixAsync(source, source); 1695await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1716await VerifyVB.VerifyCodeFixAsync(source, source); 1752await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1771await VerifyVB.VerifyCodeFixAsync(source, source); 1807await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1835await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1869await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1897await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1931await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1959await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 1993await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2021await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2055await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2083await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2123await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2163await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2195await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2223await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2251await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2287await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2301await VerifyVB.VerifyCodeFixAsync(source, source); 2323await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2365await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2407await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2435await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2465await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 2505await VerifyVB.VerifyCodeFixAsync(source, fixedSource);
Roslyn.Diagnostics.Analyzers.UnitTests (2)
PartsExportedWithMEFv2MustBeMarkedAsSharedTests.cs (2)
157await VerifyVB.VerifyCodeFixAsync(""" 211await VerifyVB.VerifyCodeFixAsync("""