in System:
authorJb Evain <jbevain@gmail.com>
Tue, 24 Nov 2009 14:20:01 +0000 (14:20 -0000)
committerJb Evain <jbevain@gmail.com>
Tue, 24 Nov 2009 14:20:01 +0000 (14:20 -0000)
commit0af9e2e5dd2e47a5a77c504a01edfa39f7b0943b
tree3cdbc31d998a982d0a3f1da2462ea367d6e1ae9b
parenta87793c5b2da5d6c64f7906b75f0822ed811b3ec
in System:
2009-11-24  Jb Evain  <jbevain@novell.com>

* Array.cs (Clear): throw an IndexOutOfRangeException instead
of an ArgumentOutRangeException for a negative length.

in Test/System:
2009-11-24  Jb Evain  <jbevain@novell.com>

* ArrayTest: test for the proper exception on Clear ().

svn path=/trunk/mcs/; revision=146825
mcs/class/corlib/System/Array.cs
mcs/class/corlib/System/ChangeLog
mcs/class/corlib/Test/System/ArrayTest.cs
mcs/class/corlib/Test/System/ChangeLog