[Mono-bugs] [Bug 61351][Nor] New - Hashtable.ContainsKey doesn't throw ArgumentNullException

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 9 Jul 2004 12:09:03 -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 mkestner@ximian.com.

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

--- shadow/61351	2004-07-09 12:09:03.000000000 -0400
+++ shadow/61351.tmp.24756	2004-07-09 12:09:03.000000000 -0400
@@ -0,0 +1,21 @@
+Bug#: 61351
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mkestner@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Hashtable.ContainsKey doesn't throw ArgumentNullException
+
+The MS runtime throws ArgumentNullException when a null key is passed to
+ContainsKey.  We need to do so also to avoid crashes on the MS runtime for
+code that works on mono.