[Mono-bugs] [Bug 81046][Wis] Changed - [System.Collections.Generic.List<T>] List<T>.set_Item(int index) throws inappropriate exception when index is equal to List<T>.Count

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 6 01:51:22 EST 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dmitchell at logos.com.


--- shadow/81046	2007-03-06 01:50:48.000000000 -0500
+++ shadow/81046.tmp.11585	2007-03-06 01:51:22.000000000 -0500
@@ -70,6 +70,11 @@
 Additional Information:
 This occurs because set_Item calls CheckIndex, which does not check to determine if index is 
 equal to _size (because in most of the contexts from which CheckIndex is called, this is 
 The fix is simple, and will be attached momentarily.
+------- Additional Comments From dmitchell at logos.com  2007-03-06 01:51 -------
+Created an attachment (id=18833)
+This patch will fix the described issue. A test case is also included.

More information about the mono-bugs mailing list