internal static bool CanAssign(Type/*!*/ to, Type/*!*/ from) { return to.IsAssignableFrom(from) && (to.IsValueType == from.IsValueType); }