diff options
-rw-r--r-- | mcs/class/System.Web/System.Web.UI/ChangeLog | 6 | ||||
-rw-r--r-- | mcs/class/System.Web/System.Web.UI/KeyedList.cs | 7 | ||||
-rw-r--r-- | mcs/class/System.Web/System.Web.UI/KeyedListEnumerator.cs | 2 |
3 files changed, 13 insertions, 2 deletions
diff --git a/mcs/class/System.Web/System.Web.UI/ChangeLog b/mcs/class/System.Web/System.Web.UI/ChangeLog index 8daa06c3137..f1b10b898f6 100644 --- a/mcs/class/System.Web/System.Web.UI/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI/ChangeLog @@ -1,3 +1,9 @@ +2005-11-30 Sebastien Pouliot <sebastien@ximian.com> + + * KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final. + Now internal. + * KeyedListEnumerator.cs: Now internal. + 2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com> * ControlCollection.cs: allow 'null' in Remove. diff --git a/mcs/class/System.Web/System.Web.UI/KeyedList.cs b/mcs/class/System.Web/System.Web.UI/KeyedList.cs index f6b5fa2ecfb..a67c11daf9d 100644 --- a/mcs/class/System.Web/System.Web.UI/KeyedList.cs +++ b/mcs/class/System.Web/System.Web.UI/KeyedList.cs @@ -34,7 +34,7 @@ using System.Collections.Specialized; namespace System.Web.UI { - public class KeyedList : IOrderedDictionary, IStateManager + internal class KeyedList : IOrderedDictionary, IStateManager { private Hashtable objectTable = new Hashtable (); @@ -93,6 +93,11 @@ namespace System.Web.UI return new KeyedListEnumerator (objectList); } + IDictionaryEnumerator IOrderedDictionary.GetEnumerator () + { + return new KeyedListEnumerator (objectList); + } + IEnumerator IEnumerable.GetEnumerator () { return new KeyedListEnumerator (objectList); diff --git a/mcs/class/System.Web/System.Web.UI/KeyedListEnumerator.cs b/mcs/class/System.Web/System.Web.UI/KeyedListEnumerator.cs index 8abe067aadc..3a28e6341a3 100644 --- a/mcs/class/System.Web/System.Web.UI/KeyedListEnumerator.cs +++ b/mcs/class/System.Web/System.Web.UI/KeyedListEnumerator.cs @@ -32,7 +32,7 @@ using System.Collections; namespace System.Web.UI { - public class KeyedListEnumerator : IDictionaryEnumerator + internal class KeyedListEnumerator : IDictionaryEnumerator { private int index = -1; private ArrayList objs; |