1 write to _testDocument
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Diagnostics\GenerateType\GenerateTypeTestState.cs (1)
34
_testDocument
= Workspace.Documents.SingleOrDefault(d => d.CursorPosition.HasValue);
4 references to _testDocument
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (4)
Diagnostics\GenerateType\GenerateTypeTestState.cs (4)
35
Contract.ThrowIfNull(
_testDocument
, "markup does not contain a cursor position");
37
TriggeredProject = Workspace.CurrentSolution.GetProject(
_testDocument
.Project.Id);
42
ProjectToBeModified = Workspace.CurrentSolution.GetProject(
_testDocument
.Project.Id);
50
InvocationDocument = Workspace.CurrentSolution.GetDocument(
_testDocument
.Id);