diff --git a/src/mono/mono/mini/mini-generic-sharing.c b/src/mono/mono/mini/mini-generic-sharing.c index 50fe18a1c034e..c48699c06d425 100644 --- a/src/mono/mono/mini/mini-generic-sharing.c +++ b/src/mono/mono/mini/mini-generic-sharing.c @@ -2273,7 +2273,8 @@ instantiate_info (MonoMemoryManager *mem_manager, MonoRuntimeGenericContextInfoT mono_class_setup_vtable (info->klass); // FIXME: Check type load if (mono_class_is_interface (iface_class)) { - ioffset = mono_class_interface_offset (info->klass, iface_class); + gboolean variance_used; + ioffset = mono_class_interface_offset_with_variance (info->klass, iface_class, &variance_used); g_assert (ioffset != -1); } else { ioffset = 0; diff --git a/src/tests/issues.targets b/src/tests/issues.targets index a5d31439f25fd..b7dd1872f43f2 100644 --- a/src/tests/issues.targets +++ b/src/tests/issues.targets @@ -1461,9 +1461,6 @@ Crashes during LLVM AOT compilation. - - https://github.com/dotnet/runtime/issues/71910 - https://github.com/dotnet/runtime/pull/65632#issuecomment-1046294324