[Mono-bugs] [Bug 75152][Nor] New - [PATCH] TypeDescriptor fixes for
.NET 2.0
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Jun 4 04:30:50 EDT 2005
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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=75152
--- shadow/75152 2005-06-04 04:30:50.000000000 -0400
+++ shadow/75152.tmp.1955 2005-06-04 04:30:50.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 75152
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH] TypeDescriptor fixes for .NET 2.0
+
+The Mono TypeDescriptor did not match that of MS.NET (2.0):
+
+- In MS.NET 2.0, TypeDescriptor.GetComponentName () returns null if the
+object is not a component or the component has no site
+
+- In MS.NET 2.0, TypeDescriptor.GetDefaultEvent () does not fallback to
+the first defined event if the default event is filtered out.
+
+- Mono's TypeDescriptor.GetDefaultProperty () did not take into account
+filtering of properties.
+
+The attached patch fixes these issues and adds units tests for them, that
+now pass on both Mono (1.0 and 2.0) and MS.NET (1.x and 2.0 Beta 2).
+
+PS. Sorry for not splitting it up in multiple bug reports. If you still
+want me to do so, just let me know ...
More information about the mono-bugs
mailing list