https://bugzilla.novell.com/show_bug.cgi?id=430545


           Summary: [PATCH] Dictionary<TKey, TValue>.ContainsKey(null)
                    should throw instead of returning false
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Core
        AssignedTo: mono-bugs@lists.ximian.com
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---


Created an attachment (id=242160)
 --> (https://bugzilla.novell.com/attachment.cgi?id=242160)
Patch for described bug with test.

The ContainsKey method in the generic Dictionary class should throw
ArgumentNullException when a null argument is passed.  It currently returns
false.

http://msdn.microsoft.com/en-us/library/kw5aaea4.aspx

I've attached a patch for this with a new test.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to