[Mono-dev] [Patch] 2 Bugs in ReflectorPropertyDescriptor: ignores Design-Time properties

Ivan N. Zlatev contact at i-nz.net
Fri Sep 1 21:38:36 EDT 2006


This patch fixed the following 2 bugs. Please review and commit

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.

Cheers,
-- 
Ivan N. Zlatev

Web: http://www.i-nZ.net
GPG Key: http://files.i-nZ.net/i-nZ.asc
"It's all some kind of whacked out conspiracy."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ReflectionPropretyDescriptor_MemberDescriptor_DesignTime.patch
Type: text/x-patch
Size: 12877 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060902/aec755ce/attachment.bin 


More information about the Mono-devel-list mailing list