[Mono-bugs] [Bug 79256][Maj] New - ComponentModel.TypeDescriptor.GetAttributes ignores overriden attributes + PATCH + TEST

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 2 15:08:19 EDT 2006


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 contact at i-nz.net.

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

--- shadow/79256	2006-09-02 15:08:19.000000000 -0400
+++ shadow/79256.tmp.31719	2006-09-02 15:08:19.000000000 -0400
@@ -0,0 +1,23 @@
+Bug#: 79256
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: contact at i-nz.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ComponentModel.TypeDescriptor.GetAttributes ignores overriden attributes + PATCH + TEST
+
+System.ComponentModel.TypeDescriptor.GetAttributes ignores the overriden 
+attributes and return the bottom most in the inheritance tree. The 
+attributes should be added to the cache in reverse order, so that the top 
+most will overwrite properties of the same type. (The attributes in the 
+cache are stored by TypeId). Attached a fix and a test case.


More information about the mono-bugs mailing list