26 references to IsNullableFor
System.Text.RegularExpressions (26)
System\Text\RegularExpressions\Symbolic\MatchingState.cs (2)
101
/// This is functionally equivalent to <see cref="SymbolicRegexNode{TSet}.
IsNullableFor
(uint)"/>, but using cached
164
nullabilityInfo |= (byte)(Node.
IsNullableFor
(CharKind.Context(PrevCharKind, charKind)) ? 1 << (int)charKind : 0);
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (24)
161
return node.
IsNullableFor
(context);
241
return StackHelper.CallOnEmptyStack(
IsNullableFor
, context);
259
is_nullable = _lower == 0 || _left.
IsNullableFor
(context);
264
is_nullable = _left.
IsNullableFor
(context) && _right.
IsNullableFor
(context);
269
is_nullable = _left.
IsNullableFor
(context) || _right.
IsNullableFor
(context);
316
is_nullable = _left.
IsNullableFor
(context);
1085
if (!
IsNullableFor
(context))
1109
prunedNode = _left.
IsNullableFor
(context) ? _left.PruneLowerPriorityThanNullability(builder, context) :
1126
SymbolicRegexNodeKind.Alternate => (_left._left!.
IsNullableFor
(context) ?
1171
else if (!loop._left.
IsNullableFor
(context))
1199
Debug.Assert(loop._left.
IsNullableFor
(context));
1287
if (!_left.
IsNullableFor
(context))
1320
if (_lower == 0 || _left.IsNullable || !_left.
IsNullableFor
(context))
1543
Debug.Assert(_left.
IsNullableFor
(context) && _right.
IsNullableFor
(context));
1551
if (_lower != 0 || (_upper != 0 && !IsLazy && _left.
IsNullableFor
(context)))
1553
Debug.Assert(_left.
IsNullableFor
(context));
1560
if (_left.
IsNullableFor
(context))
1568
Debug.Assert(_right.
IsNullableFor
(context));
2177
Debug.Assert(
IsNullableFor
(context));
2192
if (_left.
IsNullableFor
(context))
2200
Debug.Assert(_right.
IsNullableFor
(context));