1 instantiation of LspWorkspaceManager
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Workspaces\LspWorkspaceManagerFactory.cs (1)
30return new LspWorkspaceManager(logger, miscFilesWorkspace, _workspaceRegistrationService, telemetryLogger);
26 references to LspWorkspaceManager
Microsoft.CodeAnalysis.EditorFeatures (1)
ExternalAccess\VSTypeScript\VSTypeScriptLspWorkspaceManagerFactory.cs (1)
12[ExportLspServiceFactory(typeof(LspWorkspaceManager), ProtocolConstants.TypeScriptLanguageContract), Shared]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
LanguageServer\AbstractLanguageServerProtocolTests.cs (4)
680internal LspWorkspaceManager.TestAccessor GetManagerAccessor() => GetRequiredLspService<LspWorkspaceManager>().GetTestAccessor(); 682internal LspWorkspaceManager GetManager() => GetRequiredLspService<LspWorkspaceManager>();
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticHandlerFactory.cs (2)
38var workspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticsHandler.cs (2)
28private readonly LspWorkspaceManager _workspaceManager; 39LspWorkspaceManager workspaceManager,
Handler\RequestContext.cs (2)
140var lspWorkspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Handler\SemanticTokens\SemanticTokensRefreshQueue.cs (3)
45private readonly LspWorkspaceManager _lspWorkspaceManager; 63LspWorkspaceManager lspWorkspaceManager, 124LspWorkspaceManager lspWorkspaceManager,
Handler\SemanticTokens\SemanticTokensRefreshQueueFactory.cs (2)
31var lspWorkspaceManager = lspServices.GetRequiredService<LspWorkspaceManager>();
Workspaces\LspWorkspaceManager.cs (2)
362private readonly LspWorkspaceManager _manager; 364public TestAccessor(LspWorkspaceManager manager)
Workspaces\LspWorkspaceManagerFactory.cs (1)
13[ExportCSharpVisualBasicLspServiceFactory(typeof(LspWorkspaceManager)), Shared]
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (6)
LanguageServerTargetTests.cs (6)
72Assert.NotSame(serverOne.GetRequiredLspService<LspWorkspaceManager>(), serverTwo.GetRequiredLspService<LspWorkspaceManager>()); 73Assert.Same(serverOne.GetRequiredLspService<LspWorkspaceManager>(), serverOne.GetRequiredLspService<LspWorkspaceManager>()); 74Assert.Same(serverTwo.GetRequiredLspService<LspWorkspaceManager>(), serverTwo.GetRequiredLspService<LspWorkspaceManager>());
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\XamlLspWorkspaceManagerFactory.cs (1)
13[ExportLspServiceFactory(typeof(LspWorkspaceManager), StringConstants.XamlLspLanguagesContract), Shared]