[Mono-bugs] [Bug 58661][Nor] New - PropertyInfo.GetAccessors returns array with null value
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 18 May 2004 14:17:26 -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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=58661
--- shadow/58661 2004-05-18 14:17:26.000000000 -0400
+++ shadow/58661.tmp.27417 2004-05-18 14:17:26.000000000 -0400
@@ -0,0 +1,23 @@
+Bug#: 58661
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: PropertyInfo.GetAccessors returns array with null value
+
+In MonoProperty.GetAccessors(bool), the wrong MethodInfo is returned for
+properties with only a getter or setter.
+
+eg. for a readonly property, GetAccessors(true)[0] will return the set
+method, meaning null as there is no setter.