1 write to Workspace
Microsoft.VisualStudio.LanguageServices (1)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (1)
55Workspace = workspace;
18 references to Workspace
Microsoft.VisualStudio.LanguageServices (18)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (8)
56Workspace.WorkspaceChanged += OnWorkspaceChanged; 58_libraryService = new Lazy<ILibraryService>(() => Workspace.Services.GetLanguageServices(_languageName).GetService<ILibraryService>()); 76=> this.Workspace.WorkspaceChanged -= OnWorkspaceChanged; 185=> this.Workspace.CurrentSolution.GetProject(projectId); 309this.Workspace.CurrentSolution, _languageName, CancellationToken.None).ConfigureAwait(true); 320return new ObjectList(ObjectListKind.Projects, flags, this, this.GetProjectListItems(this.Workspace.CurrentSolution, _languageName, flags)); 420this.Workspace, cancellationToken).ConfigureAwait(true); 481var project = this.Workspace.CurrentSolution.GetProject(symbolListItem.ProjectId);
Library\ObjectBrowser\ObjectList.cs (10)
426this.LibraryManager.Workspace, cancellationToken).ConfigureAwait(true); 509this.LibraryManager.Workspace, cancellationToken).ConfigureAwait(true); 536return this.LibraryManager.Workspace.GetBrowseObjectAsync(symbolListItem, cancellationToken); 681var project = this.LibraryManager.Workspace.CurrentSolution.GetProject(symbolListItem.ProjectId); 713hierarchy = this.LibraryManager.Workspace.GetHierarchy(listItem.ProjectId); 751var project = this.LibraryManager.Workspace.CurrentSolution.GetProject(symbolItem.ProjectId); 755await this.LibraryManager.Workspace.TryGoToDefinitionAsync(symbol, project, cancellationToken).ConfigureAwait(false); 860var hierarchy = this.LibraryManager.Workspace.GetHierarchy(listItem.ProjectId); 893var hierarchy = this.LibraryManager.Workspace.GetHierarchy(projectListItem.ProjectId); 909var project = this.LibraryManager.Workspace.CurrentSolution.GetProject(projectListItem.ProjectId);