21 references to BackreferenceConditional
System.Text.RegularExpressions (21)
System\Text\RegularExpressions\RegexNode.cs (10)
270case RegexNodeKind.BackreferenceConditional: 453if ((existingChild.Kind is RegexNodeKind.Alternate or RegexNodeKind.BackreferenceConditional or RegexNodeKind.ExpressionConditional or RegexNodeKind.Loop or RegexNodeKind.Lazyloop) && 467case RegexNodeKind.BackreferenceConditional: 547RegexNodeKind.BackreferenceConditional => ReduceBackreferenceConditional(), 1904case RegexNodeKind.Alternate or RegexNodeKind.BackreferenceConditional or RegexNodeKind.ExpressionConditional: 1997Debug.Assert(Kind == RegexNodeKind.BackreferenceConditional); 2302case RegexNodeKind.BackreferenceConditional: 2429case RegexNodeKind.BackreferenceConditional: 2433int i = Kind == RegexNodeKind.BackreferenceConditional ? 0 : 1; 2908case RegexNodeKind.BackreferenceConditional:
System\Text\RegularExpressions\RegexParser.cs (5)
959return new RegexNode(RegexNodeKind.BackreferenceConditional, _options, capnum); 973return new RegexNode(RegexNodeKind.BackreferenceConditional, _options, tmpCapnum); 2077if (_group!.Kind is RegexNodeKind.ExpressionConditional or RegexNodeKind.BackreferenceConditional) 2092if (_group!.Kind is RegexNodeKind.ExpressionConditional or RegexNodeKind.BackreferenceConditional) 2096if (_group.Kind == RegexNodeKind.BackreferenceConditional && _group.ChildCount() > 2 || _group.ChildCount() > 3)
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (2)
1078case RegexNodeKind.BackreferenceConditional: 1080int branchStart = node.Kind is RegexNodeKind.BackreferenceConditional ? 0 : 1;
System\Text\RegularExpressions\RegexTreeAnalyzer.cs (1)
98RegexNodeKind.Alternate or RegexNodeKind.BackreferenceConditional or RegexNodeKind.ExpressionConditional => true,
System\Text\RegularExpressions\RegexWriter.cs (2)
247case RegexNodeKind.BackreferenceConditional | BeforeChild: 260case RegexNodeKind.BackreferenceConditional | AfterChild:
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
182RegexNodeKind.BackreferenceConditional => SR.ExpressionDescription_Conditional,