[Mono-bugs] [Bug 78367][Nor] Changed - incorrect CS0019 : hidden member takes precedence over "new" member on resolving member

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 12 14:16:24 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 rharinath at novell.com.

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

--- shadow/78367	2006-05-12 07:01:09.000000000 -0400
+++ shadow/78367.tmp.27084	2006-05-12 14:16:24.000000000 -0400
@@ -149,6 +149,15 @@
         IComparable b;
         public bool Foo () { return b == c; }
 }
 --------
 
 It compiles under MS.NET (1.1/2.0) and does not under Mono (mcs/gmcs).
+
+------- Additional Comments From rharinath at novell.com  2006-05-12 14:16 -------
+Ok.  I looked at the new standard, and CSC's behaviour is indeed
+allowed (treating an interface reference as of type 'object') --
+section 14.9.6 has been extensively rewritten.
+
+So, it's a question of catching up to the new standard (which probably
+finally caught up with CSC's implementation :-)
+


More information about the mono-bugs mailing list