Author: zoltan
Date: 2005-03-27 13:04:05 -0500 (Sun, 27 Mar 2005)
New Revision: 42288

Modified:
   trunk/mono/mono/metadata/ChangeLog
   trunk/mono/mono/metadata/marshal.c
Log:
2005-03-27  Zoltan Varga  <[EMAIL PROTECTED]>

        * marshal.c (mono_marshal_get_managed_wrapper): Fix bogus assert on
        the 2.0 profile.


Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog  2005-03-27 17:57:49 UTC (rev 42287)
+++ trunk/mono/mono/metadata/ChangeLog  2005-03-27 18:04:05 UTC (rev 42288)
@@ -1,3 +1,8 @@
+2005-03-27  Zoltan Varga  <[EMAIL PROTECTED]>
+
+       * marshal.c (mono_marshal_get_managed_wrapper): Fix bogus assert on
+       the 2.0 profile.
+
 2005-03-27  Raja R Harinath  <[EMAIL PROTECTED]>
 
        * Makefile.am (assembliesdir): Fix.  If it is arch-dependent it

Modified: trunk/mono/mono/metadata/marshal.c
===================================================================
--- trunk/mono/mono/metadata/marshal.c  2005-03-27 17:57:49 UTC (rev 42287)
+++ trunk/mono/mono/metadata/marshal.c  2005-03-27 18:04:05 UTC (rev 42288)
@@ -6143,12 +6143,12 @@
                                memset (&piinfo, 0, sizeof (piinfo));
                                m.piinfo = &piinfo;
                                piinfo.piflags = (attr->call_conv << 8) | 
(attr->charset ? (attr->charset - 1) * 2 : 1) | attr->set_last_error;
+
+                               /* FIXME: modify the calling convention */
+                               g_assert_not_reached ();
                        }
                        if (!cinfo->cached)
                                mono_custom_attrs_free (cinfo);
-
-                       /* FIXME: modify the calling convention */
-                       g_assert_not_reached ();
                }
        }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to