3 references to CanBeAssignedNull
Microsoft.CodeAnalysis.CSharp (3)
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (1)
317
if ((object)source != null && source.IsNullableType() && convertsFrom.IsValidNullableTypeArgument() && target.
CanBeAssignedNull
())
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
328
(allowAnyTarget || target.
CanBeAssignedNull
()))
Lowering\SyntheticBoundNodeFactory.cs (1)
1231
Debug.Assert(type.
CanBeAssignedNull
());