15 references to GetRequiredClientCapabilities
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
Handler\CodeActions\CodeActionResolveHelper.cs (1)
32context.GetRequiredClientCapabilities().Workspace?.WorkspaceEdit?.ResourceOperations ?? [],
Handler\CodeActions\CodeActionsHandler.cs (1)
57var clientCapability = context.GetRequiredClientCapabilities();
Handler\Completion\CompletionHandler.cs (1)
58var capabilityHelper = new CompletionCapabilityHelper(context.GetRequiredClientCapabilities());
Handler\Completion\CompletionResolveHandler.cs (1)
59var capabilityHelper = new CompletionCapabilityHelper(context.GetRequiredClientCapabilities());
Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (1)
121var clientCapabilities = context.GetRequiredClientCapabilities();
Handler\Diagnostics\DiagnosticSourceProviders\DiagnosticSourceManager.cs (2)
73Contract.ThrowIfFalse(provider.IsEnabled(context.GetRequiredClientCapabilities())); 85if (!provider.IsEnabled(context.GetRequiredClientCapabilities()))
Handler\Hover\HoverHandler.cs (1)
45var clientCapabilities = context.GetRequiredClientCapabilities();
Handler\MapCode\MapCodeHandler.cs (1)
61if (context.GetRequiredClientCapabilities().Workspace?.WorkspaceEdit?.DocumentChanges is true)
Handler\References\FindAllReferencesHandler.cs (1)
64var clientCapabilities = context.GetRequiredClientCapabilities();
Handler\References\FindImplementationsHandler.cs (1)
40var supportsVisualStudioExtensions = context.GetRequiredClientCapabilities().HasVisualStudioLspCapability();
Handler\SemanticTokens\SemanticTokensHelpers.cs (1)
42var supportsVisualStudioExtensions = context.GetRequiredClientCapabilities().HasVisualStudioLspCapability();
Handler\ServerLifetime\InitializedHandler.cs (1)
24var clientCapabilities = requestContext.GetRequiredClientCapabilities();
Handler\SignatureHelp\SignatureHelpHandler.cs (1)
39var supportsVisualStudioExtensions = context.GetRequiredClientCapabilities().HasVisualStudioLspCapability();
Handler\Symbols\DocumentSymbolsHandler.cs (1)
45var clientCapabilities = context.GetRequiredClientCapabilities();