1 instantiation of AnalysisResultPair
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\AnalysisResultPair.cs (1)
170
return new
AnalysisResultPair
(projectAnalysisResult, hostAnalysisResult);
13 references to AnalysisResultPair
Microsoft.CodeAnalysis.Workspaces (13)
Diagnostics\AnalysisResultPair.cs (1)
165
public static
AnalysisResultPair
? FromResult(AnalysisResult? projectAnalysisResult, AnalysisResult? hostAnalysisResult)
Diagnostics\CompilationWithAnalyzersPair.cs (8)
70
public async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(CancellationToken cancellationToken)
79
return
AnalysisResultPair
.FromResult(projectAnalysisResult, hostAnalysisResult);
82
public async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(SyntaxTree tree, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken)
91
return
AnalysisResultPair
.FromResult(projectAnalysisResult, hostAnalysisResult);
94
public async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(AdditionalText file, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken)
103
return
AnalysisResultPair
.FromResult(projectAnalysisResult, hostAnalysisResult);
106
public async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(SemanticModel model, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken)
115
return
AnalysisResultPair
.FromResult(projectAnalysisResult, hostAnalysisResult);
Diagnostics\Extensions.cs (4)
102
this
AnalysisResultPair
analysisResult,
322
public static async Task<(
AnalysisResultPair
? analysisResult, ImmutableArray<Diagnostic> additionalDiagnostics)> GetAnalysisResultAsync(
329
var
result = await GetAnalysisResultAsync(compilationWithAnalyzers, documentAnalysisScope, cancellationToken).ConfigureAwait(false);
335
private static async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(