[Mono-bugs] [Bug 78065][Nor] New - Missing interface check

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Apr 9 11:51:42 EDT 2006


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 miguel at ximian.com.

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

--- shadow/78065	2006-04-09 11:51:42.000000000 -0400
+++ shadow/78065.tmp.9373	2006-04-09 11:51:42.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 78065
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Missing interface check
+
+20.4.1 Explicit interface member implementations
+<quote>
+If the interface function member does not have a parameter array then an 
+associated explicit interface member implementation shall not have a 
+parameter array.
+</quote>
+
+
+interface I
+{
+    void M(int[] values);
+}
+class Base : I
+{
+    void I.M(params int[] values) {}
+}
+
+class J { static void Main () {} }
+Mono compiler does not complain about this.


More information about the mono-bugs mailing list