9 references to GetRequiredLspService
Microsoft.CodeAnalysis.LanguageServer (9)
HostWorkspace\FileWatching\LspFileChangeWatcher.cs (2)
30_clientLanguageServerManager = languageServerHost.GetRequiredLspService<IClientLanguageServerManager>(); 39var clientCapabilitiesProvider = languageServerHost.GetRequiredLspService<IInitializeManager>();
HostWorkspace\ProjectDependencyHelper.cs (1)
130var languageServerManager = LanguageServerHost.Instance.GetRequiredLspService<IClientLanguageServerManager>();
HostWorkspace\ProjectInitializationHandler.cs (1)
48var languageServerManager = LanguageServerHost.Instance.GetRequiredLspService<IClientLanguageServerManager>();
HostWorkspace\ProjectTelemetry\ProjectLoadTelemetryReporter.cs (1)
95var clientLanguageServerManager = instance.GetRequiredLspService<IClientLanguageServerManager>();
HostWorkspace\RazorDynamicFileInfoProvider.cs (2)
68var clientLanguageServerManager = LanguageServerHost.Instance.GetRequiredLspService<IClientLanguageServerManager>(); 98var clientLanguageServerManager = LanguageServerHost.Instance.GetRequiredLspService<IClientLanguageServerManager>();
Logging\LspLogMessageLogger.cs (1)
64var _ = server.GetRequiredLspService<IClientLanguageServerManager>().SendNotificationAsync(Methods.WindowLogMessageName, new LogMessageParams()
Logging\ShowToastNotification.cs (1)
31var languageServerManager = LanguageServerHost.Instance.GetRequiredLspService<IClientLanguageServerManager>();