9 references to WithInsertAt
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Compilation\ReferenceManagerTests.vb (2)
1483Dim tree2 = tree1.WithInsertAt(tree1.ToString().Length, "'Comment") 1528Dim tree2 = tree1.WithInsertAt(tree1.ToString().Length, "End Namespace")
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (7)
IncrementalParser\IncrementalParser.vb (2)
1702Dim newTree1 = oldTree1.WithInsertAt(text.Length, " ") 1718Dim newTree2 = oldTree2.WithInsertAt(text.Length, " ")
Syntax\SyntaxEquivalenceTests.vb (4)
40Dim tree2 = tree1.WithInsertAt(0, "' goo") 49Dim tree2 = tree1.WithInsertAt(0, NewLines("#if true \n\n#end if")) 58Dim tree2 = tree1.WithInsertAt(0, NewLines("#if false \n\n#end if")) 67Dim tree2 = tree1.WithInsertAt(0, NewLines("namespace N \n end namespace"))
TestSyntaxNodes.vb (1)
2896Dim newTree = oldTree.WithInsertAt(0, "class B : End Class")