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


           Summary: SortKey.Compare does not throw ArgumentNullException
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Given a valid SortKey sortKey, the following should all throw
ArgumentNullException

SortKey.Compare(null, null);
SortKey.Compare(null, sortKey);
SortKey.Compare(sortKey, null);

The first one actually returns 0.
The other two actually throw NullReferenceException.


-- 
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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to