10 references to IWorkspaceConfigurationService
Microsoft.CodeAnalysis.Workspaces (10)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
89
var configuration = solution.Services.GetRequiredService<
IWorkspaceConfigurationService
>().Options;
Workspace\IsolatedAnalyzerReferenceSet.Core.cs (4)
204
var
optionsService = solutionServices.GetRequiredService<
IWorkspaceConfigurationService
>();
230
var
optionsService = solutionServices.GetRequiredService<
IWorkspaceConfigurationService
>();
Workspace\IWorkspaceConfigurationService.cs (2)
17
[ExportWorkspaceService(typeof(
IWorkspaceConfigurationService
)), Shared]
20
internal sealed class DefaultWorkspaceConfigurationService() :
IWorkspaceConfigurationService
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
70
_validateStates = project.LanguageServices.SolutionServices.GetRequiredService<
IWorkspaceConfigurationService
>().Options.ValidateCompilationTrackerStates;
607
var workspacePreference = compilationState.Services.GetRequiredService<
IWorkspaceConfigurationService
>().Options.SourceGeneratorExecution;
Workspace\Workspace_SourceGeneration.cs (1)
36
var configuration = this.Services.GetRequiredService<
IWorkspaceConfigurationService
>().Options;