1 write to InvocationDocument
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
ChangeSignature\ChangeSignatureTestState.cs (1)
67InvocationDocument = Workspace.CurrentSolution.GetDocument(_testDocument.Id);
8 references to InvocationDocument
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (8)
ChangeSignature\AbstractChangeSignatureTests.cs (4)
129var updatedInvocationDocument = result.UpdatedSolution.GetDocument(testState.InvocationDocument.Id); 136var diagnostics = (await testState.InvocationDocument.GetSemanticModelAsync()).GetDiagnostics(); 140Assert.True(false, CreateDiagnosticsString(diagnostics, updatedSignature, testState.InvocationDocument, totalParameters, (await testState.InvocationDocument.GetTextAsync()).ToString()));
ChangeSignature\ChangeSignatureTestState.cs (4)
68ChangeSignatureService = InvocationDocument.GetLanguageService<AbstractChangeSignatureService>(); 75return (TestChangeSignatureOptionsService)InvocationDocument.Project.Solution.Services.GetRequiredService<IChangeSignatureOptionsService>(); 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);