in System:
commit578b9feafc9d6d1e9728648234975a2a2c4909f8
authorjbevain <jbevain@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Tue, 24 Nov 2009 15:01:31 +0000 (24 15:01 +0000)
committerjbevain <jbevain@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Tue, 24 Nov 2009 15:01:31 +0000 (24 15:01 +0000)
tree71b9e7a409559eec8af30db0e507cb3c4d878c10
parent5652a636c965cc798bf6c1ef87828a17bcadbcbf
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.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@146831 e3ebcda4-bce8-0310-ba0a-eca2169e7518
class/corlib/System/Array.cs
class/corlib/System/ChangeLog
class/corlib/Test/System/ArrayTest.cs
class/corlib/Test/System/ChangeLog