1 write to Workspace
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
RenameTracking\RenameTrackingTestState.cs (1)
80this.Workspace = workspace;
15 references to Workspace
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (15)
RenameTracking\RenameTrackingTestState.cs (15)
82HostDocument = Workspace.Documents.First(); 85EditorOperations = Workspace.GetService<IEditorOperationsFactoryService>().GetEditorOperations(_view); 86_historyRegistry = Workspace.ExportProvider.GetExport<ITextUndoHistoryRegistry>().Value; 94var notificationService = (INotificationServiceCallback)Workspace.Services.GetRequiredService<INotificationService>(); 99Workspace.GetService<IThreadingContext>(), 100Workspace.GetService<IInlineRenameService>(), 101Workspace.GetService<IDiagnosticAnalyzerService>(), 102Workspace.GetService<IGlobalOptionService>(), 103Workspace.GetService<IAsynchronousOperationListenerProvider>()); 170var document = this.Workspace.CurrentSolution.GetDocument(HostDocument.Id); 200await operations[0].TryApplyAsync(this.Workspace, this.Workspace.CurrentSolution, CodeAnalysisProgress.None, CancellationToken.None); 212var provider = Workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>(); 214Workspace, 222=> Workspace.Dispose();