24 references to AddChild
System.Text.RegularExpressions (24)
System\Text\RegularExpressions\RegexNode.cs (11)
457atomic.AddChild(existingChild); 1143newAlternate.AddChild(children[i]); 1150atomic.AddChild(newAlternate); 1157newConcat.AddChild(required); 1158newConcat.AddChild(newAlternate); 1315newAlternate.AddChild(branch); 1354atomic.AddChild(newAlternate); 1360newConcat.AddChild(newAlternate); 2003AddChild(new RegexNode(RegexNodeKind.Empty, Options)); 2021AddChild(new RegexNode(RegexNodeKind.Empty, Options)); 2708result.AddChild(this);
System\Text\RegularExpressions\RegexParser.cs (13)
429_concatenation!.AddChild(_unit!); 470_concatenation!.AddChild(_unit!); 497_concatenation!.AddChild(_unit!.MakeQuantifier(lazy, min, max)); 538_concatenation.AddChild(ScanDollar()); 2018_concatenation!.AddChild(RegexNode.CreateOneWithCaseConversion(_pattern[pos], isReplacement ? _options & ~RegexOptions.IgnoreCase : _options, _culture, ref _caseBehavior)); 2022_concatenation!.AddChild(new RegexNode(RegexNodeKind.Multi, _options & ~RegexOptions.IgnoreCase, _pattern.Substring(pos, cch))); 2028_concatenation!.AddChild(RegexNode.CreateOneWithCaseConversion(c, _options, _culture, ref _caseBehavior)); 2059_group.AddChild(_unit); 2079_group.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft()); 2083_alternation!.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft()); 2094_group.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft()); 2103_alternation!.AddChild(_concatenation!.ReverseConcatenationIfRightToLeft()); 2104_group.AddChild(_alternation);