13 references to LanguageServerConstants
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Handler\MethodAttribute.cs (1)
13public MethodAttribute(string method) : base(method, LanguageServerConstants.DefaultLanguageName)
Handler\WorkspaceCommand\ExecuteWorkspaceCommandHandler.cs (1)
37var handler = (AbstractExecuteWorkspaceCommandHandler)handlerProvider.GetMethodHandler(requestMethod, TypeRef.FromOrNull(typeof(ExecuteCommandParams)), TypeRef.FromOrNull(typeof(object)), LanguageServerConstants.DefaultLanguageName);
RoslynLanguageServer.cs (3)
173language = LanguageServerConstants.DefaultLanguageName; 184language = LanguageServerConstants.DefaultLanguageName; 218language = LanguageServerConstants.DefaultLanguageName;
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\AbstractLanguageServer.cs (1)
179language = 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)
252var (metadata, handler, methodInfo) = GetHandlerForRequest(work, language ?? LanguageServerConstants.DefaultLanguageName); 415handlersForMethod.TryGetValue(LanguageServerConstants.DefaultLanguageName, out lazyData))