$OpenBSD: patch-mono_metadata_class_c,v 1.6 2014/07/09 11:39:17 robert Exp $
--- mono/metadata/class.c.orig	Mon Mar 31 22:25:10 2014
+++ mono/metadata/class.c	Tue Jul  8 10:25:55 2014
@@ -1894,7 +1894,8 @@ mono_class_layout_fields (MonoClass *class)
 					field->offset &= ~(align - 1);
 				}
 				/*TypeBuilders produce all sort of weird things*/
-				g_assert (class->image->dynamic || field->offset > 0);
+				/*can't have this assert on 2.6 since its SRE has much more trouble handling inflated types in SRE context.*/
+				/*g_assert (class->image->dynamic || field->offset > 0);*/
 				real_size = field->offset + size;
 			}
 
