6 references to GetCodeCleanupOptions
Microsoft.CodeAnalysis.EditorFeatures (1)
Options\TextBufferOptionProviders.cs (1)
86
var options = configOptions.
GetCodeCleanupOptions
(languageServices, allowImportsInHiddenRegions, fallbackOptions);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Formatting\AbstractNewDocumentFormattingServiceTests.cs (1)
36
options?.
GetCodeCleanupOptions
(languageServices, allowImportsInHiddenRegions: false, fallbackOptions: null) ??
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Options\CodeCleanupOptionsStorage.cs (1)
18
=> globalOptions.
GetCodeCleanupOptions
(languageServices, allowImportsInHiddenRegions: null, fallbackOptions: null);
Microsoft.CodeAnalysis.Workspaces (3)
CodeCleanupOptions.cs (1)
99
return configOptions.
GetCodeCleanupOptions
(document.Project.Services, document.AllowImportsInHiddenRegions(), fallbackOptions);
CodeGenerationOptions.cs (1)
124
CleanupOptions = options.
GetCodeCleanupOptions
(languageServices, allowImportsInHiddenRegions, fallbackOptions?.CleanupOptions)
Options\LegacyGlobalCodeActionOptionsWorkspaceService.cs (1)
60
=> ValueTaskFactory.FromResult(_options.
GetCodeCleanupOptions
(languageServices, allowImportsInHiddenRegions: null, fallbackOptions: null));