[Mono-bugs] [Bug 76647][Wis] New - TypeDescriptor.GetProperties is implemented different in MONO than in MS.NET

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 8 10:43:00 EST 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 roeie at mainsoft.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76647

--- shadow/76647	2005-11-08 10:43:00.000000000 -0500
+++ shadow/76647.tmp.24702	2005-11-08 10:43:00.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 76647
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: roeie at mainsoft.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TypeDescriptor.GetProperties is implemented different in MONO than in MS.NET
+
+Description of Problem:
+
+when creating an object that implements the 
+interface "System.ComponentModel.ICustomTypeDescriptor", and then 
+invoking the following method:
+TypeDescriptor.GetProperties(myObj);
+The results are different between MONO and MS.NET.
+In MS.NET the implemented method "PropertyDescriptorCollection 
+GetProperties()" is invoked while in mono the implemented 
+method: "PropertyDescriptorCollection GetProperties(Attribute[] 
+attributes)" is invoked.
+ 
+Steps to reproduce the problem:
+implement the interface "System.ComponentModel.ICustomTypeDescriptor" and 
+invoke TypeDescriptor.GetProperties(obj) on it.
+or run the attached file.
+
+Actual Results:
+
+different in MONO and .NET
+
+Expected Results:
+
+should the same
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list