24 references to PositiveLookaround
System.Text.RegularExpressions (24)
System\Text\RegularExpressions\RegexNode.cs (11)
266
case RegexNodeKind.
PositiveLookaround
:
439
case RegexNodeKind.
PositiveLookaround
:
544
RegexNodeKind.
PositiveLookaround
or RegexNodeKind.NegativeLookaround => ReduceLookaround(),
1414
case RegexNodeKind.
PositiveLookaround
when allowZeroWidth:
1969
Debug.Assert(Kind is RegexNodeKind.
PositiveLookaround
or RegexNodeKind.NegativeLookaround);
1987
Kind = Kind == RegexNodeKind.
PositiveLookaround
? RegexNodeKind.Empty : RegexNodeKind.Nothing;
2033
if (condition.Kind == RegexNodeKind.
PositiveLookaround
&& (condition.Options & RegexOptions.RightToLeft) == 0)
2075
case RegexNodeKind.
PositiveLookaround
when (subsequent.Options & RegexOptions.RightToLeft) == 0: // only lookaheads, not lookbehinds (represented as RTL PositiveLookaround nodes)
2346
case RegexNodeKind.
PositiveLookaround
:
2480
case RegexNodeKind.
PositiveLookaround
:
2583
RegexNodeKind.
PositiveLookaround
or
System\Text\RegularExpressions\RegexParser.cs (2)
789
nodeType = RegexNodeKind.
PositiveLookaround
;
823
nodeType = RegexNodeKind.
PositiveLookaround
;
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (6)
102
case RegexNodeKind.
PositiveLookaround
:
471
case RegexNodeKind.
PositiveLookaround
:
675
case RegexNodeKind.
PositiveLookaround
:
1015
case RegexNodeKind.
PositiveLookaround
:
1281
if (node.Child(i).Kind is not (RegexNodeKind.Empty or RegexNodeKind.
PositiveLookaround
or RegexNodeKind.NegativeLookaround))
1292
if (node.Child(i).Kind is not (RegexNodeKind.Empty or RegexNodeKind.
PositiveLookaround
or RegexNodeKind.NegativeLookaround))
System\Text\RegularExpressions\RegexTreeAnalyzer.cs (2)
65
case RegexNodeKind.
PositiveLookaround
:
94
RegexNodeKind.Atomic or RegexNodeKind.NegativeLookaround or RegexNodeKind.
PositiveLookaround
=> true,
System\Text\RegularExpressions\RegexWriter.cs (2)
351
case RegexNodeKind.
PositiveLookaround
| BeforeChild:
356
case RegexNodeKind.
PositiveLookaround
| AfterChild:
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
186
RegexNodeKind.
PositiveLookaround
=> SR.ExpressionDescription_PositiveLookaround,