1 instantiation of AnalysisResultPair
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\AnalysisResultPair.cs (1)
170return new AnalysisResultPair(projectAnalysisResult, hostAnalysisResult);
13 references to AnalysisResultPair
Microsoft.CodeAnalysis.Workspaces (13)
Diagnostics\AnalysisResultPair.cs (1)
165public static AnalysisResultPair? FromResult(AnalysisResult? projectAnalysisResult, AnalysisResult? hostAnalysisResult)
Diagnostics\CompilationWithAnalyzersPair.cs (8)
68public async Task<AnalysisResultPair?> GetAnalysisResultAsync(CancellationToken cancellationToken) 77return AnalysisResultPair.FromResult(projectAnalysisResult, hostAnalysisResult); 80public async Task<AnalysisResultPair?> GetAnalysisResultAsync(SyntaxTree tree, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken) 89return AnalysisResultPair.FromResult(projectAnalysisResult, hostAnalysisResult); 92public async Task<AnalysisResultPair?> GetAnalysisResultAsync(AdditionalText file, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken) 101return AnalysisResultPair.FromResult(projectAnalysisResult, hostAnalysisResult); 104public async Task<AnalysisResultPair?> GetAnalysisResultAsync(SemanticModel model, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken) 113return AnalysisResultPair.FromResult(projectAnalysisResult, hostAnalysisResult);
Diagnostics\Extensions.cs (4)
102this AnalysisResultPair analysisResult, 316public static async Task<(AnalysisResultPair? analysisResult, ImmutableArray<Diagnostic> additionalDiagnostics)> GetAnalysisResultAsync( 323var result = await GetAnalysisResultAsync(compilationWithAnalyzers, documentAnalysisScope, cancellationToken).ConfigureAwait(false); 329private static async Task<AnalysisResultPair?> GetAnalysisResultAsync(