11 references to GetAnalysisResultAsync
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
397var analystResult = await compilationWithAnalyzers.GetAnalysisResultAsync(cancellationToken).ConfigureAwait(false);
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
261.GetAnalysisResultAsync(CancellationToken.None).ConfigureAwait(false);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\DiagnosticAnalyzerTests.cs (2)
3896analysisResult = await compilation.WithAnalyzers(analyzers, options).GetAnalysisResultAsync(CancellationToken.None); 3945analysisResult = await compilation.WithAnalyzers(analyzers, options).GetAnalysisResultAsync(CancellationToken.None);
Diagnostics\GetDiagnosticsTests.cs (3)
839var result = await compilationWithAnalyzers.GetAnalysisResultAsync(CancellationToken.None); 1126var result = await compilationWithAnalyzers.GetAnalysisResultAsync(CancellationToken.None); 1699var result = await compilationWithAnalyzers.GetAnalysisResultAsync(CancellationToken.None);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Preview\PreviewWorkspaceTests.cs (1)
170var result = compilationWithAnalyzers.GetAnalysisResultAsync(CancellationToken.None).Result;
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\CompilationWithAnalyzersTests.cs (1)
64var analysisResult = compWithAnalyzers.GetAnalysisResultAsync(CancellationToken.None).Result;
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\CompilationWithAnalyzersPair.cs (2)
72? await ProjectCompilationWithAnalyzers.GetAnalysisResultAsync(cancellationToken).ConfigureAwait(false) 75? await HostCompilationWithAnalyzers.GetAnalysisResultAsync(cancellationToken).ConfigureAwait(false)