1 write to _previewWorkspace
Microsoft.VisualStudio.LanguageServices (1)
Preview\PreviewUpdater.cs (1)
72_previewWorkspace ??= new PreviewDialogWorkspace(document.Project.Solution);
7 references to _previewWorkspace
Microsoft.VisualStudio.LanguageServices (7)
Preview\PreviewUpdater.cs (7)
32_previewWorkspace?.Dispose(); 55Contract.ThrowIfNull(_previewWorkspace, "We shouldn't have a current document if we don't have a workspace."); 56var existingDocument = _previewWorkspace.CurrentSolution.GetRequiredTextDocument(_currentDocumentId); 66Contract.ThrowIfNull(_previewWorkspace, "We shouldn't have a current document if we don't have a workspace."); 67var currentDocument = _previewWorkspace.CurrentSolution.GetRequiredTextDocument(_currentDocumentId); 69_previewWorkspace.CloseDocument(currentDocument, currentDocumentText); 76_previewWorkspace.OpenDocument(document.Id, container);