1 write to Workspace
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
ChangeSignature\ChangeSignatureTestState.cs (1)
59Workspace = workspace;
11 references to Workspace
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
ChangeSignature\RemoveParametersTests.cs (2)
256foreach (var updatedDocument in testState.Workspace.Documents.Select(d => result.UpdatedSolution.GetDocument(d.Id))) 338foreach (var updatedDocument in testState.Workspace.Documents.Select(d => result.UpdatedSolution.GetDocument(d.Id)))
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (5)
ChangeSignature\ChangeSignatureTestState.cs (5)
60_testDocument = Workspace.Documents.SingleOrDefault(d => d.CursorPosition.HasValue); 67InvocationDocument = Workspace.CurrentSolution.GetDocument(_testDocument.Id); 81var context = await ChangeSignatureService.GetChangeSignatureContextAsync(InvocationDocument, _testDocument.CursorPosition.Value, restrictToDeclarations: false, Workspace.GlobalOptions.CreateProvider(), CancellationToken.None).ConfigureAwait(false); 88var context = await ChangeSignatureService.GetChangeSignatureContextAsync(InvocationDocument, _testDocument.CursorPosition.Value, restrictToDeclarations: false, Workspace.GlobalOptions.CreateProvider(), CancellationToken.None); 99Workspace?.Dispose();
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
ChangeSignature\ReorderParameters.MultiFile.vb (4)
56Dim history = testState.Workspace.GetService(Of ITextUndoHistoryRegistry)().RegisterHistory(testState.Workspace.Documents.First().GetTextBuffer()) 109Dim history = testState.Workspace.GetService(Of ITextUndoHistoryRegistry)().RegisterHistory(testState.Workspace.Documents.First().GetTextBuffer())