diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-07-05 15:44:23 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-07-05 15:44:23 +0400 |
commit | 6b0bd13fed5ceef48efe7c5e638bbd76710af02b (patch) | |
tree | 337c92fe207f9e03dc98c089af8d33a52c558e80 /mcs/class/System/System.Collections.Specialized | |
parent | 99ae181aaee7fca70a3cd62f11c29a8bb14e792e (diff) |
2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HybridDictionary.cs:
(Remove): fixed. The value is either in the list or in the hash.
svn path=/trunk/mcs/; revision=5598
Diffstat (limited to 'mcs/class/System/System.Collections.Specialized')
-rwxr-xr-x | mcs/class/System/System.Collections.Specialized/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System/System.Collections.Specialized/HybridDictionary.cs | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mcs/class/System/System.Collections.Specialized/ChangeLog b/mcs/class/System/System.Collections.Specialized/ChangeLog index ef8ba4ca343..558c6366ffa 100755 --- a/mcs/class/System/System.Collections.Specialized/ChangeLog +++ b/mcs/class/System/System.Collections.Specialized/ChangeLog @@ -1,3 +1,8 @@ +2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * HybridDictionary.cs: + (Remove): fixed. The value is either in the list or in the hash. + 2002-06-24 Andrew Birkett <adb@tardis.ed.ac.uk> * BitVector32.cs: Implemented 'set' section indexer. Check for diff --git a/mcs/class/System/System.Collections.Specialized/HybridDictionary.cs b/mcs/class/System/System.Collections.Specialized/HybridDictionary.cs index a8b313cbd91..44548f38774 100644 --- a/mcs/class/System/System.Collections.Specialized/HybridDictionary.cs +++ b/mcs/class/System/System.Collections.Specialized/HybridDictionary.cs @@ -163,7 +163,8 @@ namespace System.Collections.Specialized { {
if (list != null)
list.Remove (key);
- hashtable.Remove (key);
+ else
+ hashtable.Remove (key);
}
private void Switch ()
|