[Mono-bugs] [Bug 67088][Wis] New - AttributeCollection [Type t] does not support Attribute inheritance
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 29 Sep 2004 09:00:05 -0400 (EDT)
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 sr@sander.yi.org.
http://bugzilla.ximian.com/show_bug.cgi?id=67088
--- shadow/67088 2004-09-29 09:00:05.000000000 -0400
+++ shadow/67088.tmp.7082 2004-09-29 09:00:05.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 67088
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: sr@sander.yi.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: AttributeCollection [Type t] does not support Attribute inheritance
+
+Description of Problem:
+I noticed this problem when trying to get to the properties of a
+System.Web.UI.WebControls.TextBox. When I call
+myPropertyDescriptor.Category, it returns null.
+
+The .Category property looks for attributes of type CategoryAttribute.
+However the properties in a TextBox are of type WebCategoryAttribute :
+CategoryAttribute
+
+
+
+Steps to reproduce the problem:
+I'll attach a code example
+
+Actual Results:
+AttributeCollection[Type t] returns null when Type is WebCategoryAttribute
+: CattegoryAttribute
+
+Expected Results:
+AttributeCollection[Type t] should also return an attribute if type is
+assignable from the type in it's collection.
+
+How often does this happen?
+Always
+
+Additional Information: