1 write to _testDocument
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
ChangeSignature\ChangeSignatureTestState.cs (1)
60
_testDocument
= Workspace.Documents.SingleOrDefault(d => d.CursorPosition.HasValue);
4 references to _testDocument
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (4)
ChangeSignature\ChangeSignatureTestState.cs (4)
62
if (
_testDocument
== null)
67
InvocationDocument = Workspace.CurrentSolution.GetDocument(
_testDocument
.Id);
81
var context = await ChangeSignatureService.GetChangeSignatureContextAsync(InvocationDocument,
_testDocument
.CursorPosition.Value, restrictToDeclarations: false, Workspace.GlobalOptions.CreateProvider(), CancellationToken.None).ConfigureAwait(false);
88
var context = await ChangeSignatureService.GetChangeSignatureContextAsync(InvocationDocument,
_testDocument
.CursorPosition.Value, restrictToDeclarations: false, Workspace.GlobalOptions.CreateProvider(), CancellationToken.None);