* verify.c (mono_verifier_verify_class): The generic instance
over its parent generic arguments will end up extending a GTD.
The check against not extending a GTD is only valid for not
generic instance types.
if (class->parent) {
if (MONO_CLASS_IS_INTERFACE (class->parent))
return FALSE;
- if (class->parent->generic_container)
+ if (!class->generic_class && class->parent->generic_container)
return FALSE;
}
if (class->generic_container && (class->flags & TYPE_ATTRIBUTE_LAYOUT_MASK) == TYPE_ATTRIBUTE_EXPLICIT_LAYOUT)