13 references to ContainsSomeAnchor
System.Text.RegularExpressions (13)
System\Text\RegularExpressions\Symbolic\SymbolicRegexInfo.cs (4)
105
containsSomeAnchor: left_info.
ContainsSomeAnchor
|| right_info.
ContainsSomeAnchor
,
122
containsSomeAnchor: left_info.
ContainsSomeAnchor
|| right_info.
ContainsSomeAnchor
,
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Automata.cs (1)
187
if (node._info.
ContainsSomeAnchor
)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (6)
218
int statesCount = _pattern._info.
ContainsSomeAnchor
? CharKind.CharKindCount : 1;
224
_containsAnyAnchor = _pattern._info.
ContainsSomeAnchor
;
269
if (_pattern._info.
ContainsSomeAnchor
)
334
!_pattern._info.
ContainsSomeAnchor
?
1657
Debug.Assert(!matcher._pattern._info.
ContainsSomeAnchor
);
1686
Debug.Assert(!matcher._pattern._info.
ContainsSomeAnchor
);
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (2)
116
if (node._info.IsHighPriorityNullable || !node._info.
ContainsSomeAnchor
)
2259
internal int EstimateNfaSize() => Times(_info.
ContainsSomeAnchor
? CharKind.CharKindCount : 1, Sum(1, CountSingletons()));