1 instantiation of HostDiagnosticAnalyzers
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionState.cs (1)
111
=> new(() => new
HostDiagnosticAnalyzers
(analyzerReferences));
11 references to HostDiagnosticAnalyzers
Microsoft.CodeAnalysis.CSharp.Features (1)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (1)
128
var
hostAnalyzers = document.Project.Solution.SolutionState.Analyzers;
Microsoft.CodeAnalysis.Features (5)
Diagnostics\IDiagnosticAnalyzerService.cs (2)
96
/// <inheritdoc cref="
HostDiagnosticAnalyzers
.GetAllDiagnosticIds"/>
100
/// <inheritdoc cref="
HostDiagnosticAnalyzers
.GetDiagnosticDescriptorsPerReference"/>
Diagnostics\Service\DiagnosticAnalyzerService.HostAnalyzerInfo.cs (2)
115
static HostAnalyzerInfo CreateLanguageSpecificAnalyzerMap(HostAnalyzerInfoKey arg, (
HostDiagnosticAnalyzers
HostAnalyzers, ImmutableHashSet<object> ReferenceIdsToRedirect) state)
204
static ImmutableHashSet<object> GetFeaturesAnalyzerReferenceIds(
HostDiagnosticAnalyzers
hostAnalyzers)
Diagnostics\Service\DiagnosticAnalyzerService.ProjectStates.cs (1)
58
var
solutionAnalyzers = project.Solution.SolutionState.Analyzers;
Microsoft.CodeAnalysis.Workspaces (5)
Diagnostics\SkippedHostAnalyzersInfo.cs (1)
48
HostDiagnosticAnalyzers
hostAnalyzers,
Workspace\Solution\SolutionState.cs (4)
68
private readonly Lazy<
HostDiagnosticAnalyzers
> _lazyAnalyzers;
87
Lazy<
HostDiagnosticAnalyzers
>? lazyAnalyzers)
110
static Lazy<
HostDiagnosticAnalyzers
> CreateLazyHostDiagnosticAnalyzers(IReadOnlyList<AnalyzerReference> analyzerReferences)
137
public
HostDiagnosticAnalyzers
Analyzers => _lazyAnalyzers.Value;