6 references to InitializeName
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Handler\RequestContextFactory.cs (2)
29
if (clientCapabilities is null && queueItem.MethodName != Methods.
InitializeName
)
31
throw new InvalidOperationException($"ClientCapabilities was null for a request other than {Methods.
InitializeName
}.");
Handler\ServerLifetime\InitializeHandler.cs (2)
14
[Method(Methods.
InitializeName
)]
30
throw new InvalidOperationException($"{nameof(Methods.
InitializeName
)} called multiple times");
Protocol\Methods.Lifecyle.cs (1)
26
public static readonly LspRequest<InitializeParams, InitializeResult> Initialize = new(
InitializeName
);
RoslynLanguageServer.cs (1)
234
Methods.
InitializeName
=> true,