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();
207
var projectToHierarchyMap =
_workspace
._projectToHierarchyMap;
208
var solution =
_workspace
.CurrentSolution;
235
var project =
_workspace
.GetProjectWithHierarchyAndName_NoLock(hierarchy, contextProjectName);
259
_workspace
._threadingContext.ThrowIfNotOnUIThread();
271
_workspace
._threadingContext.ThrowIfNotOnUIThread();
275
var documentIds =
_workspace
.CurrentSolution.GetDocumentIdsWithFilePath(moniker);
293
_workspace
._threadingContext.ThrowIfNotOnUIThread();
311
_workspace
._threadingContext.ThrowIfNotOnUIThread();
360
if (
_workspace
._threadingContext.JoinableTaskContext.IsOnMainThread)
384
await
_workspace
._threadingContext.JoinableTaskFactory.SwitchToMainThreadAsync();
396
_workspace
._threadingContext.ThrowIfNotOnUIThread();
ProjectSystem\VisualStudioWorkspaceImpl_SourceGenerators.cs (2)
70
var documentIds =
_workspace
.CurrentSolution.GetDocumentIdsWithFilePath(moniker);
73
_workspace
.EnqueueUpdateSourceGeneratorVersion(projectId, forceRegeneration: false);