[Mono-bugs] [Bug 45046][Wis] New - Array.BinarySearch can't search for nulls

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 18 Jun 2003 03:30:29 -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 03:30:28 2003
+++ shadow/45046.tmp.31190	Wed Jun 18 03:30:29 2003
@@ -0,0 +1,39 @@
+Bug#: 45046
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tum@veridicus.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Array.BinarySearch can't search for nulls
+
+Description of Problem:
+
+Array.BinarySearch should be able to search for nulls.
+
+
+Steps to reproduce the problem:
+
+object[] array = new object[] { 1,2,3, null };
+Array.BinarySearch(null);
+
+Actual Results:
+
+ArgumentException
+
+Expected Results:
+
+3
+
+How often does this happen? 
+
+All the time.