[Mono-bugs] [Bug 81048][Wis] Changed - [System.Collections.Generic.List<T>] IList.Add(object item) throws InvalidCastException when item is not of the correct type
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Mar 6 22:35:20 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.
http://bugzilla.ximian.com/show_bug.cgi?id=81048
--- shadow/81048 2007-03-06 03:08:48.000000000 -0500
+++ shadow/81048.tmp.10842 2007-03-06 22:35:20.000000000 -0500
@@ -45,6 +45,11 @@
------- Additional Comments From dmitchell at logos.com 2007-03-06 03:02 -------
Ditto for IList.Remove(object item)
------- Additional Comments From dmitchell at logos.com 2007-03-06 03:08 -------
except IList.Remove shouldn't actually throw an exception--Remove is supposed to fail
silently if the item is not in the list (and it can't be in the list if it's the wrong type).
+
+------- Additional Comments From dmitchell at logos.com 2007-03-06 22:35 -------
+Created an attachment (id=18847)
+This patch will fix the described issue. Test case are also included.
+
More information about the mono-bugs
mailing list