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