11 references to CanBeNullable
System.Text.RegularExpressions (11)
System\Text\RegularExpressions\Symbolic\SymbolicRegexInfo.cs (6)
101
canBeNullable: left_info.
CanBeNullable
|| right_info.
CanBeNullable
,
118
canBeNullable: left_info.
CanBeNullable
&& right_info.
CanBeNullable
,
119
startsWithLineAnchor: left_info.StartsWithLineAnchor || (left_info.
CanBeNullable
&& right_info.StartsWithLineAnchor),
121
startsWithSomeAnchor: 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;
98
internal bool IsHighPriorityNullableFor(uint context) => _info.
CanBeNullable
&& IsHighPriorityNullableFor(this, context);
144
if (!node._left._info.
CanBeNullable
)
174
Debug.Assert(_info.
CanBeNullable
|| !_info.IsNullable);
175
return _info.
CanBeNullable
;