diff --git a/src/mono/mono/metadata/marshal-ilgen.c b/src/mono/mono/metadata/marshal-ilgen.c index 151e05a936dabe..9cfd06722633e4 100644 --- a/src/mono/mono/metadata/marshal-ilgen.c +++ b/src/mono/mono/metadata/marshal-ilgen.c @@ -1448,6 +1448,7 @@ mono_mb_emit_restore_result (MonoMethodBuilder *mb, MonoType *return_type) g_assert_not_reached (); break; case MONO_TYPE_PTR: + case MONO_TYPE_FNPTR: case MONO_TYPE_STRING: case MONO_TYPE_CLASS: case MONO_TYPE_OBJECT: