Author: lupus
Date: 2006-11-30 05:12:24 -0500 (Thu, 30 Nov 2006)
New Revision: 68737

Modified:
   trunk/mono/mono/metadata/ChangeLog
   trunk/mono/mono/metadata/icall.c
Log:


Thu Nov 30 11:11:37 CET 2006 Paolo Molaro <[EMAIL PROTECTED]>

        * icall.c: back out GetFields () fix until the serialization code is
        fixed to not depend on the incorrect behaviour.



Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog  2006-11-30 09:45:00 UTC (rev 68736)
+++ trunk/mono/mono/metadata/ChangeLog  2006-11-30 10:12:24 UTC (rev 68737)
@@ -1,4 +1,9 @@
 
+Thu Nov 30 11:11:37 CET 2006 Paolo Molaro <[EMAIL PROTECTED]>
+
+       * icall.c: back out GetFields () fix until the serialization code is
+       fixed to not depend on the incorrect behaviour.
+
 Wed Nov 29 22:01:46 CET 2006 Paolo Molaro <[EMAIL PROTECTED]>
 
        * profiler.c: provide defaults if none are set.

Modified: trunk/mono/mono/metadata/icall.c
===================================================================
--- trunk/mono/mono/metadata/icall.c    2006-11-30 09:45:00 UTC (rev 68736)
+++ trunk/mono/mono/metadata/icall.c    2006-11-30 10:12:24 UTC (rev 68737)
@@ -3104,7 +3104,8 @@
                                match++;
                } else {
                        if (bflags & BFLAGS_NonPublic) {
-                               if ((field->type->attrs & 
FIELD_ATTRIBUTE_FIELD_ACCESS_MASK) != FIELD_ATTRIBUTE_PRIVATE || startklass == 
klass)
+                               /* Serialization currently depends on the old 
behavior.
+                                * if ((field->type->attrs & 
FIELD_ATTRIBUTE_FIELD_ACCESS_MASK) != FIELD_ATTRIBUTE_PRIVATE || startklass == 
klass)*/
                                        match++;
                        }
                }

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

Reply via email to