17 references to MatchReversalKind
System.Text.RegularExpressions (17)
System\Text\RegularExpressions\Symbolic\MatchReversal.cs (10)
12
internal MatchReversalInfo(
MatchReversalKind
kind, int fixedLength, MatchingState<TSet>? adjustedStartState = null)
14
Debug.Assert(kind is
MatchReversalKind
.MatchStart or
MatchReversalKind
.FixedLength or
MatchReversalKind
.PartialFixedLength);
16
Debug.Assert((adjustedStartState is not null) == (kind is
MatchReversalKind
.PartialFixedLength));
24
internal
MatchReversalKind
Kind { get; }
28
/// For <see cref="
MatchReversalKind
.MatchStart"/>, this is ignored.
29
/// For <see cref="
MatchReversalKind
.FixedLength"/>, this is the full length of the match. The beginning may be found simply
31
/// For <see cref="
MatchReversalKind
.PartialFixedLength"/>, this is the length of fixed portion of the match.
36
/// <remarks>This will be non-null iff <see cref="Kind"/> is <see cref="
MatchReversalKind
.PartialFixedLength"/>.</remarks>
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (3)
238
pos == 0 ? new MatchReversalInfo<TSet>(
MatchReversalKind
.MatchStart, 0) :
239
node == _builder.Epsilon ? new MatchReversalInfo<TSet>(
MatchReversalKind
.FixedLength, pos) :
240
new MatchReversalInfo<TSet>(
MatchReversalKind
.PartialFixedLength, pos, GetOrCreateState_NoLock(_builder.CreateDisableBacktrackingSimulation(node), 0));
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (4)
419
case
MatchReversalKind
.MatchStart:
420
case
MatchReversalKind
.PartialFixedLength:
425
if (_optimizedReversalInfo.Kind is
MatchReversalKind
.MatchStart)
456
case
MatchReversalKind
.FixedLength: