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