1 implementation of IGlobalOptionService
Microsoft.CodeAnalysis.Workspaces (1)
Options\GlobalOptionService.cs (1)
22[ImportMany] IEnumerable<Lazy<IOptionPersisterProvider>> optionPersisterProviders) : IGlobalOptionService
16 references to IGlobalOptionService
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Utilities\GlobalOptionsExtensions.cs (1)
14/// Sets options stored in <see cref="IGlobalOptionService"/> that are read by command handlers from the text editor to given <see cref="IEditorOptions"/>.
Workspaces\EditorTestWorkspace.cs (1)
500var globalOptions = GlobalOptions;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
Options\GlobalOptionsTests.cs (1)
174/// Our mock <see cref="IGlobalOptionService"/> implementation returns a non-default value for each option it reads.
Structure\StructureTaggerTests.cs (5)
56var globalOptions = workspace.GlobalOptions; 123var globalOptions = workspace.GlobalOptions; 168var globalOptions = workspace.GlobalOptions; 213var globalOptions = workspace.GlobalOptions; 265var globalOptions = workspace.GlobalOptions;
Microsoft.CodeAnalysis.Features (2)
Diagnostics\Options\SolutionCrawlerOptionsStorage.cs (2)
78/// <see cref="IsFullSolutionAnalysisEnabled(IGlobalOptionService, string, out bool, out bool)"/>. 95/// <see cref="IsFullSolutionAnalysisEnabled(IGlobalOptionService, string)"/>.
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\Options\ClientFallbackAnalyzerConfigOptionsProvider.cs (1)
15/// Flows editorconfig options stored by <see cref="IGlobalOptionService"/> to <see cref="Solution.FallbackAnalyzerOptions"/> whenever a new language is added to one of the target workspaces.
Features\Options\SolutionAnalyzerConfigOptionsUpdater.cs (1)
22/// Keeps <see cref="Solution.FallbackAnalyzerOptions"/> up-to-date with global option values maintained by <see cref="IGlobalOptionService"/>.
Microsoft.CodeAnalysis.Workspaces (4)
Options\GlobalOptionService.cs (1)
18[Export(typeof(IGlobalOptionService)), Shared]
Options\ILegacyWorkspaceOptionService.cs (1)
22IGlobalOptionService GlobalOptions { get; }
Options\LegacyWorkspaceOptionService.cs (2)
19internal sealed class LegacyGlobalOptionService(IGlobalOptionService globalOptionService) : ILegacyGlobalOptionService 29public IGlobalOptionService GlobalOptions { get; } = globalOptionService;