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