Zoltan, can you have a look? It looks AOT-related (and I can reproduce with both maccore/master and 8.10)
This is the exception I get (on both armv7 and arm64):
> Attempting to JIT compile method '(wrapper runtime-invoke) <Module>:runtime_invoke_void__this___Nullable`1<DataValue> (object,intptr,intptr,intptr)' while running with --aot-only.
It happens even if the managed linker is disabled.
This is a known limitation, it can be worked around by telling the AOT compiler to generate extra code, as it is done in the test case.