1 write to _hostCompilationWithAnalyzers
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\CompilationWithAnalyzersPair.cs (1)
36
_hostCompilationWithAnalyzers
= hostCompilationWithAnalyzers;
5 references to _hostCompilationWithAnalyzers
Microsoft.CodeAnalysis.Workspaces (5)
Diagnostics\CompilationWithAnalyzersPair.cs (5)
41
public Compilation? HostCompilation =>
_hostCompilationWithAnalyzers
?.Compilation;
45
public CompilationWithAnalyzers? HostCompilationWithAnalyzers =>
_hostCompilationWithAnalyzers
;
47
public bool ReportSuppressedDiagnostics => _projectCompilationWithAnalyzers?.AnalysisOptions.ReportSuppressedDiagnostics ??
_hostCompilationWithAnalyzers
!.AnalysisOptions.ReportSuppressedDiagnostics;
49
public bool ConcurrentAnalysis => _projectCompilationWithAnalyzers?.AnalysisOptions.ConcurrentAnalysis ??
_hostCompilationWithAnalyzers
!.AnalysisOptions.ConcurrentAnalysis;
55
public ImmutableArray<DiagnosticAnalyzer> HostAnalyzers =>
_hostCompilationWithAnalyzers
?.Analyzers ?? [];