[Mono-bugs] [Bug 77124][Wis] New - 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
Thu Dec 29 16:36:44 EST 2005
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 gael at fraiteur.net.
http://bugzilla.ximian.com/show_bug.cgi?id=77124
--- shadow/77124 2005-12-29 16:36:44.000000000 -0500
+++ shadow/77124.tmp.23423 2005-12-29 16:36:44.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 77124
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details: Fedora FC4 x64
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: gael at fraiteur.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CS0102 incorrectly reported during explicit implementation of two instancrs of the same generic interface
+
+Description of Problem:
+--------------------------
+The error CS0102 is reported if a class implements explicitely two
+instances of the same generic interface (with other generic parameters),
+when this instance has an event.
+
+Steps to reproduce the problem:
+---------------------------------
+Compile the attached file using "gmcs
+TestEventDuplicateInterfaceImplementation.cs"
+
+Actual Results:
+------------------
+TestEventDuplicateInterfaceImplementation.cs(14,43): error CS0102: The type
+`MyClass' already contains a definition for `MyEvent'
+TestEventDuplicateInterfaceImplementation.cs(8,49)::
+`MyClass.IMyInterface`1.MyEvent', name of symbol related to previous error
+Compilation failed: 1 error(s), 0 warnings
+
+
+Expected Results:
+------------------
+Should compile (the MS compiler does).
+
+How often does this happen?
+-----------------------------
+Always
+
+
+Additional Information:
More information about the mono-bugs
mailing list