1 write to _hostCompilationWithAnalyzers
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\CompilationWithAnalyzersPair.cs (1)
35
_hostCompilationWithAnalyzers
= hostCompilationWithAnalyzers;
5 references to _hostCompilationWithAnalyzers
Microsoft.CodeAnalysis.Workspaces (5)
Diagnostics\CompilationWithAnalyzersPair.cs (5)
40
public Compilation? HostCompilation =>
_hostCompilationWithAnalyzers
?.Compilation;
44
public CompilationWithAnalyzers? HostCompilationWithAnalyzers =>
_hostCompilationWithAnalyzers
;
46
public bool ReportSuppressedDiagnostics => _projectCompilationWithAnalyzers?.AnalysisOptions.ReportSuppressedDiagnostics ??
_hostCompilationWithAnalyzers
!.AnalysisOptions.ReportSuppressedDiagnostics;
48
public bool ConcurrentAnalysis => _projectCompilationWithAnalyzers?.AnalysisOptions.ConcurrentAnalysis ??
_hostCompilationWithAnalyzers
!.AnalysisOptions.ConcurrentAnalysis;
54
public ImmutableArray<DiagnosticAnalyzer> HostAnalyzers =>
_hostCompilationWithAnalyzers
?.Analyzers ?? [];