6 references to ReplaceChild
System.Text.RegularExpressions.Generator (6)
RegexGenerator.Emitter.cs (1)
1848remainder.ReplaceChild(0, new RegexNode(RegexNodeKind.Empty, remainder.Options));
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexNode.cs (5)
458node.ReplaceChild(node.ChildCount() - 1, atomic); 745atomic.ReplaceChild(0, child); 1163alternation.ReplaceChild(startingIndex, newConcat); 1365alternation.ReplaceChild(startingIndex, newConcat); 2039ReplaceChild(0, condition.Child(0));