17 references to MatchReversalKind
System.Text.RegularExpressions (17)
System\Text\RegularExpressions\Symbolic\MatchReversal.cs (10)
12internal MatchReversalInfo(MatchReversalKind kind, int fixedLength, MatchingState<TSet>? adjustedStartState = null) 14Debug.Assert(kind is MatchReversalKind.MatchStart or MatchReversalKind.FixedLength or MatchReversalKind.PartialFixedLength); 16Debug.Assert((adjustedStartState is not null) == (kind is MatchReversalKind.PartialFixedLength)); 24internal 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)
238pos == 0 ? new MatchReversalInfo<TSet>(MatchReversalKind.MatchStart, 0) : 239node == _builder.Epsilon ? new MatchReversalInfo<TSet>(MatchReversalKind.FixedLength, pos) : 240new MatchReversalInfo<TSet>(MatchReversalKind.PartialFixedLength, pos, GetOrCreateState_NoLock(_builder.CreateDisableBacktrackingSimulation(node), 0));
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (4)
419case MatchReversalKind.MatchStart: 420case MatchReversalKind.PartialFixedLength: 425if (_optimizedReversalInfo.Kind is MatchReversalKind.MatchStart) 456case MatchReversalKind.FixedLength: