[Mono-bugs] [Bug 46330][Nor] New - Internal implementation of an interface method should not compile
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 14 Jul 2003 15:57:18 -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 jlaban@wanadoo.fr.
http://bugzilla.ximian.com/show_bug.cgi?id=46330
--- shadow/46330 Mon Jul 14 15:57:18 2003
+++ shadow/46330.tmp.17215 Mon Jul 14 15:57:18 2003
@@ -0,0 +1,32 @@
+Bug#: 46330
+Product: Mono/MCS
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: jlaban@wanadoo.Fr
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Internal implementation of an interface method should not compile
+
+The following code :
+
+public class MyTest : ICloneable {
+ internal object Clone(){
+ return MemberwiseClone();
+ }
+}
+
+Should produce the following error :
+
+error CS0536: `MyTest' does not implement interface member
+`System.ICloneable.Clone'. (method might be private or static)
+
+While it compiles without any errors.