270 references to VisualBasicCodeFixVerifier
Microsoft.CodeAnalysis.Analyzers.UnitTests (171)
FixAnalyzers\FixerWithFixAllAnalyzerTests.cs (6)
15using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 480await VerifyVB.VerifyAnalyzerAsync(source + fixAllProviderString + sourceSuffix, expected); 484await VerifyVB.VerifyAnalyzerAsync(source + sourceSuffix, expected); 738return VerifyVB.Diagnostic(FixerWithFixAllAnalyzer.OverrideCodeActionEquivalenceKeyRule).WithLocation(line, column).WithArguments(customCodeActionName, nameof(CodeAction.EquivalenceKey)); 752return VerifyVB.Diagnostic(FixerWithFixAllAnalyzer.CreateCodeActionEquivalenceKeyRule).WithLocation(line, column).WithArguments("equivalenceKey"); 766return VerifyVB.Diagnostic(FixerWithFixAllAnalyzer.OverrideGetFixAllProviderRule).WithLocation(line, column).WithArguments(codeFixProviderTypeName);
FixAnalyzers\FixerWithFixAllAnalyzerTests.Fixer.cs (5)
10using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 372await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 430await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 484await VerifyVB.VerifyCodeFixAsync(source, source); 579await VerifyVB.VerifyCodeFixAsync(source, fixedSource);
ImplementationIsObsoleteAnalyzerTests.cs (6)
9using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier<Microsoft.CodeAnalysis.Analyzers.ImplementationIsObsoleteAnalyzer, Microsoft.CodeAnalysis.Testing.EmptyCodeFixProvider>; 159await new VerifyVB.Test 195await new VerifyVB.Test 212VerifyVB.Diagnostic().WithSpan(2, 7, 2, 16).WithArguments("SomeClass", "IMyInterface", "https://example.com"), 214VerifyVB.Diagnostic().WithSpan(6, 7, 6, 21).WithArguments("SomeOtherClass", "IMyInterface", "https://example.com"), 247await new VerifyVB.Test
InternalImplementationOnlyTests.cs (12)
10using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier<Microsoft.CodeAnalysis.Analyzers.InternalImplementationOnlyAnalyzer, Microsoft.CodeAnalysis.Testing.EmptyCodeFixProvider>; 401await new VerifyVB.Test 433await new VerifyVB.Test 450VerifyVB.Diagnostic().WithSpan(2, 7, 2, 16).WithArguments("SomeClass", "IMyInterface"), 452VerifyVB.Diagnostic().WithSpan(6, 7, 6, 21).WithArguments("SomeOtherClass", "IMyInterface"), 485await new VerifyVB.Test 517await VerifyVB.VerifyAnalyzerAsync(source, 519VerifyVB.Diagnostic().WithSpan(3, 7, 3, 9).WithArguments("C1", "ISymbol"), 587VerifyVB.Diagnostic().WithSpan(6, 7, 6, 9).WithArguments("C2", "ISymbol"), 693await VerifyVB.VerifyAnalyzerAsync(source, 695VerifyVB.Diagnostic().WithSpan(3, 7, 3, 9).WithArguments("C1", "IOperation"), 719VerifyVB.Diagnostic().WithSpan(6, 7, 6, 9).WithArguments("C2", "IOperation"),
MetaAnalyzers\AddLanguageSupportToAnalyzerRuleTests.cs (6)
13using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 87await new VerifyVB.Test 98await VerifyVB.VerifyAnalyzerAsync(source); 196await new VerifyVB.Test 202await VerifyVB.VerifyAnalyzerAsync(source); 214VerifyVB.Diagnostic(DiagnosticAnalyzerAttributeAnalyzer.AddLanguageSupportToAnalyzerRule)
MetaAnalyzers\ClassIsNotDiagnosticAnalyzerTests.cs (6)
10using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 36await VerifyVB.VerifyAnalyzerAsync(@" 46VerifyVB.Diagnostic().WithLocation(7, 18).WithArguments("NotAnAnalyzer")); 68await VerifyVB.VerifyAnalyzerAsync(@" 98await VerifyVB.VerifyAnalyzerAsync(@" 144await VerifyVB.VerifyAnalyzerAsync(@"
MetaAnalyzers\CompilerExtensionStrictApiAnalyzerTests.cs (7)
14using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 133await new VerifyVB.Test 152await new VerifyVB.Test 164var test = new VerifyVB.Test 183test.TestState.ExpectedDiagnostics.Add(VerifyVB.Diagnostic(CompilerExtensionStrictApiAnalyzer.DoNotDeclareCompilerFeatureInAssemblyWithWorkspacesReferenceStrictRule).WithLocation(0)); 201await new VerifyVB.Test 208VerifyVB.Diagnostic(descriptor).WithLocation(0),
MetaAnalyzers\CompilerExtensionTargetFrameworkAnalyzerTests.cs (5)
13using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 129await new VerifyVB.Test 148await new VerifyVB.Test 167await new VerifyVB.Test 181VerifyVB.Diagnostic().WithLocation(0).WithArguments(GetDisplayName(framework)),
MetaAnalyzers\ConfigureGeneratedCodeAnalysisAnalyzerTests.cs (3)
11using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 92await VerifyVB.VerifyCodeFixAsync(code, fixedCode); 145await VerifyVB.VerifyAnalyzerAsync(code);
MetaAnalyzers\DiagnosticAnalyzerApiUsageAnalyzerTests.cs (5)
13using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 46var test = new VerifyVB.Test 210var vbTest = new VerifyVB.Test 1039VerifyVB.Diagnostic(BasicDiagnosticAnalyzerApiUsageAnalyzer.DoNotUseTypesFromAssemblyDirectRule) 1044VerifyVB.Diagnostic(BasicDiagnosticAnalyzerApiUsageAnalyzer.DoNotUseTypesFromAssemblyIndirectRule)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzerTests.cs (35)
15using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 805await new VerifyVB.Test 874await new VerifyVB.Test 1093await new VerifyVB.Test 1160await new VerifyVB.Test 1660await new VerifyVB.Test 1817VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(1).WithLocation(1), 1819VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(3).WithLocation(4), 1821VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(6).WithLocation(7)); 1916VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(0) 2033VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(1).WithLocation(1), 2035VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(3).WithLocation(4)); 2138VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(0) 2344VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(0), 2345VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(1) 2448VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(1).WithLocation(1), 2450VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(3).WithLocation(3), 2452VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(5).WithLocation(5)); 2562VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticTitleCorrectlyRule).WithLocation(0) 2846VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticMessageCorrectlyRule).WithLocation(1).WithLocation(1), 2848VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticMessageCorrectlyRule).WithLocation(3).WithLocation(4)); 2951VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticMessageCorrectlyRule).WithLocation(0) 3053VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticMessageCorrectlyRule).WithLocation(1).WithLocation(1)); 3155VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticMessageCorrectlyRule).WithLocation(1).WithLocation(1), 3157VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticMessageCorrectlyRule).WithLocation(3).WithLocation(3), 3159VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticMessageCorrectlyRule).WithLocation(5).WithLocation(5)); 3266VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticMessageCorrectlyRule).WithLocation(0) 3448VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticMessageCorrectlyRule).WithLocation(0) 3566VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticDescriptionCorrectlyRule).WithLocation(1).WithLocation(1), 3568VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticDescriptionCorrectlyRule).WithLocation(3).WithLocation(4)); 3671VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticDescriptionCorrectlyRule).WithLocation(0) 3853VerifyVB.Diagnostic(DiagnosticDescriptorCreationAnalyzer.DefineDiagnosticDescriptionCorrectlyRule).WithLocation(0) 4382var test = new VerifyVB.Test 4411var test = new VerifyVB.Test 4448var test = new VerifyVB.Test
MetaAnalyzers\DoNotStorePerCompilationDataOntoFieldsRuleTests.cs (8)
15using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 128await VerifyVB.VerifyAnalyzerAsync(source, expected); 280await VerifyVB.VerifyAnalyzerAsync(source); 481return VerifyVB.VerifyAnalyzerAsync($@" 512return VerifyVB.VerifyAnalyzerAsync($@" 543return VerifyVB.VerifyAnalyzerAsync($@" 574return VerifyVB.VerifyAnalyzerAsync($@" 609VerifyVB.Diagnostic()
MetaAnalyzers\DoNotUseCompilationGetSemanticModelTests.cs (6)
11using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 41await VerifyVB.VerifyAnalyzerAsync(@" 92await VerifyVB.VerifyAnalyzerAsync(@" 145await VerifyVB.VerifyAnalyzerAsync(@" 190await VerifyVB.VerifyAnalyzerAsync(@" 212VerifyVB.Diagnostic().WithLocation(line, column);
MetaAnalyzers\EnableConcurrentExecutionAnalyzerTests.cs (3)
11using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 92await VerifyVB.VerifyCodeFixAsync(code, fixedCode); 145await VerifyVB.VerifyAnalyzerAsync(code);
MetaAnalyzers\InvalidReportDiagnosticRuleTests.cs (4)
12using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 179await VerifyVB.VerifyAnalyzerAsync(source, expected); 266await VerifyVB.VerifyAnalyzerAsync(source); 278VerifyVB.Diagnostic()
MetaAnalyzers\InvalidSyntaxKindTypeArgumentRuleTests.cs (4)
14using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 108await VerifyVB.VerifyAnalyzerAsync(source, expected); 191await VerifyVB.VerifyAnalyzerAsync(source); 203VerifyVB.Diagnostic(BasicRegisterActionAnalyzer.InvalidSyntaxKindTypeArgumentRule)
MetaAnalyzers\MissingDiagnosticAnalyzerAttributeRuleTests.cs (6)
19using VerifyVB = VisualBasicCodeFixVerifier<DiagnosticAnalyzerAttributeAnalyzer, BasicApplyDiagnosticAnalyzerAttributeFix>; 144DiagnosticResult expected = VerifyVB.Diagnostic(DiagnosticAnalyzerAttributeAnalyzer.MissingDiagnosticAnalyzerAttributeRule).WithLocation(6, 7).WithArguments(WellKnownTypeNames.MicrosoftCodeAnalysisDiagnosticsDiagnosticAnalyzerAttribute); 146await VerifyVB.VerifyAnalyzerAsync(source, expected); 168await new VerifyVB.Test 200await new VerifyVB.Test 271await VerifyVB.VerifyAnalyzerAsync(source);
MetaAnalyzers\MissingKindArgumentToRegisterActionRuleTests.cs (5)
14using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 89await VerifyVB.VerifyAnalyzerAsync(source, expected); 161await VerifyVB.VerifyAnalyzerAsync(source, expected); 224await VerifyVB.VerifyAnalyzerAsync(source, expected); 253return VerifyVB.Diagnostic(rule).WithLocation(line, column);
MetaAnalyzers\PreferIsKindAnalyzerTests.cs (9)
13using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 96await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 154await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 236await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 326await new VerifyVB.Test 375await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 423await VerifyVB.VerifyCodeFixAsync(source, source); 483await VerifyVB.VerifyCodeFixAsync(source, fixedSource); 520await VerifyVB.VerifyCodeFixAsync(source, source);
MetaAnalyzers\StartActionWithNoRegisteredActionsRuleTests.cs (7)
14using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 123await VerifyVB.VerifyAnalyzerAsync(source, expected); 363await VerifyVB.VerifyAnalyzerAsync(source); 407await VerifyVB.VerifyAnalyzerAsync(source); 453await VerifyVB.VerifyAnalyzerAsync(source); 502await VerifyVB.VerifyAnalyzerAsync(source); 514VerifyVB.Diagnostic(BasicRegisterActionAnalyzer.StartActionWithNoRegisteredActionsRule)
MetaAnalyzers\StartActionWithOnlyEndActionRuleTests.cs (5)
14using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 129await VerifyVB.VerifyAnalyzerAsync(source, expected); 285await VerifyVB.VerifyAnalyzerAsync(source); 332await VerifyVB.VerifyAnalyzerAsync(source); 344VerifyVB.Diagnostic(BasicRegisterActionAnalyzer.StartActionWithOnlyEndActionRule)
MetaAnalyzers\SymbolIsBannedInAnalyzersTests.cs (6)
15using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 172await new VerifyVB.Test 193VerifyVB.Diagnostic("RS1035").WithSpan(12, 9, 12, 33).WithArguments("File", ": Do not do file IO in analyzers"), 209await new VerifyVB.Test 230VerifyVB.Diagnostic("RS1036").WithSpan(7, 7, 7, 27).WithArguments("MyDiagnosticAnalyzer"), 238await new VerifyVB.Test
MetaAnalyzers\UnsupportedSymbolKindArgumentRuleTests.cs (4)
13using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 153await VerifyVB.VerifyAnalyzerAsync(source, expected); 251await VerifyVB.VerifyAnalyzerAsync(source); 263VerifyVB.Diagnostic(BasicRegisterActionAnalyzer.UnsupportedSymbolKindArgumentRule)
UpgradeMSBuildWorkspaceAnalyzerTests.cs (2)
12using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 39await new VerifyVB.Test()
UseReturnValueFromImmutableObjectMethodTests.cs (6)
12using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 81await VerifyVB.VerifyAnalyzerAsync(source, documentExpected, projectExpected, solutionExpected, compilationExpected); 117await VerifyVB.VerifyAnalyzerAsync(source, expected); 171await VerifyVB.VerifyAnalyzerAsync(source); 206await VerifyVB.VerifyCodeFixAsync(source, source); 213VerifyVB.Diagnostic().WithLocation(markupKey).WithArguments(objectName, methodName);
Microsoft.CodeAnalysis.BannedApiAnalyzers.UnitTests (9)
RestrictedInternalsVisibleToAnalyzerTests.cs (4)
14using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 28VerifyVB.Diagnostic() 33VerifyVB.Diagnostic() 96var test = new VerifyVB.Test
SymbolIsBannedAnalyzerTests.cs (5)
14using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 32=> VerifyVB.Diagnostic(descriptor) 38var test = new VerifyVB.Test 72await VerifyVB.VerifyAnalyzerAsync(@"Class C 1672var test = new VerifyVB.Test
Roslyn.Diagnostics.Analyzers.UnitTests (70)
DoNotMixAttributesFromDifferentVersionsOfMEFTests.cs (11)
11using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 178await VerifyVB.VerifyAnalyzerAsync(@" 210await VerifyVB.VerifyAnalyzerAsync(@" 250await VerifyVB.VerifyAnalyzerAsync(@" 300await VerifyVB.VerifyAnalyzerAsync(@" 352await new VerifyVB.Test 394await VerifyVB.VerifyAnalyzerAsync(@" 437await VerifyVB.VerifyAnalyzerAsync(@" 494await VerifyVB.VerifyAnalyzerAsync(@" 562await VerifyVB.VerifyAnalyzerAsync(@" 603VerifyVB.Diagnostic()
ExportedPartsShouldHaveImportingConstructorTests.cs (23)
11using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 60await new VerifyVB.Test 130await new VerifyVB.Test 224await new VerifyVB.Test 230ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(4, 2, 4, 17).WithArguments("D") }, 286await new VerifyVB.Test 341await new VerifyVB.Test 402await new VerifyVB.Test 473await new VerifyVB.Test 479ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(4, 2, 4, 8).WithArguments("C") }, 545await new VerifyVB.Test 551ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(2, 2, 2, mefNamespace.Length + 9).WithArguments("C") }, 644await new VerifyVB.Test 650ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(4, 2, 4, 8).WithArguments("C") }, 722await new VerifyVB.Test 728ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(6, 5, 6, 21).WithArguments("C") }, 796await new VerifyVB.Test 802ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(4, 5, 4, 21).WithArguments("C") }, 876await new VerifyVB.Test 882ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(6, 6, 6, 26).WithArguments("C") }, 952await new VerifyVB.Test 960VerifyVB.Diagnostic().WithSpan(10, 5, 10, 32).WithArguments("C"), 961VerifyVB.Diagnostic().WithSpan(13, 5, 13, 34).WithArguments("C"),
ImportingConstructorShouldBeObsoleteTests.cs (14)
11using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 78await new VerifyVB.Test 189await new VerifyVB.Test 195ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(9, 6, 9, 66).WithArguments("C") }, 301await new VerifyVB.Test 307ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(7, 6, 7, 26).WithArguments("C") }, 407await new VerifyVB.Test 413ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(6, 6, 6, 26).WithArguments("C") }, 521await new VerifyVB.Test 527ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(8, 6, 8, 14).WithArguments("C") }, 637await new VerifyVB.Test 643ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(9, 6, 9, 59).WithArguments("C") }, 753await new VerifyVB.Test 759ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(8, 6, 8, 35).WithArguments("C") },
PartsExportedWithMEFv2MustBeMarkedAsSharedTests.cs (5)
11using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 62await VerifyVB.VerifyAnalyzerAsync(@" 95await new VerifyVB.Test 141await VerifyVB.VerifyCodeFixAsync(@" 187await VerifyVB.VerifyCodeFixAsync(@"
SpecializedEnumerableCreationAnalyzerTests.cs (11)
11using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 39VerifyVB.Diagnostic(SpecializedEnumerableCreationAnalyzer.UseEmptyEnumerableRule).WithLocation(line, column); 49VerifyVB.Diagnostic(SpecializedEnumerableCreationAnalyzer.UseSingletonEnumerableRule).WithLocation(line, column); 187await VerifyVB.VerifyAnalyzerAsync(@" 206await VerifyVB.VerifyAnalyzerAsync(@" 222await VerifyVB.VerifyAnalyzerAsync(@" 241await VerifyVB.VerifyAnalyzerAsync(@" 261await VerifyVB.VerifyAnalyzerAsync(@" 281await VerifyVB.VerifyAnalyzerAsync(@" 298await VerifyVB.VerifyAnalyzerAsync(@" 319await VerifyVB.VerifyAnalyzerAsync(@"
TestExportsShouldNotBeDiscoverableTests.cs (6)
11using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 129await new VerifyVB.Test 135ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(4, 2, 4, 8).WithArguments("C") }, 163await new VerifyVB.Test 169ExpectedDiagnostics = { VerifyVB.Diagnostic().WithSpan(2, 2, 2, mefNamespace.Length + 9).WithArguments("C") }, 192await new VerifyVB.Test
Test.Utilities (1)
VisualBasicSecurityCodeFixVerifier`2+Test.cs (1)
17public class Test : VisualBasicCodeFixVerifier<TAnalyzer, TCodeFix>.Test
Text.Analyzers.UnitTests (19)
EnumsShouldHavePluralNamesTests.cs (19)
13using VerifyVB = Test.Utilities.VisualBasicCodeFixVerifier< 37await VerifyVB.VerifyAnalyzerAsync(@" 65await VerifyVB.VerifyAnalyzerAsync(@" 116await VerifyVB.VerifyAnalyzerAsync(@" 159await VerifyVB.VerifyAnalyzerAsync(@" 189await VerifyVB.VerifyAnalyzerAsync(@" 242await VerifyVB.VerifyAnalyzerAsync(@" 288await VerifyVB.VerifyAnalyzerAsync(@" 315await VerifyVB.VerifyAnalyzerAsync(@" 343await VerifyVB.VerifyAnalyzerAsync(@" 371await VerifyVB.VerifyAnalyzerAsync(@" 398await VerifyVB.VerifyAnalyzerAsync(@" 425await VerifyVB.VerifyAnalyzerAsync(@" 453await VerifyVB.VerifyAnalyzerAsync(@" 481await VerifyVB.VerifyAnalyzerAsync(@" 509await VerifyVB.VerifyAnalyzerAsync(@" 544await VerifyVB.VerifyAnalyzerAsync(@" 567=> VerifyVB.Diagnostic(EnumsShouldHavePluralNamesAnalyzer.Rule_CA1714) 579=> VerifyVB.Diagnostic(EnumsShouldHavePluralNamesAnalyzer.Rule_CA1717)