Fix handling of unmanaged member function pointers in Crossgen2 (#51089)
Fixes: https://github.com/dotnet/runtime/issues/51007 Without setting found to true we lose the transformed calling convention (StdcallMemberFunction) and we end up lying to JIT that getSize is an unmanaged static function pointer so that JIT doesn't emit proper code for passing the "this" pointer to the PInvoke. Thanks Tomas
Showing
想要评论请 注册 或 登录