10 references to WithReplaceFirst
Microsoft.CodeAnalysis.Workspaces.UnitTests (10)
SyntaxPathTests.cs (10)
123tree = WithReplaceFirst(tree, "C", "D"); 158tree = WithReplaceFirst(WithReplaceFirst(WithReplaceFirst(tree, "i1", "j1"), "i2", "j2"), "i3", "j3"); 192tree = WithReplaceFirst(tree, "C {", "C : Goo {"); 227tree = WithReplaceFirst(tree, "bool", "int field; bool"); 257tree = WithReplaceFirst(tree, "class", "struct"); 287tree = WithReplaceFirst(tree, "class", "struct"); 345tree = WithReplaceFirst(WithReplaceFirst(tree, "class", "/* goo */ class"), "struct", "/* bar */ struct");