1 write to ServerKind
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\RequestContext.cs (1)
192
ServerKind
= serverKind;
6 references to ServerKind
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (2)
Cohost\RazorConfigurationChangedServiceFactory.cs (1)
31
if (context.
ServerKind
is not (WellKnownLspServerKinds.AlwaysActiveVSLspServer or WellKnownLspServerKinds.CSharpVisualBasicLspServer))
Cohost\RazorStartupServiceFactory.cs (1)
48
if (context.
ServerKind
is not (WellKnownLspServerKinds.AlwaysActiveVSLspServer or WellKnownLspServerKinds.CSharpVisualBasicLspServer))
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\Diagnostics\AbstractWorkspacePullDiagnosticsHandler.cs (1)
64
if (context.
ServerKind
== WellKnownLspServerKinds.RazorLspServer)
Handler\Diagnostics\DiagnosticSourceProviders\WorkspaceDiagnosticSourceHelpers.cs (1)
63
if (context.
ServerKind
== WellKnownLspServerKinds.RoslynTypeScriptLspServer &&
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
58
var isRazorRequest = context.
ServerKind
== WellKnownLspServerKinds.RazorLspServer;
Handler\ServerLifetime\InitializeHandler.cs (1)
43
m["serverKind"] = context.
ServerKind
.ToTelemetryString();