[Mono-bugs] [Bug 45046][Wis] Changed - Array.BinarySearch can't search for nulls
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Thu, 19 Jun 2003 23:29:36 -0400 (EDT)
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 tum@veridicus.com.
http://bugzilla.ximian.com/show_bug.cgi?id=45046
--- shadow/45046 Wed Jun 18 10:37:36 2003
+++ shadow/45046.tmp.8872 Thu Jun 19 23:29:36 2003
@@ -77,6 +77,11 @@
------- Additional Comments From lupus@ximian.com 2003-06-18 10:37 -------
There is at least an extraneous change at the beginning of the patch.
You can't remove all the checks, for example you need to always check
for array == null when the final BinarySearch() is called passing
array.GetLowerBound(0)...
Also, please include complete test cases, thanks.
+
+------- Additional Comments From tum@veridicus.com 2003-06-19 23:29 -------
+Created an attachment (id=4666)
+New patch.
+