1 write to Instance
Microsoft.CodeAnalysis.LanguageServer (1)
LanguageServer\LanguageServerHost.cs (1)
64
Instance
= this;
13 references to Instance
Microsoft.CodeAnalysis.LanguageServer (13)
HostWorkspace\FileWatching\DelegatingFileChangeWatcher.cs (1)
35
var instance = LanguageServerHost.
Instance
;
HostWorkspace\ProjectDependencyHelper.cs (2)
128
Contract.ThrowIfNull(LanguageServerHost.
Instance
, "We don't have an LSP channel yet to send this request through.");
130
var languageServerManager = LanguageServerHost.
Instance
.GetRequiredLspService<IClientLanguageServerManager>();
HostWorkspace\ProjectInitializationHandler.cs (2)
47
Contract.ThrowIfNull(LanguageServerHost.
Instance
, "We don't have an LSP channel yet to send this request through.");
48
var languageServerManager = LanguageServerHost.
Instance
.GetRequiredLspService<IClientLanguageServerManager>();
HostWorkspace\ProjectTelemetry\ProjectLoadTelemetryReporter.cs (1)
93
var instance = LanguageServerHost.
Instance
;
HostWorkspace\RazorDynamicFileInfoProvider.cs (4)
67
Contract.ThrowIfNull(LanguageServerHost.
Instance
, "We don't have an LSP channel yet to send this request through.");
68
var clientLanguageServerManager = LanguageServerHost.
Instance
.GetRequiredLspService<IClientLanguageServerManager>();
97
Contract.ThrowIfNull(LanguageServerHost.
Instance
, "We don't have an LSP channel yet to send this request through.");
98
var clientLanguageServerManager = LanguageServerHost.
Instance
.GetRequiredLspService<IClientLanguageServerManager>();
Logging\LspLogMessageLogger.cs (1)
38
var server = LanguageServerHost.
Instance
;
Logging\ShowToastNotification.cs (2)
30
Contract.ThrowIfNull(LanguageServerHost.
Instance
, "We don't have an LSP channel yet to send this request through.");
31
var languageServerManager = LanguageServerHost.
Instance
.GetRequiredLspService<IClientLanguageServerManager>();