2 implementations of ILegacyGlobalOptionsWorkspaceService
Microsoft.CodeAnalysis.EditorFeatures (1)
Options\LegacyGlobalOptionsWorkspaceService.cs (1)
19internal sealed class LegacyGlobalOptionsWorkspaceService(IGlobalOptionService globalOptions) : ILegacyGlobalOptionsWorkspaceService
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Options\OmnisharpLegacyGlobalOptionsWorkspaceService.cs (1)
18internal sealed class OmnisharpLegacyGlobalOptionsWorkspaceService : ILegacyGlobalOptionsWorkspaceService
23 references to ILegacyGlobalOptionsWorkspaceService
Microsoft.CodeAnalysis.EditorFeatures (1)
Options\LegacyGlobalOptionsWorkspaceService.cs (1)
16[ExportWorkspaceService(typeof(ILegacyGlobalOptionsWorkspaceService)), Shared]
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Options\OmnisharpLegacyGlobalOptionsWorkspaceService.cs (1)
17[ExportWorkspaceService(typeof(ILegacyGlobalOptionsWorkspaceService)), Shared]
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (4)
RazorCSharpFormattingInteractionService.cs (4)
27var legacyOptionsService = services.GetService<ILegacyGlobalOptionsWorkspaceService>(); 92var legacyOptionsService = services.GetService<ILegacyGlobalOptionsWorkspaceService>();
Microsoft.CodeAnalysis.Features (15)
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.cs (2)
247var globalOptions = document.Project.Solution.Services.GetService<ILegacyGlobalOptionsWorkspaceService>();
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.GenerateConstructorWithDialogCodeAction.cs (2)
62var globalOptions = _document.Project.Solution.Services.GetRequiredService<ILegacyGlobalOptionsWorkspaceService>();
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (5)
112var globalOptions = document.Project.Solution.Services.GetService<ILegacyGlobalOptionsWorkspaceService>(); 202bool hasEquals, bool hasGetHashCode, bool withDialog, ILegacyGlobalOptionsWorkspaceService? globalOptions, CancellationToken cancellationToken) 242ILegacyGlobalOptionsWorkspaceService? globalOptions, 259ILegacyGlobalOptionsWorkspaceService globalOptions,
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndHashWithDialogCodeAction.cs (2)
27ILegacyGlobalOptionsWorkspaceService globalOptions, 39private readonly ILegacyGlobalOptionsWorkspaceService _globalOptions = globalOptions;
GenerateOverrides\GenerateOverridesWithDialogCodeAction.cs (4)
42var globalOptionService = services.GetService<ILegacyGlobalOptionsWorkspaceService>(); 104var service = workspace.Services.GetService<ILegacyGlobalOptionsWorkspaceService>();
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectState.cs (2)
536private readonly ILegacyGlobalOptionsWorkspaceService? _globalOptions = services.GetService<ILegacyGlobalOptionsWorkspaceService>();