14 references to ICompilationFactoryService
Microsoft.CodeAnalysis.Workspaces (14)
FindSymbols\FindReferences\DependentProjectsFinder.cs (2)
403var 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)
204var compilationFactory = LanguageServices.GetService<ICompilationFactoryService>(); 671public 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>();