diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2007-12-17 11:51:58 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2007-12-17 11:51:58 +0300 |
commit | 92692a36b51b6928c3e6cbd6f06ecc2f09b4be21 (patch) | |
tree | 6225a8a8ace856d83531853af3ede40c8ec0875f /mcs/class/System.XML/System.Xml.XPath | |
parent | a7e430277e2696a130ee7e25c2cfa2c89b558ec8 (diff) |
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : oops, extra removal that causes perf. loss.
svn path=/trunk/mcs/; revision=91406
Diffstat (limited to 'mcs/class/System.XML/System.Xml.XPath')
-rw-r--r-- | mcs/class/System.XML/System.Xml.XPath/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml.XPath/Iterator.cs | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml.XPath/ChangeLog b/mcs/class/System.XML/System.Xml.XPath/ChangeLog index f751f2bc5c2..7eaa846e1f2 100644 --- a/mcs/class/System.XML/System.Xml.XPath/ChangeLog +++ b/mcs/class/System.XML/System.Xml.XPath/ChangeLog @@ -1,5 +1,9 @@ 2007-12-17 Atsushi Enomoto <atsushi@ximian.com> + * Iterator.cs : oops, extra removal that causes perf. loss. + +2007-12-17 Atsushi Enomoto <atsushi@ximian.com> + * Iterator.cs : be more strict to detect the end of PredicateIterator. Fixed bug #349111. diff --git a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs index 7e4f0ac98c7..7221168725e 100644 --- a/mcs/class/System.XML/System.Xml.XPath/Iterator.cs +++ b/mcs/class/System.XML/System.Xml.XPath/Iterator.cs @@ -1008,6 +1008,8 @@ namespace System.Xml.XPath public override bool MoveNextCore () { + if (finished) + return false; while (_iter.MoveNext ()) { switch (resType) { |