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 164nullabilityInfo |= (byte)(Node.IsNullableFor(CharKind.Context(PrevCharKind, charKind)) ? 1 << (int)charKind : 0);
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (24)
161return node.IsNullableFor(context); 241return StackHelper.CallOnEmptyStack(IsNullableFor, context); 259is_nullable = _lower == 0 || _left.IsNullableFor(context); 264is_nullable = _left.IsNullableFor(context) && _right.IsNullableFor(context); 269is_nullable = _left.IsNullableFor(context) || _right.IsNullableFor(context); 316is_nullable = _left.IsNullableFor(context); 1085if (!IsNullableFor(context)) 1109prunedNode = _left.IsNullableFor(context) ? _left.PruneLowerPriorityThanNullability(builder, context) : 1126SymbolicRegexNodeKind.Alternate => (_left._left!.IsNullableFor(context) ? 1171else if (!loop._left.IsNullableFor(context)) 1199Debug.Assert(loop._left.IsNullableFor(context)); 1287if (!_left.IsNullableFor(context)) 1320if (_lower == 0 || _left.IsNullable || !_left.IsNullableFor(context)) 1543Debug.Assert(_left.IsNullableFor(context) && _right.IsNullableFor(context)); 1551if (_lower != 0 || (_upper != 0 && !IsLazy && _left.IsNullableFor(context))) 1553Debug.Assert(_left.IsNullableFor(context)); 1560if (_left.IsNullableFor(context)) 1568Debug.Assert(_right.IsNullableFor(context)); 2177Debug.Assert(IsNullableFor(context)); 2192if (_left.IsNullableFor(context)) 2200Debug.Assert(_right.IsNullableFor(context));