in System:
commitb52b44583d909344a83efdfcbfc702991d1a23ae
authorJb Evain <jbevain@gmail.com>
Tue, 24 Nov 2009 15:01:31 +0000 (24 15:01 -0000)
committerJb Evain <jbevain@gmail.com>
Tue, 24 Nov 2009 15:01:31 +0000 (24 15:01 -0000)
treec4dcb1a71745596f21a284c69db8dd7b44359662
parentc7b26886008befb9fd9602652312c66c3cb9d654
in System:
2009-11-24  Jb Evain  <jbevain@novell.com>

* Array.cs (IList.this[int]): prevent the use of the IList indexer
when dealing with a multi dimensional array.

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

* ArrayTest.cs: test that we don't allow the use of the IList indexer
on a multi dimensional array.

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