[Mono-bugs] [Bug 54518][Maj] New - PropertyInfo:GetCustomAttributes does not work for base class properties
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 18 Feb 2004 06:03:28 -0500 (EST)
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 joergr@voelcker.com.
http://bugzilla.ximian.com/show_bug.cgi?id=54518
--- shadow/54518 2004-02-18 06:03:28.000000000 -0500
+++ shadow/54518.tmp.22020 2004-02-18 06:03:28.000000000 -0500
@@ -0,0 +1,43 @@
+Bug#: 54518
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Suse 8.2
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: JoergR@voelcker.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: PropertyInfo:GetCustomAttributes does not work for base class properties
+
+Description of Problem:
+PropertyInfo:GetCustomAttributes does not find custom attrributes of
+inherited properties of a base class.
+
+Steps to reproduce the problem:
+1. Compile attached sample
+2. Run.
+
+Actual Results:
+PropSub1 -> PropTestAttribute
+PropSub2 -> PropTestAttribute
+PropBase1 -> No PropTestAttribute!
+PropBase2 -> No PropTestAttribute!
+
+Expected Results:
+PropSub1 -> PropTestAttribute
+PropSub2 -> PropTestAttribute
+PropBase1 -> PropTestAttribute
+PropBase2 -> PropTestAttribute
+
+How often does this happen?
+Always.
+
+Additional Information:
+It worked until February 17th.