11 references to HostAnalyzers
Microsoft.CodeAnalysis.Features (4)
Diagnostics\Service\DocumentAnalysisExecutor.cs (1)
57
var compilationBasedHostAnalyzers = compilationWithAnalyzers?.
HostAnalyzers
.ToImmutableHashSet();
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer.Executor.cs (1)
96
|| compilationWithAnalyzers?.
HostAnalyzers
.Length > 0)
Diagnostics\Service\EngineV2\InProcOrRemoteHostAnalyzerRunner.cs (2)
100
var hostAnalyzers = documentAnalysisScope?.HostAnalyzers ?? compilationWithAnalyzers.
HostAnalyzers
;
172
var hostAnalyzers = documentAnalysisScope?.HostAnalyzers ?? compilationWithAnalyzers.
HostAnalyzers
;
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\DiagnosticAnalyzer\DiagnosticComputer.cs (1)
154
if (hostAnalyzers.Length < compilationWithAnalyzers.
HostAnalyzers
.Length)
Microsoft.CodeAnalysis.Workspaces (4)
Diagnostics\CompilationWithAnalyzersPair.cs (2)
44
public bool HasAnalyzers => ProjectAnalyzers.Any() ||
HostAnalyzers
.Any();
58
Debug.Assert(
HostAnalyzers
.Contains(analyzer));
Diagnostics\Extensions.cs (2)
344
Debug.Assert(documentAnalysisScope.HostAnalyzers.ToSet().IsSubsetOf(compilationWithAnalyzers.
HostAnalyzers
));
375
var hostAnalyzers = documentAnalysisScope?.HostAnalyzers ?? compilationWithAnalyzers.
HostAnalyzers
;
Roslyn.VisualStudio.Next.UnitTests (2)
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (2)
175
var analyzerResult = result.AnalysisResult[compilationWithAnalyzers.
HostAnalyzers
[0]];
253
return result.AnalysisResult[(isHostAnalyzer ? analyzerDriver.
HostAnalyzers
: analyzerDriver.ProjectAnalyzers)[0]];