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)
476
var
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)
57
var
globalOptions = workspace.GlobalOptions;
124
var
globalOptions = workspace.GlobalOptions;
169
var
globalOptions = workspace.GlobalOptions;
214
var
globalOptions = workspace.GlobalOptions;
266
var
globalOptions = workspace.GlobalOptions;
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
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)
23
/// Keeps <see cref="Solution.FallbackAnalyzerOptions"/> up-to-date with global option values maintained by <see cref="
IGlobalOptionService
"/>.
Features\Options\SolutionCrawlerOptionsStorage.cs (2)
109
/// <see cref="IsFullSolutionAnalysisEnabled(
IGlobalOptionService
, string, out bool, out bool)"/>.
126
/// <see cref="IsFullSolutionAnalysisEnabled(
IGlobalOptionService
, string)"/>.
Microsoft.CodeAnalysis.Workspaces (4)
Options\GlobalOptionService.cs (2)
20
[Export(typeof(
IGlobalOptionService
)), Shared]
25
[ImportMany] IEnumerable<Lazy<IOptionPersisterProvider>> optionPersisters) :
IGlobalOptionService
Options\ILegacyWorkspaceOptionService.cs (1)
22
IGlobalOptionService
GlobalOptions { get; }
Options\LegacyWorkspaceOptionService.cs (1)
19
internal sealed class LegacyGlobalOptionService(
IGlobalOptionService
globalOptionService) : ILegacyGlobalOptionService