7 references to IsNullable
System.Text.RegularExpressions (7)
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (7)
652
if (leftContext.IsAnyStar(builder._solver) || rightContext.IsNothing(builder._solver) || left == right || (leftContext.
IsNullable
&& rightContext.IsEpsilon))
834
if (left._left.
IsNullable
&& rl._kind == SymbolicRegexNodeKind.Loop && rl._lower == 0 && rl._upper == 1 && rl.IsLazy)
860
if (left._left.
IsNullable
)
993
if (rightContext._left.
IsNullable
&& TrySplitConcatSubsumption(builder, left, rightContext, out SymbolicRegexNode<TSet> prefix))
1495
if (data.Lower == 0 || body.
IsNullable
|| !body.IsNullableFor(context))
2211
return _left.StartsWithLoop(upperBoundLowestValue) || (_left.
IsNullable
&& _right.StartsWithLoop(upperBoundLowestValue));
2346
SymbolicRegexNode<TSet> right1 = _left.
IsNullable
? _right.PruneAnchorsImpl(builder, prevKind, contWithWL, contWithNWL) : _right;