The current implementation of these calls relies on boxing the return, which is invalid for ByRefLike types. This impacts mono-aot on ios.