Bugzilla – Bug 323512
Problem with overrides.
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by miguel@ximian.com 2007-02-13 10:13:20 MST ---- The following program (compiled with CSC, because MCS is currently buggy and can not compile it), should print: Override Interface But instead it prints: Override Override using System; abstract class A : I { protected abstract void M (); void I.M () { Console.WriteLine ("Interface"); } } interface I { void M (); } class C : A, I { protected override void M () { Console.WriteLine ("Override"); } public static void Main () { C c = new C (); c.M (); I i = c; i.M (); } } ---- Additional Comments From miguel@ximian.com 2007-02-17 11:30:43 MST ---- Massi has a fix for a similar issue (75903). ---- Additional Comments From massi@ximian.com 2007-02-19 06:16:59 MST ---- My fix works here too, and the problem seems really the same one... *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO75903 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"