1 write to _workspace
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\VisualStudioWorkspaceImpl.RenameDocumentUndoUnit.cs (1)
23
_workspace
= workspace;
3 references to _workspace
Microsoft.VisualStudio.LanguageServices (3)
ProjectSystem\VisualStudioWorkspaceImpl.RenameDocumentUndoUnit.cs (3)
33
var documentId =
_workspace
.CurrentSolution.GetDocumentIdsWithFilePath(_filePath).FirstOrDefault();
36
var updatedSolution =
_workspace
.CurrentSolution.WithDocumentName(documentId, _toName);
37
_workspace
.TryApplyChanges(updatedSolution);