[Mono-bugs] [Bug 77124][Maj] Changed - [GMCS] CS0102 incorrectly reported during explicit implementation of two instancrs of the same generic interface

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 18 12:39:12 EST 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 martin at ximian.com.

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

--- shadow/77124	2006-01-18 12:38:55.000000000 -0500
+++ shadow/77124.tmp.15396	2006-01-18 12:39:12.000000000 -0500
@@ -48,6 +48,29 @@
 Additional Information:
 
 ------- Additional Comments From gael at fraiteur.net  2005-12-29 16:37 -------
 Created an attachment (id=16268)
 Test case
 
+
+------- Additional Comments From martin at ximian.com  2006-01-18 12:39 -------
+interface IMyInterface<T>
+{
+	event EventHandler MyEvent;
+}
+
+public class MyClass: IMyInterface<string>, MyInterface<int>
+{
+	event EventHandler IMyInterface<string>.MyEvent
+	{
+	add {}
+	remove {}
+	}
+
+	event EventHandler IMyInterface<int>.MyEvent
+	{
+	add {}
+	remove {}
+	}
+	
+}
+


More information about the mono-bugs mailing list