Eventually should support this (System.RuntimeType.GetInterfaceMapData
could use it, for one) but for now just assert.
ret->param_count = csig->param_count + 1;
ret->ret = csig->ret;
- for (int i = 0; i < csig->param_count; ++i)
+ for (int i = 0; i < csig->param_count; ++i) {
+ // FIXME: TODO implement handle wrapping for out and inout params.
+ g_assert (!mono_signature_param_is_out (csig, i));
ret->params [i] = csig->params [i];
+ }
ret->params [csig->param_count] = &mono_get_intptr_class ()->byval_arg;
call_sig = ret;
}