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 [EMAIL PROTECTED]

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

--- shadow/80321        2006-12-19 23:47:49.000000000 -0500
+++ shadow/80321.tmp.27206      2006-12-19 23:47:49.000000000 -0500
@@ -0,0 +1,43 @@
+Bug#: 80321
+Product: Mono: Compilers
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: C#
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Missing compiler error CS0536
+
+Compile the following:
+
+using System;
+
+public class MySubClass : MyTest, ICloneable
+{
+       static void Main ()
+       {
+       }
+}
+
+public class MyTest 
+{
+       internal object Clone ()
+       {
+               return MemberwiseClone ();
+       }
+}
+
+In VS2005, which I assume is csc, the following error is produced:
+"'MySubClass' does not implement interface member
+'System.ICloneable.Clone()'. 'MyTest.Clone()' is either static, not public,
+or has the wrong return type."
+
+Both mcs and gmcs produce no error.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to