[Mono-bugs] [Bug 82469][Nor] Changed - System.Array.BinarySearch is broken for large values

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 24 18:27:09 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 vargaz at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=82469

--- shadow/82469	2007-08-17 11:24:48.000000000 -0400
+++ shadow/82469.tmp.23431	2007-08-24 18:27:09.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Class Libraries
 Version: unspecified
 OS: other
 OS Details: suse 10.1
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: andriy.tkach at stu-electronics.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -44,6 +44,10 @@
 Every time
 
 Additional Information:
 one of the ways to fix it substitute line with division:
 
       mid = bot + ((top - bot) / 2);
+
+------- Additional Comments From vargaz at gmail.com  2007-08-24 18:27 -------
+Fixed in SVN. The testcase should be:
+ind = System.Array.BinarySearch(array,(byte)1);


More information about the mono-bugs mailing list