[Mono-bugs] [Bug 77399][Nor] Changed - [GMCS] consistent crash
using SortedList with non-primitive key
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Feb 9 11:12:44 EST 2006
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 vargaz at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77399
--- shadow/77399 2006-01-31 13:42:19.000000000 -0500
+++ shadow/77399.tmp.32154 2006-02-09 11:12:44.000000000 -0500
@@ -5,13 +5,13 @@
OS Details:
Status: NEW
Resolution:
Severity: Unknown
Priority: Normal
Component: misc
-AssignedTo: mono-bugs at ximian.com
+AssignedTo: martin at ximian.com
ReportedBy: bcs26 at cornell.edu
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: [GMCS] consistent crash using SortedList with non-primitive key
@@ -61,6 +61,29 @@
Gentoo. It's unclear whether this is a compiler, library, or runtime issue.
------- Additional Comments From bcs26 at cornell.edu 2006-01-29 20:37 -------
Created an attachment (id=16415)
simple test case
+
+------- Additional Comments From vargaz at gmail.com 2006-02-09 11:12 -------
+This is a runtime problem. Here is a small testcase:
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+using System.Collections.Generic;
+
+public class ClassA : IComparable<ClassA> {
+ public int CompareTo(ClassA other) {
+ return 0;
+ }
+}
+
+public class TestCompareTo {
+ public static void Main(string[] args) {
+ SortedList<ClassA, bool> list = new SortedList<ClassA, bool>();
+
+ list.Add(new ClassA(), true);
+ list.Add(new ClassA(), true);
+ }
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
More information about the mono-bugs
mailing list