[Mono-bugs] [Bug 81387][Wis] Changed - [PATCH] List <> contains not working correctly.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Apr 16 17:10:28 EDT 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 joncham at gmail.com.


--- shadow/81387	2007-04-16 17:08:24.000000000 -0400
+++ shadow/81387.tmp.5917	2007-04-16 17:10:28.000000000 -0400
@@ -47,6 +47,13 @@
 The patch can go in
 ------- Additional Comments From joncham at gmail.com  2007-04-16 17:08 -------
 Created an attachment (id=19069)
 Updated patch
+------- Additional Comments From joncham at gmail.com  2007-04-16 17:10 -------
+Updated patch to only search through active part of array (up to index
+_size) for Contains method. Previously we were searching through whole
+array. Not sure of all bad effects of previous behavior, but it was at
+least calling Equals on my type alot for comparing to unused indexes
+in array.

More information about the mono-bugs mailing list