1 write to _workspace
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\VisualStudioWorkspaceImpl.OpenFileTracker.cs (1)
62_workspace = workspace;
17 references to _workspace
Microsoft.VisualStudio.LanguageServices (17)
ProjectSystem\VisualStudioWorkspaceImpl.OpenFileTracker.cs (15)
97_workspace._threadingContext.ThrowIfNotOnUIThread(); 110_workspace._threadingContext.ThrowIfNotOnUIThread(); 132_workspace._threadingContext.ThrowIfNotOnUIThread(); 188_workspace._threadingContext.ThrowIfNotOnUIThread(); 207var projectToHierarchyMap = _workspace._projectToHierarchyMap; 208var solution = _workspace.CurrentSolution; 235var project = _workspace.GetProjectWithHierarchyAndName_NoLock(hierarchy, contextProjectName); 259_workspace._threadingContext.ThrowIfNotOnUIThread(); 271_workspace._threadingContext.ThrowIfNotOnUIThread(); 275var documentIds = _workspace.CurrentSolution.GetDocumentIdsWithFilePath(moniker); 293_workspace._threadingContext.ThrowIfNotOnUIThread(); 311_workspace._threadingContext.ThrowIfNotOnUIThread(); 360if (_workspace._threadingContext.JoinableTaskContext.IsOnMainThread) 384await _workspace._threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync(); 396_workspace._threadingContext.ThrowIfNotOnUIThread();
ProjectSystem\VisualStudioWorkspaceImpl_SourceGenerators.cs (2)
70var documentIds = _workspace.CurrentSolution.GetDocumentIdsWithFilePath(moniker); 73_workspace.EnqueueUpdateSourceGeneratorVersion(projectId, forceRegeneration: false);