11 references to CanBeNullable
System.Text.RegularExpressions (11)
System\Text\RegularExpressions\Symbolic\SymbolicRegexInfo.cs (6)
101canBeNullable: left_info.CanBeNullable || right_info.CanBeNullable, 118canBeNullable: left_info.CanBeNullable && right_info.CanBeNullable, 119startsWithLineAnchor: left_info.StartsWithLineAnchor || (left_info.CanBeNullable && right_info.StartsWithLineAnchor), 121startsWithSomeAnchor: left_info.StartsWithSomeAnchor || (left_info.CanBeNullable && right_info.StartsWithSomeAnchor),
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (5)
71_nullabilityCache = info.StartsWithSomeAnchor && info.CanBeNullable ? new byte[CharKind.ContextLimit] : null; 98internal bool IsHighPriorityNullableFor(uint context) => _info.CanBeNullable && IsHighPriorityNullableFor(this, context); 144if (!node._left._info.CanBeNullable) 174Debug.Assert(_info.CanBeNullable || !_info.IsNullable); 175return _info.CanBeNullable;