diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2005-11-30 17:36:10 +0300 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2005-11-30 17:36:10 +0300 |
commit | 2b1486b90baa8d3453ff5454b97d8c2759e04492 (patch) | |
tree | bd35186d707f04712b9488c6c81448401e8a723b /mcs/class | |
parent | a2961a9b70e7320b8c26c97260d8bbc72244ec5d (diff) |
2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
* KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
Now internal.
* KeyedListEnumerator.cs: Now internal.
svn path=/trunk/mcs/; revision=53681
Diffstat (limited to 'mcs/class')
-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; |