Hi,

  Under MS .NET, RemoveRange () allows a zero sized removal
at the end
of the list, i.e. 

aList.RemoveRange (aList.Count, 0)

works. There is code out there which depends on this behavior.

The attached patch fixes this. It also cleans up the
argument checking code so the raised exceptions have the
same message as under MS.NET.

Attachment: arraylist.patch
Description: Binary data

Reply via email to