[Mono-dev] [PATCH] TypeDescriptor

James Fitzsimons james.fitzsimons at gmail.com
Mon Apr 28 16:33:41 EDT 2008


Hi all,

While debugging a problem with Spring.NET over the weekend I uncovered an
inconsistency in behaviour between the Mono and Microsoft implementations of
the  GetProperties method of the TypeDescriptor class. Basically the
Microsoft only returns properties that have a getter, however Mono returns
write only properties as well.

The attached patch contains a fix and a few more unit tests to check that it
works and it doesn't break existing behaviour.

Hope it helps,
James Fitzsimons
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080428/aa7cea67/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TypeDescriptor.diff
Type: text/x-patch
Size: 3195 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080428/aa7cea67/attachment.bin 


More information about the Mono-devel-list mailing list