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)
70public async Task<AnalysisResultPair?> GetAnalysisResultAsync(CancellationToken cancellationToken) 79return AnalysisResultPair.FromResult(projectAnalysisResult, hostAnalysisResult); 82public async Task<AnalysisResultPair?> GetAnalysisResultAsync(SyntaxTree tree, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken) 91return AnalysisResultPair.FromResult(projectAnalysisResult, hostAnalysisResult); 94public async Task<AnalysisResultPair?> GetAnalysisResultAsync(AdditionalText file, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken) 103return AnalysisResultPair.FromResult(projectAnalysisResult, hostAnalysisResult); 106public async Task<AnalysisResultPair?> GetAnalysisResultAsync(SemanticModel model, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken) 115return AnalysisResultPair.FromResult(projectAnalysisResult, hostAnalysisResult);
Diagnostics\Extensions.cs (4)
102this AnalysisResultPair analysisResult, 322public static async Task<(AnalysisResultPair? analysisResult, ImmutableArray<Diagnostic> additionalDiagnostics)> GetAnalysisResultAsync( 329var result = await GetAnalysisResultAsync(compilationWithAnalyzers, documentAnalysisScope, cancellationToken).ConfigureAwait(false); 335private static async Task<AnalysisResultPair?> GetAnalysisResultAsync(