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