Author: zoltan
Date: 2007-09-25 11:24:21 -0400 (Tue, 25 Sep 2007)
New Revision: 86335

Modified:
   trunk/mono/mono/metadata/ChangeLog
   trunk/mono/mono/metadata/icall.c
Log:
2007-09-25  Zoltan Varga  <[EMAIL PROTECTED]>

        * icall.c (ves_icall_get_property_info): Set the reflected type of the
        accessors correctly.


Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog  2007-09-25 15:24:10 UTC (rev 86334)
+++ trunk/mono/mono/metadata/ChangeLog  2007-09-25 15:24:21 UTC (rev 86335)
@@ -1,4 +1,8 @@
+2007-09-25  Zoltan Varga  <[EMAIL PROTECTED]>
 
+       * icall.c (ves_icall_get_property_info): Set the reflected type of the
+       accessors correctly.
+
 Tue Sep 25 14:56:03 CEST 2007 Paolo Molaro <[EMAIL PROTECTED]>
 
        * threads.c: support OSX and other systems in

Modified: trunk/mono/mono/metadata/icall.c
===================================================================
--- trunk/mono/mono/metadata/icall.c    2007-09-25 15:24:10 UTC (rev 86334)
+++ trunk/mono/mono/metadata/icall.c    2007-09-25 15:24:21 UTC (rev 86335)
@@ -1683,11 +1683,11 @@
 
        if ((req_info & PInfo_GetMethod) != 0)
                info->get = property->property->get ?
-                           mono_method_get_object (domain, 
property->property->get, NULL): NULL;
+                           mono_method_get_object (domain, 
property->property->get, property->klass): NULL;
        
        if ((req_info & PInfo_SetMethod) != 0)
                info->set = property->property->set ?
-                           mono_method_get_object (domain, 
property->property->set, NULL): NULL;
+                           mono_method_get_object (domain, 
property->property->set, property->klass): NULL;
        /* 
         * There may be other methods defined for properties, though, it seems 
they are not exposed 
         * in the reflection API 

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

Reply via email to