Skip to content

Commit 9292695

Browse files
authored
Merge pull request #1034 from Unity-Technologies/unity-master-revert-wrapper-methods-stack-frame
Revert "Get underlying method in case wrapper method is exposed to us…
2 parents 0fc1542 + db4b2f5 commit 9292695

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mono/metadata/icall.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,10 +1878,6 @@ ves_icall_System_Reflection_MonoMethodInfo_get_parameter_info (MonoMethod *metho
18781878
MonoClass *klass = NULL;
18791879
if (!MONO_HANDLE_IS_NULL (reftype))
18801880
klass = mono_class_from_mono_type (MONO_HANDLE_GETVAL (reftype, type));
1881-
1882-
/* UNITY: handle wrapper methods leaking into call stacks. case 1073634 */
1883-
method = mono_marshal_method_from_wrapper (method);
1884-
18851881
return mono_param_get_objects_internal (domain, method, klass, error);
18861882
}
18871883

0 commit comments

Comments
 (0)