MonoMethod *wrapper;
RuntimeMethod *rmethod;
- if (method->wrapper_type && method->wrapper_type != MONO_WRAPPER_RUNTIME_INVOKE)
+ if (method->wrapper_type && method->wrapper_type == MONO_WRAPPER_NATIVE_TO_MANAGED)
return NULL;
+ /* HACK: method_ptr of delegate should point to a runtime method*/
+ if (method->wrapper_type && method->wrapper_type == MONO_WRAPPER_DYNAMIC_METHOD)
+ return mono_interp_get_runtime_method (mono_domain_get (), method, error);
+
rmethod = mono_interp_get_runtime_method (mono_domain_get (), method, error);
if (rmethod->jit_entry)
return rmethod->jit_entry;
call_missing_method.exe \
calliGenericTest.exe \
cominterop.exe \
- constant-division.exe \
- context-static.exe \
cross-domain.exe \
delegate-async-exit.exe \
delegate-delegate-exit.exe \
delegate5.exe \
delegate8.exe \
delegate9.exe \
- dynamic-method-access.2.exe \
- dynamic-method-finalize.2.exe \
- dynamic-method-resurrection.exe \
dynamic-method-stack-traces.exe \
even-odd.exe \
exception18.exe \