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)
68
public async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(CancellationToken cancellationToken)
77
return
AnalysisResultPair
.FromResult(projectAnalysisResult, hostAnalysisResult);
80
public async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(SyntaxTree tree, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken)
89
return
AnalysisResultPair
.FromResult(projectAnalysisResult, hostAnalysisResult);
92
public async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(AdditionalText file, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken)
101
return
AnalysisResultPair
.FromResult(projectAnalysisResult, hostAnalysisResult);
104
public async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(SemanticModel model, TextSpan? filterSpan, ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers, CancellationToken cancellationToken)
113
return
AnalysisResultPair
.FromResult(projectAnalysisResult, hostAnalysisResult);
Diagnostics\Extensions.cs (4)
102
this
AnalysisResultPair
analysisResult,
316
public static async Task<(
AnalysisResultPair
? analysisResult, ImmutableArray<Diagnostic> additionalDiagnostics)> GetAnalysisResultAsync(
323
var
result = await GetAnalysisResultAsync(compilationWithAnalyzers, documentAnalysisScope, cancellationToken).ConfigureAwait(false);
329
private static async Task<
AnalysisResultPair
?> GetAnalysisResultAsync(