6 instantiations of DelegatingCodeActionOptionsProvider
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (3)
CodeActions\OmniSharpCodeFixContextFactory.cs (3)
25=> new(document, span, diagnostics, registerCodeFix, new DelegatingCodeActionOptionsProvider(options.GetCodeActionOptions), isBlocking: false, cancellationToken); 33=> new(document, span, registerRefactoring, new DelegatingCodeActionOptionsProvider(options.GetCodeActionOptions), isBlocking: false, cancellationToken); 56new DelegatingCodeActionOptionsProvider(languageServices => optionsProvider(languageServices.Language).GetCodeActionOptions(languageServices))),
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Options\CodeActionOptionsStorage.cs (1)
41return new DelegatingCodeActionOptionsProvider(languageService => ImmutableInterlocked.GetOrAdd(ref cache, languageService.Language, (_, options) => GetCodeActionOptions(options, languageService), globalOptions));
Microsoft.CodeAnalysis.Workspaces (2)
CodeActionOptions.cs (2)
36public static readonly CodeActionOptionsProvider DefaultProvider = new DelegatingCodeActionOptionsProvider(static ls => GetDefault(ls)); 76=> new DelegatingCodeActionOptionsProvider(_ => this);