2006-11-29 Ivan N. Zlatev <contact@i-nz.net>
authorMiguel de Icaza <miguel@gnome.org>
Thu, 30 Nov 2006 03:52:42 +0000 (03:52 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 30 Nov 2006 03:52:42 +0000 (03:52 -0000)
commite3990cf9e1dbc73118bbe2be4c6e4620bb31b2be
treef241b8a88e97242994e851507c5926eb58a8408d
parentde6c68a0b855eac26f52b2241160ce37b65cb987
2006-11-29  Ivan N. Zlatev <contact@i-nz.net>

* MemberDescriptor.cs, ReflectionPropertyDescriptor.cs: 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.

Reviewed by: Miguel de Icaza

svn path=/trunk/mcs/; revision=68728
mcs/class/System/System.ComponentModel/ChangeLog
mcs/class/System/System.ComponentModel/MemberDescriptor.cs
mcs/class/System/System.ComponentModel/ReflectionPropertyDescriptor.cs