[Mono-bugs] [Bug 26223] New - Interface Conflict

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
13 Jun 2002 19:17:06 -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 tcrowell@thirdm.com.


--- shadow/26223	Thu Jun 13 15:17:06 2002
+++ shadow/26223.tmp.7452	Thu Jun 13 15:17:06 2002
@@ -0,0 +1,43 @@
+Bug#: 26223
+Product: Mono/MCS
+Version: unspecified
+OS: Red Hat 7.2
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tcrowell@thirdm.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Interface Conflict
+Description of Problem:
+MCS can not compile a class that implements two
+methods that contain an identical method declaration
+without using explicit interface implementation.
+Steps to reproduce the problem:
+1. write two interfaces that contain identical method declarations
+2. write a class that implements both interfaces
+3. compile
+Actual Results:
+compile fails. Error:
+'MyClass' does not contain interface member 'MyInterface.Member'. (method
+might be private or static)
+Expected Results:
+source compiles, mono executes and both interfaces invoke the same
+single implemented method.
+How often does this happen? 
+Additional Information:
+See attached example "conflict.cs" which produces the bug
+and "explicit_interface_impl.cs" which successfuly compiles.