77 references to WellKnownLspServerKinds
Microsoft.CodeAnalysis.LanguageServer.Protocol (77)
CSharpVisualBasicLanguageServerFactory.cs (1)
33WellKnownLspServerKinds serverKind,
Handler\CodeLens\CodeLensRefreshQueueFactory.cs (1)
32public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Completion\CompletionListCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new CompletionListCache();
Handler\Configuration\DidChangeConfigurationNotificationHandlerFactory.cs (1)
26public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\AbstractWorkspacePullDiagnosticsHandler.cs (1)
64if (context.ServerKind == WellKnownLspServerKinds.RazorLspServer)
Handler\Diagnostics\DiagnosticSourceProviders\WorkspaceDiagnosticSourceHelpers.cs (1)
63if (context.ServerKind == WellKnownLspServerKinds.RoslynTypeScriptLspServer &&
Handler\Diagnostics\DiagnosticsRefreshQueue.cs (1)
36public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\DocumentPullDiagnosticHandlerFactory.cs (1)
36public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticHandlerFactory.cs (1)
39public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (1)
24public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Diagnostics\WorkspacePullDiagnosticHandlerFactory.cs (1)
24public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\InlayHint\InlayHintCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind) => new InlayHintCache();
Handler\InlayHint\InlayHintRefreshQueueFactory.cs (1)
32public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
58var isRazorRequest = context.ServerKind == WellKnownLspServerKinds.RazorLspServer;
Handler\RelatedDocuments\RelatedDocumentsHandler.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\RequestContext.cs (3)
151public readonly WellKnownLspServerKinds ServerKind; 176WellKnownLspServerKinds serverKind, 232WellKnownLspServerKinds serverKind,
Handler\ResolveDataCacheFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangeHandlerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRangesHandlerFactory.cs (1)
26public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SemanticTokens\SemanticTokensRefreshQueueFactory.cs (1)
28public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\ServerInfoProvider.cs (2)
11public ServerInfoProvider(WellKnownLspServerKinds serverKind, ImmutableArray<string> supportedLanguages) 17public readonly WellKnownLspServerKinds ServerKind;
Handler\SourceGenerators\SourceGeneratorRefreshQueueFactory.cs (1)
19public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\DocumentSpellCheckHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\SpellCheck\WorkspaceSpellCheckHandlerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\Telemetry\RequestTelemetryLoggerFactory.cs (1)
20public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
ILanguageServerFactory.cs (1)
19WellKnownLspServerKinds serverKind,
LspServices\AbstractExportLspServiceAttribute.cs (2)
35public WellKnownLspServerKinds? ServerKind { get; } 57Type serviceType, string contractName, Type contractType, bool isStateless, WellKnownLspServerKinds serverKind)
LspServices\AbstractLspServiceProvider.cs (1)
25public LspServices CreateServices(WellKnownLspServerKinds serverKind, FrozenDictionary<string, ImmutableArray<BaseService>> baseServices)
LspServices\ExportCSharpVisualBasicLspServiceFactoryAttribute.cs (2)
16public ExportCSharpVisualBasicLspServiceFactoryAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any) : base(type, ProtocolConstants.RoslynLspLanguagesContract, serverKind)
LspServices\ExportCSharpVisualBasicStatelessLspServiceAttribute.cs (2)
13public ExportCSharpVisualBasicStatelessLspServiceAttribute(Type type, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any) : base(type, ProtocolConstants.RoslynLspLanguagesContract, serverKind)
LspServices\ExportLspServiceFactoryAttribute.cs (2)
21Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\ExportStatelessLspServiceAttribute.cs (2)
21Type serviceType, string contractName, WellKnownLspServerKinds serverKind = WellKnownLspServerKinds.Any)
LspServices\ILspServiceFactory.cs (1)
13ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind);
LspServices\LspServiceMetadataView.cs (2)
17public WellKnownLspServerKinds ServerKind { get; } 37ServerKind = (WellKnownLspServerKinds)metadata[nameof(AbstractExportLspServiceAttribute.ServerKind)];
LspServices\LspServices.cs (5)
39WellKnownLspServerKinds serverKind, 53foreach (var lazyServiceFactory in mefLspServiceFactories.Where(f => f.Metadata.ServerKind == WellKnownLspServerKinds.Any)) 57foreach (var lazyService in mefLspServices.Where(s => s.Metadata.ServerKind == WellKnownLspServerKinds.Any)) 74Contract.ThrowIfFalse(metadata.ServerKind == WellKnownLspServerKinds.Any); 83Contract.ThrowIfTrue(existing.Metadata.ServerKind == WellKnownLspServerKinds.Any);
RoslynLanguageServer.cs (4)
26private readonly WellKnownLspServerKinds _serverKind; 36WellKnownLspServerKinds serverKind, 73WellKnownLspServerKinds serverKind, 101if (serverKind == WellKnownLspServerKinds.CSharpVisualBasicLspServer)
WellKnownLspServerKinds.cs (24)
49public static string ToUserVisibleString(this WellKnownLspServerKinds server) 53WellKnownLspServerKinds.RazorLspServer => "Razor C# Language Server Client", 54WellKnownLspServerKinds.LiveShareLspServer => "Live Share C#/Visual Basic Language Server Client", 55WellKnownLspServerKinds.AlwaysActiveVSLspServer => "Roslyn Language Server Client", 56WellKnownLspServerKinds.CSharpVisualBasicLspServer => "Roslyn Language Server Client", 59WellKnownLspServerKinds.XamlLspServer => "XAML Language Server Client (Experimental)", 60WellKnownLspServerKinds.XamlLspServerDisableUX => "XAML Language Server Client for LiveShare and Codespaces", 61WellKnownLspServerKinds.RoslynTypeScriptLspServer => "Roslyn TypeScript Language Server Client", 66public static string ToTelemetryString(this WellKnownLspServerKinds server) 71WellKnownLspServerKinds.RazorLspServer => "RazorInProcLanguageClient", 74WellKnownLspServerKinds.LiveShareLspServer => "LiveShareInProcLanguageClient", 77WellKnownLspServerKinds.AlwaysActiveVSLspServer => "AlwaysActivateInProcLanguageClient", 80WellKnownLspServerKinds.CSharpVisualBasicLspServer => "CSharpVisualBasicLanguageServerFactory", 83WellKnownLspServerKinds.XamlLspServer => "XamlInProcLanguageClient", 86WellKnownLspServerKinds.XamlLspServerDisableUX => "XamlInProcLanguageClientDisableUX", 88WellKnownLspServerKinds.RoslynTypeScriptLspServer => "RoslynTypeScriptLspServer", 93public static string GetContractName(this WellKnownLspServerKinds server) 97WellKnownLspServerKinds.RazorLspServer => ProtocolConstants.RoslynLspLanguagesContract, 98WellKnownLspServerKinds.LiveShareLspServer => ProtocolConstants.RoslynLspLanguagesContract, 99WellKnownLspServerKinds.AlwaysActiveVSLspServer => ProtocolConstants.RoslynLspLanguagesContract, 100WellKnownLspServerKinds.CSharpVisualBasicLspServer => ProtocolConstants.RoslynLspLanguagesContract, 101WellKnownLspServerKinds.XamlLspServer => "XamlLspLanguages", 102WellKnownLspServerKinds.XamlLspServerDisableUX => "XamlLspLanguages", 103WellKnownLspServerKinds.RoslynTypeScriptLspServer => ProtocolConstants.TypeScriptLanguageContract,
Workspaces\LspWorkspaceManagerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)