1 write to _testDocument
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EncapsulateField\EncapsulateFieldTestState.cs (1)
34_testDocument = Workspace.Documents.Single(d => d.CursorPosition.HasValue || d.SelectedSpans.Any());
4 references to _testDocument
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
EncapsulateField\EncapsulateFieldTestState.cs (4)
35TargetDocument = Workspace.CurrentSolution.GetDocument(_testDocument.Id); 57var args = new EncapsulateFieldCommandArgs(_testDocument.GetTextView(), _testDocument.GetTextBuffer()); 71Assert.Equal(expected, _testDocument.GetTextBuffer().CurrentSnapshot.GetText().ToString());