[Mono-bugs] [Bug 79762][Min] Changed - PropertyGrid: inherited attributes not used to determine Category

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 1 14:16:10 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rolfkvinge at ya.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79762

--- shadow/79762	2007-06-01 13:24:44.000000000 -0400
+++ shadow/79762.tmp.13014	2007-06-01 14:16:10.000000000 -0400
@@ -14,6 +14,27 @@
 TargetMilestone: 1_2
 URL: 
 Summary: PropertyGrid: inherited attributes not used to determine Category
 BugsThisDependsOn: 81797
 
 is this even a PG bug?  maybe System.ComponentModel?
+
+------- Additional Comments From rolfkvinge at ya.com  2007-06-01 14:16 -------
+This patch should fix this issue once #81797 is fixed:
+
+Index: ReflectionPropertyDescriptor.cs
+===================================================================
+--- ReflectionPropertyDescriptor.cs     (revision 78441)
++++ ReflectionPropertyDescriptor.cs     (working copy)
+@@ -54,7 +54,7 @@
+                }
+
+                public ReflectionPropertyDescriptor (PropertyInfo 
+info)
+-               : base (info.Name, 
+(Attribute[])info.GetCustomAttributes (true))
++               : base (info.Name, Attribute.GetCustomAttributes 
+(info, true))
+                {
+                        _member = info;
+                        _componentType = _member.DeclaringType;
+


More information about the mono-bugs mailing list