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