4 references to GetAnalyzerSyntaxDiagnosticsAsync
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
193
await compilationWithAnalyzers.
GetAnalyzerSyntaxDiagnosticsAsync
(tree, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
4258
await compilationWithAnalyzers.
GetAnalyzerSyntaxDiagnosticsAsync
(tree, cancellationToken).ConfigureAwait(false) :
Diagnostics\GetDiagnosticsTests.cs (2)
753
await Assert.ThrowsAsync<OperationCanceledException>(() => compilationWithAnalyzers.
GetAnalyzerSyntaxDiagnosticsAsync
(tree, analyzer.CancellationToken));
756
var diagnostics = await compilationWithAnalyzers.
GetAnalyzerSyntaxDiagnosticsAsync
(tree, CancellationToken.None);