[Mono-bugs] [Bug 35004][Blo] Changed - Unhandled Exception: System.Reflection.AmbiguousMatchException: <element> has more than one attribute of type <attribute_type>

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
7 Dec 2002 01:59:11 -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 miguel@ximian.com.

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

--- shadow/35004	Wed Dec  4 19:51:57 2002
+++ shadow/35004.tmp.26960	Fri Dec  6 20:59:11 2002
@@ -116,6 +116,20 @@
                for (...) {
                         ...
 
 
 Miguel.
 
+
+------- Additional Comments From miguel@ximian.com  2002-12-06 20:59 -------
+I added some code to MCS which should help track down what part of the
+code is triggering the bug.  But from the Stacktrace, it looks like
+MCS is not aware that there might be more than one attribute in an
+object, and the runtime complains.
+
+Now what seems to be the problem is that your code might contain the
+following more than once in a class.
+
+[IndexerName ("XXX")]
+
+Miguel.
+