14 references to ICompilationFactoryService
Microsoft.CodeAnalysis.Workspaces (14)
FindSymbols\FindReferences\DependentProjectsFinder.cs (2)
401
var
factory = project.Services.GetRequiredService<
ICompilationFactoryService
>();
Workspace\Host\HostLanguageServices.cs (2)
81
internal virtual
ICompilationFactoryService
? CompilationFactory
83
get { return this.GetService<
ICompilationFactoryService
>(); }
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (2)
613
if (projectWithMetadataReference.LanguageServices.GetService<
ICompilationFactoryService
>() != null &&
614
referencedProject.LanguageServices.GetService<
ICompilationFactoryService
>() == null)
Workspace\Solution\Project.cs (1)
95
public bool SupportsCompilation => this.Services.GetService<
ICompilationFactoryService
>() != null;
Workspace\Solution\ProjectState.cs (3)
179
var
compilationFactory = LanguageServices.GetService<
ICompilationFactoryService
>();
646
public bool SupportsCompilation => this.LanguageServices.GetService<
ICompilationFactoryService
>() != null;
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
649
var
compilationFactory = this.ProjectState.LanguageServices.GetRequiredService<
ICompilationFactoryService
>();
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (2)
395
var
compilationFactory = projectState.LanguageServices.GetRequiredService<
ICompilationFactoryService
>();