21 references to VerifyAnalyzerDiagnostics
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (19)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.cs (4)
42
CreateCompilationWithMscorlib461(source).
VerifyAnalyzerDiagnostics
(new[] { analyzer }, options);
63
CreateCompilationWithMscorlib461(source).
VerifyAnalyzerDiagnostics
(new[] { new CSharpTrackingDiagnosticAnalyzer() });
82
CreateCompilationWithMscorlib461(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);
1400
compilation.
VerifyAnalyzerDiagnostics
(analyzers);
1437
compilation.
VerifyAnalyzerDiagnostics
(analyzers, expected: expected);
1441
compilation.
VerifyAnalyzerDiagnostics
(analyzers, expected: expected);
1702
compilation.
VerifyAnalyzerDiagnostics
(analyzers, analyzerOptions, null, expected: expected);
1890
compilation.
VerifyAnalyzerDiagnostics
(analyzers);
2853
compilation.
VerifyAnalyzerDiagnostics
(analyzers, expected: diagnostics);
3538
compilation.
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)
31
compilation.
VerifyAnalyzerDiagnostics
(analyzers, expected: diagnostics);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
1164
compilation.
VerifyAnalyzerDiagnostics
(analyzers, Nothing, Nothing, expected)