[Mono-bugs] [Bug 79257][Maj] New - System.ComponentModel.ReflectorPropertyDescriptor Ignores Design-Time properties + PATCH

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 2 15:11:17 EDT 2006


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 contact at i-nz.net.

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

--- shadow/79257	2006-09-02 15:11:17.000000000 -0400
+++ shadow/79257.tmp.31766	2006-09-02 15:11:17.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 79257
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: contact at i-nz.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.ComponentModel.ReflectorPropertyDescriptor Ignores Design-Time properties + PATCH
+
+The attached patch fixes two bugs:
+
+1) The ReflectionPropretyDescriptor must be able to operate with non
+public properties.
+
+2) The current implementation ignores the fact that the component can
+be in design mode. In design mode some of the properties (the
+design-time ones) are supposed to be redirected to the designer. The
+component which should be used to access the property is retrieved by
+using MemberDescriptor.GetInvokee (implemented in the patch). Updated
+the ReflectorPropertyDescriptor to use GetInvokee to decide which
+component should it use.
+
+P.S: Whitespace cleanup in the patch too.


More information about the mono-bugs mailing list