1 write to Workspace
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
PasteTracking\PasteTrackingTestState.vb (1)
25Workspace = EditorTestWorkspace.CreateWorkspace(workspaceElement, composition:=composition)
11 references to Workspace
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (11)
PasteTracking\PasteTrackingTestState.vb (11)
26PasteTrackingService = Workspace.GetService(Of PasteTrackingService)() 27PasteTrackingPasteCommandHandler = Workspace.GetService(Of PasteTrackingPasteCommandHandler)() 28FormatCommandHandler = Workspace.GetService(Of FormatCommandHandler)() 32Dim hostDocument = Workspace.Documents.FirstOrDefault(Function(document) document.Project.Name = projectName AndAlso document.Name = fileName) 34If Workspace.IsDocumentOpen(hostDocument.Id) Then 44Workspace.OpenDocument(hostDocument.Id) 50Workspace.CloseDocument(hostDocument.Id) 55Dim editorOperations = Workspace.GetService(Of IEditorOperationsFactoryService)().GetEditorOperations(textView) 65Dim editorOperations = Workspace.GetService(Of IEditorOperationsFactoryService)().GetEditorOperations(textView) 83Dim document = Workspace.CurrentSolution.GetDocument(hostDocument.Id) 102Workspace.Dispose()