Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2002-09-03 13:55:35 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2002-09-03 13:55:35 +0400
commit9fc1f796b09dab1b2ab22c3d346706ac1efe0ab0 (patch)
tree0e743e3b433218c3f01e6b6dda929482870ba519 /mcs/class/System/System.Collections.Specialized
parentcb4d014f4c7795bd37c65de54c247fff0ee12560 (diff)
2002-09-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* StringCollection.cs: fixes bug #29791. Thanks to Marcus Urban (mathpup@mylinuxisp.com). svn path=/trunk/mcs/; revision=7194
Diffstat (limited to 'mcs/class/System/System.Collections.Specialized')
-rwxr-xr-xmcs/class/System/System.Collections.Specialized/ChangeLog5
-rwxr-xr-xmcs/class/System/System.Collections.Specialized/StringCollection.cs2
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/System/System.Collections.Specialized/ChangeLog b/mcs/class/System/System.Collections.Specialized/ChangeLog
index 5f2b73d9585..565d9972c4c 100755
--- a/mcs/class/System/System.Collections.Specialized/ChangeLog
+++ b/mcs/class/System/System.Collections.Specialized/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * StringCollection.cs: fixes bug #29791. Thanks to Marcus Urban
+ (mathpup@mylinuxisp.com).
+
2002-07-22 Tim Coleman <tim@timcoleman.com>
* NameObjectCollectionBase.cs: added iterator stubb to
NameObjectCollectionBase.KeysCollection
diff --git a/mcs/class/System/System.Collections.Specialized/StringCollection.cs b/mcs/class/System/System.Collections.Specialized/StringCollection.cs
index 120468812f2..661aa1379ca 100755
--- a/mcs/class/System/System.Collections.Specialized/StringCollection.cs
+++ b/mcs/class/System/System.Collections.Specialized/StringCollection.cs
@@ -274,7 +274,7 @@ namespace System.Collections.Specialized {
throw new InvalidOperationException();
}
- if (++index >= data.count - 1) {
+ if (++index >= data.count) {
return false;
}