Author: zoltan
Date: 2007-12-06 10:30:10 -0500 (Thu, 06 Dec 2007)
New Revision: 90814
Modified:
trunk/mono/mono/metadata/ChangeLog
trunk/mono/mono/metadata/icall.c
Log:
2007-12-06 Zoltan Varga <[EMAIL PROTECTED]>
* icall.c
(ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor):
Allow interface cctors to be called too.
Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog 2007-12-06 15:29:09 UTC (rev 90813)
+++ trunk/mono/mono/metadata/ChangeLog 2007-12-06 15:30:10 UTC (rev 90814)
@@ -1,3 +1,7 @@
+2007-12-06 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * icall.c
(ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor):
Allow interface cctors to be called too.
+
2007-12-05 Rodrigo Kumpera <[EMAIL PROTECTED]>
* verify.c (mono_method_verify): null literal requires special handling,
Modified: trunk/mono/mono/metadata/icall.c
===================================================================
--- trunk/mono/mono/metadata/icall.c 2007-12-06 15:29:09 UTC (rev 90813)
+++ trunk/mono/mono/metadata/icall.c 2007-12-06 15:30:10 UTC (rev 90814)
@@ -817,6 +817,7 @@
ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor
(MonoType *handle)
{
MonoClass *klass;
+ MonoMethod *method;
MONO_ARCH_SAVE_REGS;
@@ -826,8 +827,7 @@
MONO_CHECK_ARG (handle, klass);
/* This will call the type constructor */
- if (! (klass->flags & TYPE_ATTRIBUTE_INTERFACE))
- mono_runtime_class_init (mono_class_vtable (mono_domain_get (),
klass));
+ mono_runtime_class_init (mono_class_vtable (mono_domain_get (), klass));
}
static void
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches