35 references to Setloopatomic
System.Text.RegularExpressions (35)
System\Text\RegularExpressions\RegexCompiler.cs (1)
1249
Debug.Assert(target.LoopNode.Kind is RegexNodeKind.Setloop or RegexNodeKind.Setlazy or RegexNodeKind.
Setloopatomic
);
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
792
Debug.Assert(loopNode.Kind is RegexNodeKind.Setloop or RegexNodeKind.Setlazy or RegexNodeKind.
Setloopatomic
);
System\Text\RegularExpressions\RegexNode.cs (27)
91
RegexNodeKind.Setlazy or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
);
255
case RegexNodeKind.
Setloopatomic
:
298
case RegexNodeKind.
Setloopatomic
:
384
case RegexNodeKind.Oneloop or RegexNodeKind.Oneloopatomic or RegexNodeKind.Notoneloop or RegexNodeKind.Notoneloopatomic or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
when node.N == int.MaxValue:
545
RegexNodeKind.Set or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
or RegexNodeKind.Setlazy => ReduceSet(),
627
case RegexNodeKind.
Setloopatomic
:
792
case RegexNodeKind.
Setloopatomic
:
876
Debug.Assert(Kind is RegexNodeKind.Set or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
or RegexNodeKind.Setlazy);
891
Kind == RegexNodeKind.
Setloopatomic
? RegexNodeKind.Oneloopatomic :
901
Kind == RegexNodeKind.
Setloopatomic
? RegexNodeKind.Notoneloopatomic :
1108
case RegexNodeKind.Oneloopatomic or RegexNodeKind.Notoneloopatomic or RegexNodeKind.
Setloopatomic
:
1405
case RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
or RegexNodeKind.Setlazy when node.M > 0:
1441
case RegexNodeKind.Set or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
or RegexNodeKind.Setlazy:
1664
case RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
or RegexNodeKind.Setlazy when nextNode.Kind == currentNode.Kind && currentNode.Str == nextNode.Str:
1666
currentNode.Kind is RegexNodeKind.Oneloopatomic or RegexNodeKind.Notoneloopatomic or RegexNodeKind.
Setloopatomic
)
1759
case RegexNodeKind.Set when (nextNode.Kind is RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
or RegexNodeKind.Setlazy) && currentNode.Str == nextNode.Str:
2125
case RegexNodeKind.Setlazy or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
when subsequent.M > 0 && !RegexCharClass.CharInClass(node.Ch, subsequent.Str!):
2133
case RegexNodeKind.Setlazy or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
when subsequent.M == 0 && !RegexCharClass.CharInClass(node.Ch, subsequent.Str!):
2172
case RegexNodeKind.Setlazy or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
when subsequent.M > 0 && !RegexCharClass.MayOverlap(node.Str!, subsequent.Str!):
2179
case RegexNodeKind.Setlazy or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
when subsequent.M == 0 && !RegexCharClass.MayOverlap(node.Str!, subsequent.Str!):
2280
case RegexNodeKind.
Setloopatomic
:
2387
RegexNodeKind.Setlazy or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
:
2555
(child.Kind is RegexNodeKind.Setloop or RegexNodeKind.Setlazy or RegexNodeKind.
Setloopatomic
&& child.M == child.N))
2640
RegexNodeKind.Setloop or RegexNodeKind.Setlazy or RegexNodeKind.
Setloopatomic
2833
public bool IsSetFamily => Kind is RegexNodeKind.Set or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
or RegexNodeKind.Setlazy;
2921
case RegexNodeKind.
Setloopatomic
:
2936
case RegexNodeKind.
Setloopatomic
:
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (4)
156
case RegexNodeKind.Set or RegexNodeKind.Setloop or RegexNodeKind.Setlazy or RegexNodeKind.
Setloopatomic
when !RegexCharClass.IsNegated(node.Str!): // negated sets are too complex to analyze
641
case RegexNodeKind.Setlazy or RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
when node.M > 0:
972
case RegexNodeKind.Set or RegexNodeKind.Setloop or RegexNodeKind.Setlazy or RegexNodeKind.
Setloopatomic
:
1135
if (firstChild.Kind is not (RegexNodeKind.Setloop or RegexNodeKind.
Setloopatomic
or RegexNodeKind.Setlazy) || firstChild.N != int.MaxValue)
System\Text\RegularExpressions\RegexWriter.cs (1)
404
case RegexNodeKind.
Setloopatomic
:
System\Text\RegularExpressions\Symbolic\RegexNodeConverter.cs (1)
180
RegexNodeKind.Atomic or RegexNodeKind.
Setloopatomic
or RegexNodeKind.Oneloopatomic or RegexNodeKind.Notoneloopatomic => SR.ExpressionDescription_AtomicSubexpressions,