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