System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (22)
123case SymbolicRegexNodeKind.Loop:
257case SymbolicRegexNodeKind.Loop:
414if (lower == 0 && upper == 1 && body._kind == SymbolicRegexNodeKind.Loop && body._lower == 0 && body._upper == 1)
419return Create(builder, SymbolicRegexNodeKind.Loop, body, null, lower, upper, default, SymbolicRegexInfo.Loop(body._info, lower, isLazy));
671if (left._left.IsNullable && rl._kind == SymbolicRegexNodeKind.Loop && rl._lower == 0 && rl._upper == 1 && rl.IsLazy)
685if (ll._kind == SymbolicRegexNodeKind.Loop && ll._lower == 0 && ll._upper == 1 && ll.IsLazy)
909case SymbolicRegexNodeKind.Loop:
1131SymbolicRegexNodeKind.Loop => PruneLoop(builder, context, _left, _right),
1138case SymbolicRegexNodeKind.Loop:
1160Debug.Assert(loop.Kind == SymbolicRegexNodeKind.Loop && loop._left is not null);
1214Debug.Assert(_kind == SymbolicRegexNodeKind.Loop && _left is not null);
1315case SymbolicRegexNodeKind.Loop:
1401case SymbolicRegexNodeKind.Loop:
1483case SymbolicRegexNodeKind.Loop when _lower == 0 && _upper == 1:
1548case SymbolicRegexNodeKind.Loop:
1673case SymbolicRegexNodeKind.Loop:
1858case SymbolicRegexNodeKind.Loop:
1913case SymbolicRegexNodeKind.Loop:
1987case SymbolicRegexNodeKind.Loop:
2031case SymbolicRegexNodeKind.Loop:
2116case SymbolicRegexNodeKind.Loop:
2291case SymbolicRegexNodeKind.Loop: