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