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