mail-archives/mono-bugs/2003-July/006376.html

96 строки
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 46330][Nor] New - Internal implementation of an interface method should not compile
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="006375.html">
<LINK REL="Next" HREF="006378.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 46330][Nor] New - Internal implementation of an interface method should not compile
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 46330][Nor] New - Internal implementation of an interface method should not compile">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Mon, 14 Jul 2003 15:57:18 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006375.html">[Mono-bugs] [Bug 46220][Nor] Changed - Illegal by-ref params argument is accepted by compiler and runtime
</A></li>
<LI> Next message: <A HREF="006378.html">[Mono-bugs] [Bug 46363][Wis] New - mcs gives sigsegv (mini:6676)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6376">[ date ]</a>
<a href="thread.html#6376">[ thread ]</a>
<a href="subject.html#6376">[ subject ]</a>
<a href="author.html#6376">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:jlaban@wanadoo.fr.">jlaban@wanadoo.fr.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=46330">http://bugzilla.ximian.com/show_bug.cgi?id=46330</A>
--- 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: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+ReportedBy: <A HREF="mailto:jlaban@wanadoo.Fr">jlaban@wanadoo.Fr</A>
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+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.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006375.html">[Mono-bugs] [Bug 46220][Nor] Changed - Illegal by-ref params argument is accepted by compiler and runtime
</A></li>
<LI> Next message: <A HREF="006378.html">[Mono-bugs] [Bug 46363][Wis] New - mcs gives sigsegv (mini:6676)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6376">[ date ]</a>
<a href="thread.html#6376">[ thread ]</a>
<a href="subject.html#6376">[ subject ]</a>
<a href="author.html#6376">[ author ]</a>
</LI>
</UL>
</body></html>