if (targetType == TypeManager.anonymous_method_type)
return null;
+ if (type != TypeManager.null_type && !Convert.ImplicitStandardConversionExists (this, targetType))
+ return null;
+
if (TypeManager.IsReferenceType (targetType))
return new NullLiteral (targetType, loc);
public override bool IsZeroInteger {
get { return true; }
}
+
+ public override void MutateHoistedGenericType (AnonymousMethodStorey storey)
+ {
+ type = storey.MutateType (type);
+ }
}
//