[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
5 Dec 2002 00:51:57 -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	Tue Dec  3 18:50:28 2002
+++ shadow/35004.tmp.21178	Wed Dec  4 19:51:57 2002
@@ -86,6 +86,36 @@
 Every time.
 
 Additional Information:
 
 ------- Additional Comments From James.Birmingham@corp.terralycos.com  2002-12-03 18:50 -------
 This bug occured using the latest build dated Dec 02 2002.
+
+------- Additional Comments From miguel@ximian.com  2002-12-04 19:51 -------
+Well, there is some information here to help you track this down.  In
+some class you have an indexer, try to isolate that indexer).
+
+The indexer is referenced inside a for loop, and its part of a
+compound assignment, something like:
+
+    ... 
+
+     for (...) {
+         x += a [i];
+
+or:
+
+     for (...) {
+         a [i] += ...;
+
+The class causing the problem is the class of type `a'.
+
+This code is actually inside a try and an if:
+
+    try {
+         if ()
+               for (...) {
+                        ...
+
+
+Miguel.
+