10 references to GetRequiredLspService
Microsoft.CodeAnalysis.LanguageServer (10)
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\Razor\RazorDynamicFileInfoProvider.cs (2)
68var clientLanguageServerManager = LanguageServerHost.Instance.GetRequiredLspService<IClientLanguageServerManager>(); 121var clientLanguageServerManager = LanguageServerHost.Instance.GetRequiredLspService<IClientLanguageServerManager>();
HostWorkspace\Razor\RazorDynamicFileInfoProvider.TextChangesTextLoader.cs (1)
80var 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>();