In System:
authorZoltan Varga <vargaz@gmail.com>
Sat, 19 Dec 2009 21:21:27 +0000 (21:21 -0000)
committerZoltan Varga <vargaz@gmail.com>
Sat, 19 Dec 2009 21:21:27 +0000 (21:21 -0000)
commitdc9dc97d57d67be9ac1e2af69a4d1eaab53030ca
tree8c2e52759e92fdf9738db0d4d2ec9f4be0b033c6
parent7f3e56f63c8cdb972025cd247ad3084b9bd0f90f
In System:

2009-12-19  Zoltan Varga  <vargaz@gmail.com>

* String.cs: Fix the various IndexOf and LastIndexOf methods so they handle
"" and a non-zero startIndex correctly. Fixes #566106.

In Test/System:

2009-12-19  Zoltan Varga  <vargaz@gmail.com>

* StringTest.cs: Add tests for IndexOf ("", startIndex, count).

svn path=/trunk/mcs/; revision=148789
mcs/class/corlib/System/ChangeLog
mcs/class/corlib/System/String.cs
mcs/class/corlib/Test/System/ChangeLog
mcs/class/corlib/Test/System/StringTest.cs