--- /opt/cvs/dotgnu/pnet/engine/lib_array.c Mon Jun 10 16:10:47 2002 +++ engine/lib_array.c Fri Aug 30 13:19:31 2002 @@ -3080,7 +3080,7 @@ if(_ILIsSArray(_this)) { - if(index1 >= 0 && index1 < _this->length) + if(index1 < 0 || index1 > _this->length) { ILExecThreadThrowSystem(thread, "System.IndexOutOfRangeException", "Arg_InvalidArrayIndex"); --- /opt/cvs/dotgnu/pnet/ChangeLog Thu Aug 29 09:10:10 2002 +++ ChangeLog Fri Aug 30 13:22:02 2002 @@ -1,4 +1,9 @@ +2002-08-23 Gopal.V + + * engine/lib_array.c: Minor fix for the _IL_Array_Set_Objectiii + to prevent it from throwing an incorrect IndexOutOfRangeException + 2002-08-29 Rhys Weatherley * cscc/c/c_types.c: don't add "BitFieldAttribute" to a type if