[Mono-bugs] [Bug 76750][Min] New - SortedList(IDictionary,
IComparer) ctor broken
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Nov 18 10:58:08 EST 2005
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 danw at novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76750
--- shadow/76750 2005-11-18 10:58:08.000000000 -0500
+++ shadow/76750.tmp.13137 2005-11-18 10:58:08.000000000 -0500
@@ -0,0 +1,24 @@
+Bug#: 76750
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: danw at novell.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: SortedList(IDictionary, IComparer) ctor broken
+
+MSDN says that SortedList(IDictionary d, IComparer comparer) throws an
+InvalidCastException if "comparer is a null reference, and one or more
+elements in d do not implement the IComparable interface". But our
+implementation ignores the first half of that; it throws the exception
+if any element of d is not IComparable, even if you passed in an
+explicit comparer.
More information about the mono-bugs
mailing list