1 write to Workspace
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\VisualStudioWorkspaceImpl.AbstractAddRemoveUndoUnit.cs (1)
22
Workspace
= workspace;
16 references to Workspace
Microsoft.VisualStudio.LanguageServices (16)
ProjectSystem\VisualStudioWorkspaceImpl.AbstractAddDocumentUndoUnit.cs (2)
30
var currentSolution =
Workspace
.CurrentSolution;
36
Workspace
.TryApplyChanges(updatedProject.Solution);
ProjectSystem\VisualStudioWorkspaceImpl.AbstractRemoveDocumentUndoUnit.cs (3)
32
var currentSolution =
Workspace
.CurrentSolution;
39
Workspace
.TryApplyChanges(updatedProject.Solution);
45
var currentSolution =
Workspace
.CurrentSolution;
ProjectSystem\VisualStudioWorkspaceImpl.AddMetadataReferenceUndoUnit.cs (3)
31
var currentSolution =
Workspace
.CurrentSolution;
40
var documentationProvider =
Workspace
.Services.GetRequiredService<IDocumentationProviderService>();
51
Workspace
.TryApplyChanges(updatedProject.Solution);
ProjectSystem\VisualStudioWorkspaceImpl.AddProjectReferenceUndoUnit.cs (3)
28
var currentSolution =
Workspace
.CurrentSolution;
37
Workspace
.TryApplyChanges(updatedProject.Solution);
43
var currentSolution =
Workspace
.CurrentSolution;
ProjectSystem\VisualStudioWorkspaceImpl.RemoveMetadataReferenceUndoUnit.cs (2)
30
var currentSolution =
Workspace
.CurrentSolution;
40
Workspace
.TryApplyChanges(updatedProject.Solution);
ProjectSystem\VisualStudioWorkspaceImpl.RemoveProjectReferenceUndoUnit.cs (3)
28
var currentSolution =
Workspace
.CurrentSolution;
37
Workspace
.TryApplyChanges(updatedProject.Solution);
43
var currentSolution =
Workspace
.CurrentSolution;