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