[Mono-bugs] [Bug 34403][Wis] New - mcs doesn't see an inherited explicit interface member implementation
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
21 Nov 2002 12:18:58 -0000
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 avd@openlinksw.com.
http://bugzilla.ximian.com/show_bug.cgi?id=34403
--- shadow/34403 Thu Nov 21 07:18:58 2002
+++ shadow/34403.tmp.5736 Thu Nov 21 07:18:58 2002
@@ -0,0 +1,44 @@
+Bug#: 34403
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: avd@openlinksw.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs doesn't see an inherited explicit interface member implementation
+
+The following code compiles fine with Microsoft's csc but produces
+an error with mcs.
+
+using System;
+public interface I
+{
+ void m ();
+}
+public interface II : I
+{
+ void mm ();
+}
+public class X : I
+{
+ void I.m () {}
+}
+class Y : X, II
+{
+ public void mm () {}
+ public static void Main (string[] args) {}
+}
+
+Actual Results:
+
+csif.cs(14) error CS0536: `Y' does not implement interface member `I.m'
+Compilation failed: 1 error(s), 0 warnings