[Mono-list] Array.cs Patch

Dietmar Maurer dietmar@ximian.com
18 Feb 2002 14:31:16 +0100


On Mon, 2002-02-18 at 13:31, Dwivedi , Ajay Kumar wrote:
> hi all,
> 	Here is a patch for the Array.cs class.
> ChangeLog:
> 	1. Fix for GetUpperBound to return correct values
> 	2. made some Properties virtual
> 	3. Adds IsFixedSize and IsReadOnly properties.
> 	4. changes CreateInstance(Type,int[],int[]) to throw Exception when
> third arg is null. InternalCall CreateInstance changed to CreateInstanceImpl
> 	5. Fixed array.GetUpperBound at a couple of places
> 	6. IndexOf and LastIndexOf now use Object.Equals instead of "=="
> 	7. Added two FIXME's in BinarySearch functions.
> 

committed to CVS. Hopefully all fixes are tested and we have regression
tests for them?

- Dietmar