21 references to VerifyAnalyzerDiagnostics
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (19)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.cs (4)
42CreateCompilationWithMscorlib461(source).VerifyAnalyzerDiagnostics(new[] { analyzer }, options); 63CreateCompilationWithMscorlib461(source).VerifyAnalyzerDiagnostics(new[] { new CSharpTrackingDiagnosticAnalyzer() }); 82CreateCompilationWithMscorlib461(source).VerifyAnalyzerDiagnostics(new[] { new CSharpTrackingDiagnosticAnalyzer() }); 92}").VerifyAnalyzerDiagnostics(new[] { new CSharpTrackingDiagnosticAnalyzer() });
Diagnostics\DiagnosticAnalyzerTests.cs (10)
229.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { new ImplicitlyDeclaredSymbolAnalyzer() }); 559.VerifyAnalyzerDiagnostics(analyzers); 1272.VerifyAnalyzerDiagnostics(analyzers); 1400compilation.VerifyAnalyzerDiagnostics(analyzers); 1437compilation.VerifyAnalyzerDiagnostics(analyzers, expected: expected); 1441compilation.VerifyAnalyzerDiagnostics(analyzers, expected: expected); 1702compilation.VerifyAnalyzerDiagnostics(analyzers, analyzerOptions, null, expected: expected); 1890compilation.VerifyAnalyzerDiagnostics(analyzers); 2853compilation.VerifyAnalyzerDiagnostics(analyzers, expected: diagnostics); 3538compilation.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { namedTypeAnalyzer });
Diagnostics\DiagnosticSuppressorTests.cs (1)
31=> c.VerifyAnalyzerDiagnostics(analyzers, expected: expected);
Diagnostics\OperationAnalyzerTests.cs (4)
189.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { new BadStuffTestAnalyzer() }, null, null); 1299.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { new NoneOperationTestAnalyzer() }, null, null); 1614.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { new OperatorPropertyPullerTestAnalyzer() }, null, null); 1739.VerifyAnalyzerDiagnostics(new DiagnosticAnalyzer[] { new InvocationTestAnalyzer() }, null, null);
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\SuppressMessageAttributeCompilerTests.cs (1)
31compilation.VerifyAnalyzerDiagnostics(analyzers, expected: diagnostics);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1164compilation.VerifyAnalyzerDiagnostics(analyzers, Nothing, Nothing, expected)