1 write to _oldDocument
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
CodeActions\Preview\PreviewTests.vb (1)
38
Me.
_oldDocument
= oldDocument
5 references to _oldDocument
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (5)
CodeActions\Preview\PreviewTests.vb (5)
48
Dim solution =
_oldDocument
.Project.Solution
51
solution = solution.AddDocument(DocumentId.CreateNewId(
_oldDocument
.Project.Id, s_addedDocumentName), s_addedDocumentName, s_addedDocumentText)
54
Dim removedReference =
_oldDocument
.Project.MetadataReferences.Last()
56
solution = solution.RemoveMetadataReference(
_oldDocument
.Project.Id, removedReference)
62
solution = solution.WithDocumentSyntaxRoot(
_oldDocument
.Id, VisualBasicSyntaxTree.ParseText(s_changedDocumentText).GetRoot())