13 references to LanguageServerConstants
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Handler\MethodAttribute.cs (1)
13
public MethodAttribute(string method) : base(method,
LanguageServerConstants
.DefaultLanguageName)
Handler\WorkspaceCommand\ExecuteWorkspaceCommandHandler.cs (1)
37
var handler = (AbstractExecuteWorkspaceCommandHandler)handlerProvider.GetMethodHandler(requestMethod, TypeRef.FromOrNull(typeof(ExecuteCommandParams)), TypeRef.FromOrNull(typeof(object)),
LanguageServerConstants
.DefaultLanguageName);
RoslynLanguageServer.cs (3)
173
language =
LanguageServerConstants
.DefaultLanguageName;
184
language =
LanguageServerConstants
.DefaultLanguageName;
218
language =
LanguageServerConstants
.DefaultLanguageName;
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\AbstractLanguageServer.cs (1)
179
language =
LanguageServerConstants
.DefaultLanguageName;
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\HandlerProvider.cs (1)
24
=> GetMethodHandler(method, requestTypeRef, responseTypeRef,
LanguageServerConstants
.DefaultLanguageName);
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\Handlers\InitializedHandler.cs (1)
14
[LanguageServerEndpoint("initialized",
LanguageServerConstants
.DefaultLanguageName)]
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\Handlers\InitializeHandler.cs (1)
13
[LanguageServerEndpoint("initialize",
LanguageServerConstants
.DefaultLanguageName)]
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\LanguageServerEndpointAttribute.cs (2)
30
: this(method,
LanguageServerConstants
.DefaultLanguageName)
38
/// <param name="language">The language name supported by this <see cref="IMethodHandler"/>. For example, <see cref="
LanguageServerConstants
.DefaultLanguageName"/>, 'C#', etc.</param>
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\RequestExecutionQueue.cs (2)
252
var (metadata, handler, methodInfo) = GetHandlerForRequest(work, language ??
LanguageServerConstants
.DefaultLanguageName);
415
handlersForMethod.TryGetValue(
LanguageServerConstants
.DefaultLanguageName, out lazyData))