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