1 write to Workspace
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EncapsulateField\EncapsulateFieldTestState.cs (1)
33Workspace = workspace;
6 references to Workspace
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
EncapsulateField\EncapsulateFieldTestState.cs (6)
34_testDocument = Workspace.Documents.Single(d => d.CursorPosition.HasValue || d.SelectedSpans.Any()); 35TargetDocument = Workspace.CurrentSolution.GetDocument(_testDocument.Id); 37var notificationService = Workspace.Services.GetService<INotificationService>() as INotificationServiceCallback; 58var commandHandler = Workspace.ExportProvider.GetCommandHandler<EncapsulateFieldCommandHandler>(PredefinedCommandHandlerNames.EncapsulateField, ContentTypeNames.CSharpContentType); 59var provider = Workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>(); 66=> Workspace?.Dispose();