137 references to Methods
Microsoft.CodeAnalysis.LanguageServer (4)
HostWorkspace\LanguageServerWorkspace.cs (4)
19/// cref="LSP.Methods.TextDocumentDidChange"/> events. Second, the project system may push changes about what files 34/// what it believes is the state of the world with respect to <see cref="LSP.Methods.TextDocumentDidOpen"/>/<see 35/// cref="LSP.Methods.TextDocumentDidChange"/>/<see cref="LSP.Methods.TextDocumentDidClose"/>. However, if it is not,
Microsoft.CodeAnalysis.LanguageServer.Protocol (133)
Handler\CodeActions\CodeActionResolveHandler.cs (1)
31[Method(LSP.Methods.CodeActionResolveName)]
Handler\CodeActions\CodeActionsHandler.cs (1)
26[Method(LSP.Methods.TextDocumentCodeActionName)]
Handler\CodeLens\CodeLensHandler.cs (1)
24[Method(LSP.Methods.TextDocumentCodeLensName)]
Handler\CodeLens\CodeLensRefreshQueue.cs (1)
38return Methods.WorkspaceCodeLensRefreshName;
Handler\CodeLens\CodeLensResolveHandler.cs (1)
20[Method(LSP.Methods.CodeLensResolveName)]
Handler\Commands\AbstractExecuteWorkspaceCommandHandler.cs (1)
22public static string GetRequestNameForCommandName(string commandName) => $"{Methods.WorkspaceExecuteCommandName}/{commandName}";
Handler\Completion\CompletionHandler.cs (1)
29[Method(LSP.Methods.TextDocumentCompletionName)]
Handler\Completion\CompletionResolveHandler.cs (1)
29[Method(LSP.Methods.TextDocumentCompletionResolveName)]
Handler\Configuration\DidChangeConfigurationNotificationHandler.cs (2)
22[Method(Methods.WorkspaceDidChangeConfigurationName)] 117Methods.WorkspaceConfigurationName, configurationParams, cancellationToken).ConfigureAwait(false);
Handler\Configuration\DidChangeConfigurationNotificationHandler_OnInitialized.cs (2)
19methodName: Methods.ClientRegisterCapabilityName, 24new Registration { Id = _registrationId.ToString(), Method = Methods.WorkspaceDidChangeConfigurationName, RegisterOptions = null }
Handler\Definitions\GoToDefinitionHandler.cs (1)
17[Method(LSP.Methods.TextDocumentDefinitionName)]
Handler\Definitions\GoToTypeDefinitionHandler.cs (1)
17[Method(LSP.Methods.TextDocumentTypeDefinitionName)]
Handler\Diagnostics\DiagnosticsRefreshQueue.cs (1)
106=> Methods.WorkspaceDiagnosticRefreshName;
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticsHandler.cs (1)
20[Method(Methods.TextDocumentDiagnosticName)]
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticsHandler_IOnInitialized.cs (2)
45methodName: Methods.ClientRegisterCapabilityName, 58Method = Methods.TextDocumentDiagnosticName,
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticsHandler.cs (1)
22[Method(Methods.WorkspaceDiagnosticName)]
Handler\DocumentChanges\DidChangeHandler.cs (1)
18[Method(Methods.TextDocumentDidChangeName)]
Handler\DocumentChanges\DidCloseHandler.cs (1)
17[Method(LSP.Methods.TextDocumentDidCloseName)]
Handler\DocumentChanges\DidOpenHandler.cs (1)
17[Method(LSP.Methods.TextDocumentDidOpenName)]
Handler\FoldingRanges\FoldingRangesHandler.cs (1)
22[Method(Methods.TextDocumentFoldingRangeName)]
Handler\Formatting\FormatDocumentHandler.cs (1)
15[Method(LSP.Methods.TextDocumentFormattingName)]
Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
21[Method(Methods.TextDocumentOnTypeFormattingName)]
Handler\Formatting\FormatDocumentRangeHandler.cs (1)
15[Method(Methods.TextDocumentRangeFormattingName)]
Handler\Highlights\DocumentHighlightHandler.cs (1)
24[Method(Methods.TextDocumentDocumentHighlightName)]
Handler\Hover\HoverHandler.cs (1)
25[Method(Methods.TextDocumentHoverName)]
Handler\InlayHint\InlayHintHandler.cs (1)
22[Method(Methods.TextDocumentInlayHintName)]
Handler\InlayHint\InlayHintRefreshQueue.cs (1)
65return Methods.WorkspaceInlayHintRefreshName;
Handler\InlayHint\InlayHintResolveHandler.cs (1)
21[Method(Methods.InlayHintResolveName)]
Handler\References\FindAllReferencesHandler.cs (1)
25[Method(LSP.Methods.TextDocumentReferencesName)]
Handler\References\FindImplementationsHandler.cs (1)
20[Method(LSP.Methods.TextDocumentImplementationName)]
Handler\Rename\PrepareRenameHandler.cs (1)
17[Method(LSP.Methods.TextDocumentPrepareRenameName)]
Handler\Rename\RenameHandler.cs (1)
21[Method(LSP.Methods.TextDocumentRenameName)]
Handler\RequestContextFactory.cs (2)
29if (clientCapabilities is null && queueItem.MethodName != Methods.InitializeName) 31throw new InvalidOperationException($"ClientCapabilities was null for a request other than {Methods.InitializeName}.");
Handler\SemanticTokens\SemanticTokensRangeHandler.cs (1)
14[Method(Methods.TextDocumentSemanticTokensRangeName)]
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (1)
113protected override string GetWorkspaceRefreshName() => Methods.WorkspaceSemanticTokensRefreshName;
Handler\ServerLifetime\InitializedHandler.cs (1)
11[Method(Methods.InitializedName)]
Handler\ServerLifetime\InitializeHandler.cs (2)
14[Method(Methods.InitializeName)] 30throw new InvalidOperationException($"{nameof(Methods.InitializeName)} called multiple times");
Handler\SignatureHelp\SignatureHelpHandler.cs (1)
23[Method(LSP.Methods.TextDocumentSignatureHelpName)]
Handler\Symbols\DocumentSymbolsHandler.cs (1)
27[Method(Methods.TextDocumentDocumentSymbolName)]
Handler\Symbols\WorkspaceSymbolsHandler.cs (1)
24[Method(Methods.WorkspaceSymbolName)]
Handler\Testing\RunTestsParams.cs (1)
18[JsonPropertyName(LSP.Methods.PartialResultTokenName)]
Handler\WorkspaceCommand\ExecuteWorkspaceCommandHandler.cs (1)
17[Method(Methods.WorkspaceExecuteCommandName)]
Protocol\CodeActionParams.cs (2)
52[JsonPropertyName(Methods.WorkDoneTokenName)] 57[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\CodeLensParams.cs (2)
29[JsonPropertyName(Methods.WorkDoneTokenName)] 34[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\ColorPresentationParams.cs (2)
41[JsonPropertyName(Methods.WorkDoneTokenName)] 46[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\CompletionParams.cs (1)
31[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\DocumentColorParams.cs (2)
26[JsonPropertyName(Methods.WorkDoneTokenName)] 31[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\DocumentDiagnosticParams.cs (2)
24[JsonPropertyName(Methods.PartialResultTokenName)] 32[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\DocumentFormattingParams.cs (1)
41[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\DocumentHighlightParams.cs (2)
19[JsonPropertyName(Methods.PartialResultTokenName)] 24[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\DocumentLinkParams.cs (2)
29[JsonPropertyName(Methods.WorkDoneTokenName)] 34[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\DocumentSymbolParams.cs (2)
33[JsonPropertyName(Methods.WorkDoneTokenName)] 38[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\ExecuteCommandParams.cs (1)
40[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\FileOperations\WorkspaceFoldersServerCapabilities.cs (1)
32/// using the <see cref="Methods.ClientUnregisterCapabilityName"/> request.
Protocol\FoldingRangeParams.cs (2)
27[JsonPropertyName(Methods.WorkDoneTokenName)] 32[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\HoverParams.cs (1)
19[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\InitializeParams.cs (1)
130[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\InlayHintParams.cs (1)
34[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\InlineValues\InlineValueParams.cs (1)
42[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\Internal\Diagnostics\VSInternalDocumentDiagnosticsParams.cs (2)
16[JsonPropertyName(Methods.WorkDoneTokenName)] 21[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Internal\Diagnostics\VSInternalWorkspaceDiagnosticsParams.cs (2)
23[JsonPropertyName(Methods.WorkDoneTokenName)] 28[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Internal\VSInternalCompletionItem.cs (1)
47/// Gets or sets a value indicating whether the client should call <see cref="Methods.TextDocumentCompletionResolve"/> to
Protocol\Internal\VSInternalDocumentSpellCheckableParams.cs (1)
16[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Internal\VSInternalReferenceParams.cs (1)
28[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Internal\VSInternalRelatedDocumentParams.cs (1)
30[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\IPartialResultParams.cs (1)
24[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\IWorkDoneProgressParams.cs (1)
28[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\LinkedEditingRangeParams.cs (1)
19[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\LogTraceParams.cs (1)
10/// Class representing the parameters for the <see cref="Methods.LogTraceName"/> notification.
Protocol\Moniker\MonikerParams.cs (2)
20[JsonPropertyName(Methods.WorkDoneTokenName)] 25[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Navigation\CallHierarchyIncomingCallsParams.cs (2)
27[JsonPropertyName(Methods.WorkDoneTokenName)] 35[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Navigation\CallHierarchyOutgoingCallsParams.cs (2)
27[JsonPropertyName(Methods.WorkDoneTokenName)] 35[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Navigation\CallHierarchyPrepareParams.cs (1)
20[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\Navigation\DeclarationParams.cs (2)
19[JsonPropertyName(Methods.WorkDoneTokenName)] 27[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Navigation\DefinitionParams.cs (2)
19[JsonPropertyName(Methods.WorkDoneTokenName)] 27[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Navigation\ImplementationParams.cs (2)
19[JsonPropertyName(Methods.WorkDoneTokenName)] 27[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Navigation\ReferenceParams.cs (2)
26[JsonPropertyName(Methods.WorkDoneTokenName)] 31[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Navigation\TypeDefinitionParams.cs (2)
19[JsonPropertyName(Methods.WorkDoneTokenName)] 27[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Navigation\TypeHierarchyPrepareParams.cs (1)
20[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\Navigation\TypeHierarchySubtypesParams.cs (2)
27[JsonPropertyName(Methods.WorkDoneTokenName)] 35[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\Navigation\TypeHierarchySupertypesParams.cs (2)
27[JsonPropertyName(Methods.WorkDoneTokenName)] 35[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\PrepareRenameParams.cs (1)
32[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\RenameParams.cs (1)
28[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\SelectionRangeParams.cs (2)
34[JsonPropertyName(Methods.WorkDoneTokenName)] 39[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\SemanticTokens\SemanticTokensDeltaParams.cs (2)
34[JsonPropertyName(Methods.WorkDoneTokenName)] 39[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\SemanticTokens\SemanticTokensParams.cs (2)
27[JsonPropertyName(Methods.WorkDoneTokenName)] 32[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\SemanticTokens\SemanticTokensRangeParams.cs (2)
34[JsonPropertyName(Methods.WorkDoneTokenName)] 39[JsonPropertyName(Methods.PartialResultTokenName)]
Protocol\SignatureHelpParams.cs (1)
30[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\TraceValue.cs (2)
12/// execution trace using <see cref="Methods.LogTraceName"/>. The initial trace value is set by the 13/// client at initialization and can be modified later using the <see cref="Methods.SetTraceName"/> notification.
Protocol\WorkspaceDiagnosticParams.cs (2)
29[JsonPropertyName(Methods.PartialResultTokenName)] 34[JsonPropertyName(Methods.WorkDoneTokenName)]
Protocol\WorkspaceSymbolParams.cs (2)
29[JsonPropertyName(Methods.PartialResultTokenName)] 36[JsonPropertyName(Methods.WorkDoneTokenName)]
RoslynLanguageServer.cs (8)
234Methods.InitializeName => true, 235Methods.InitializedName => true, 236Methods.TextDocumentDidOpenName => true, 237Methods.TextDocumentDidChangeName => true, 238Methods.TextDocumentDidCloseName => true, 239Methods.TextDocumentDidSaveName => true, 240Methods.ShutdownName => true, 241Methods.ExitName => true,
Workspaces\ILspWorkspace.cs (1)
29/// cref="LSP.Methods.TextDocumentDidChange"/>).