From 35911a46b21e0810b3dd86c48128511bf3fda616 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Fri, 10 May 2002 19:23:35 +0000 Subject: [PATCH] 2002-05-10 Rodrigo Moya * 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 | 5 +++++ .../EventDescriptorCollection.cs | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/mcs/class/System/System.ComponentModel/ChangeLog b/mcs/class/System/System.ComponentModel/ChangeLog index 7d0fd2fe237..c2bb2dd2b19 100644 --- a/mcs/class/System/System.ComponentModel/ChangeLog +++ b/mcs/class/System/System.ComponentModel/ChangeLog @@ -1,3 +1,8 @@ +2002-05-10 Rodrigo Moya + + * EventDescriptorCollection.cs (this[index]): call eventList[index], + not this[index], which issues an 'ambigous call' error on Linux. + 2002-05-07 Rodrigo Moya * EventDescriptor.cs: added missing constructors. diff --git a/mcs/class/System/System.ComponentModel/EventDescriptorCollection.cs b/mcs/class/System/System.ComponentModel/EventDescriptorCollection.cs index afd7b9b4dc4..e122c0b2449 100644 --- a/mcs/class/System/System.ComponentModel/EventDescriptorCollection.cs +++ b/mcs/class/System/System.ComponentModel/EventDescriptorCollection.cs @@ -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 -- 2.25.1