[Mono-dev] [PATCH] TypeDescriptor
Ivan N. Zlatev
contact at i-nz.net
Mon Apr 28 16:50:44 EDT 2008
2008/4/28 James Fitzsimons <james.fitzsimons at gmail.com>:
> 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.
Please fix the following things and resend:
1) Reformat your patch to match our coding guidelines -
2) Add ChangeLog entries.
3) Fix the mixed indentation in the code in the tests you've added.
4) Fix the indentation in this hunk:
@@ -427,6 +447,9 @@
MyComponent sitedcom = new MyComponent (new MySite ());
MyComponent nfscom = new MyComponent (new NoFilterSite (new MyContainer ()));
AnotherComponent anothercom = new AnotherComponent ();
+ TestObject testObject = new TestObject();
+ PropertyDescriptorCollection properties =
public void TestICustomTypeDescriptor ()
More information about the Mono-devel-list