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)
61if (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)
54var isRazorRequest = context.ServerKind == WellKnownLspServerKinds.RazorLspServer;
Handler\RelatedDocuments\RelatedDocumentsHandler.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)
Handler\RequestContext.cs (3)
149public readonly WellKnownLspServerKinds ServerKind; 174WellKnownLspServerKinds serverKind, 230WellKnownLspServerKinds 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)
18public WellKnownLspServerKinds ServerKind { get; } 38ServerKind = (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)
27private readonly WellKnownLspServerKinds _serverKind; 37WellKnownLspServerKinds serverKind, 74WellKnownLspServerKinds serverKind, 102if (serverKind == WellKnownLspServerKinds.CSharpVisualBasicLspServer)
WellKnownLspServerKinds.cs (24)
51public static string ToUserVisibleString(this WellKnownLspServerKinds server) 55WellKnownLspServerKinds.RazorLspServer => "Razor C# Language Server Client", 56WellKnownLspServerKinds.LiveShareLspServer => "Live Share C#/Visual Basic Language Server Client", 57WellKnownLspServerKinds.AlwaysActiveVSLspServer => "Roslyn Language Server Client", 58WellKnownLspServerKinds.CSharpVisualBasicLspServer => "Roslyn Language Server Client", 61WellKnownLspServerKinds.XamlLspServer => "XAML Language Server Client (Experimental)", 62WellKnownLspServerKinds.XamlLspServerDisableUX => "XAML Language Server Client for LiveShare and Codespaces", 63WellKnownLspServerKinds.RoslynTypeScriptLspServer => "Roslyn TypeScript Language Server Client", 68public static string ToTelemetryString(this WellKnownLspServerKinds server) 73WellKnownLspServerKinds.RazorLspServer => "RazorInProcLanguageClient", 76WellKnownLspServerKinds.LiveShareLspServer => "LiveShareInProcLanguageClient", 79WellKnownLspServerKinds.AlwaysActiveVSLspServer => "AlwaysActivateInProcLanguageClient", 82WellKnownLspServerKinds.CSharpVisualBasicLspServer => "CSharpVisualBasicLanguageServerFactory", 85WellKnownLspServerKinds.XamlLspServer => "XamlInProcLanguageClient", 88WellKnownLspServerKinds.XamlLspServerDisableUX => "XamlInProcLanguageClientDisableUX", 90WellKnownLspServerKinds.RoslynTypeScriptLspServer => "RoslynTypeScriptLspServer", 95public static string GetContractName(this WellKnownLspServerKinds server) 99WellKnownLspServerKinds.RazorLspServer => ProtocolConstants.RoslynLspLanguagesContract, 100WellKnownLspServerKinds.LiveShareLspServer => ProtocolConstants.RoslynLspLanguagesContract, 101WellKnownLspServerKinds.AlwaysActiveVSLspServer => ProtocolConstants.RoslynLspLanguagesContract, 102WellKnownLspServerKinds.CSharpVisualBasicLspServer => ProtocolConstants.RoslynLspLanguagesContract, 103WellKnownLspServerKinds.XamlLspServer => "XamlLspLanguages", 104WellKnownLspServerKinds.XamlLspServerDisableUX => "XamlLspLanguages", 105WellKnownLspServerKinds.RoslynTypeScriptLspServer => ProtocolConstants.TypeScriptLanguageContract,
Workspaces\LspWorkspaceManagerFactory.cs (1)
25public ILspService CreateILspService(LspServices lspServices, WellKnownLspServerKinds serverKind)