ver constant fix + type is_marshal_by_ref duplicate removal