[Mono-bugs] [Bug 80344][Nor] Changed - GetMembers behaviour does not match MS

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 19 11:59:40 EST 2007


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 lupus at ximian.com.

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

--- shadow/80344	2006-12-25 16:28:54.000000000 -0500
+++ shadow/80344.tmp.26898	2007-01-19 11:59:40.000000000 -0500
@@ -126,6 +126,15 @@
 
 The property Base:P1 is returned on Mono, but not on MS. 
 Looks like MS won't return hidden base properties.
 
 ------- Additional Comments From juraj at hotfeet.ch  2006-12-24 07:12 -------
 This bug is mostly likely related to bug 80064.
+
+------- Additional Comments From lupus at ximian.com  2007-01-19 11:59 -------
+Bug 80064 is about the visibility which in this case doesn't matter.
+If someone can suggest a rule we can apply here it would be good.
+The new keyword causes the property in the derived class to be
+considered different, I have no idea why the MS runtime doesn't return
+it, while it returns Derived:GetHashCode() and object:GetHashCode(),
+maybe because the latter is virtual?
+What happens if you also define a set method in Derived:P1?


More information about the mono-bugs mailing list