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 [EMAIL PROTECTED]

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

--- shadow/76750        2005-12-07 11:20:14.000000000 -0500
+++ shadow/76750.tmp.26013      2005-12-07 15:56:58.000000000 -0500
@@ -1,17 +1,17 @@
 Bug#: 76750
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: REOPENED   
+Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Minor
 Component: CORLIB
-AssignedTo: [EMAIL PROTECTED]                            
+AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: SortedList(IDictionary, IComparer) ctor broken
@@ -62,6 +62,30 @@
        public int Compare (object x, object y)
        {
                return 0;
        }
 }
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2005-12-07 15:56 -------
+doh :| keys...
+
+Thanks for the sample code but it seems that supplying, or not, an
+IComparer doesn't change the result (Mono always throws, while MS
+never throws).
+
+Also I never got an exception from the ctor itself (always when adding
+new elements). Did you get any from the
+SortedList(IDictionary,IComparer) ctor ?
+
+Finally I created some tests but I'm unable to get the documented
+InvalidCastException on MS 1.1/2.0. I get ArgumentException and
+InvalidOperationException. 
+
+Did you ever get an InvalidCastException ? 
+from the .ctor ?
+or is it just bad documentation ?
+
+I'll fix the issues I've found so far (bad InvalidCastException,
+throwing ArgumentException or InvalidOperationException.on additions).
+Please include any InvalidCastException test case that you may have.
+Thanks
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to