From: Miguel de Icaza Date: Thu, 17 Jun 2010 16:29:13 +0000 (-0000) Subject: 2010-06-17 Miguel de Icaza X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=79a72debb1aa166dc815ffa6764b1b08e02a2b29;p=mono.git 2010-06-17 Miguel de Icaza * DataConverter.cs: On bracketed cases, save the position as well, like we do in the repeat case without brackets. Fixes #595929 svn path=/trunk/mcs/; revision=159075 --- diff --git a/mcs/class/corlib/Mono/ChangeLog b/mcs/class/corlib/Mono/ChangeLog index bae12d1f9f0..f218ac22227 100644 --- a/mcs/class/corlib/Mono/ChangeLog +++ b/mcs/class/corlib/Mono/ChangeLog @@ -1,3 +1,8 @@ +2010-06-17 Miguel de Icaza + + * DataConverter.cs: On bracketed cases, save the position as well, + like we do in the repeat case without brackets. Fixes #595929 + 2010-03-07 Rodrigo Kumpera * Runtime.cs: Document how NewObject() is meant to be used. diff --git a/mcs/class/corlib/Mono/DataConverter.cs b/mcs/class/corlib/Mono/DataConverter.cs index d0bf0476f60..a60337aebe5 100644 --- a/mcs/class/corlib/Mono/DataConverter.cs +++ b/mcs/class/corlib/Mono/DataConverter.cs @@ -643,6 +643,7 @@ namespace Mono { if (count == -1) throw new ArgumentException ("invalid size specification"); i = j; + save = i + 1; repeat = count; break;