2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
authorRodrigo Moya <rodrigo@mono-cvs.ximian.com>
Fri, 10 May 2002 19:23:35 +0000 (19:23 -0000)
committerRodrigo Moya <rodrigo@mono-cvs.ximian.com>
Fri, 10 May 2002 19:23:35 +0000 (19:23 -0000)
* EventDescriptorCollection.cs (this[index]): call eventList[index],
not this[index], which issues an 'ambigous call' error on Linux.

svn path=/trunk/mcs/; revision=4499

mcs/class/System/System.ComponentModel/ChangeLog
mcs/class/System/System.ComponentModel/EventDescriptorCollection.cs

index 7d0fd2fe2371cf7c98e669937cf4a2f0e6e02e2f..c2bb2dd2b196bd107eb4ac900ec59094bae5b896 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-10  Rodrigo Moya <rodrigo@ximian.com>
+
+       * EventDescriptorCollection.cs (this[index]): call eventList[index],
+       not this[index], which issues an 'ambigous call' error on Linux.
+
 2002-05-07  Rodrigo Moya <rodrigo@ximian.com>
 
        * EventDescriptor.cs: added missing constructors.
index afd7b9b4dc424dca85f8c6dafdb793c626e1c1d7..e122c0b24497a37d25966e9239355ef69983521c 100644 (file)
@@ -135,15 +135,18 @@ namespace System.ComponentModel
                        get { return false; }
                }
 
-//             [MonoTODO]
                bool IList.IsReadOnly {
                        get { return false; }
                }
 
-               object IList.this [int index] {
-                       get { return this [index]; }
+               object IList.this[int index] {
+                       get {
+                               return eventList[index];
+                       }
                        [MonoTODO]
-                       set { throw new NotImplementedException (); }
+                       set {
+                               throw new NotImplementedException ();
+                       }
                }
 
                // ICollection methods