[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
Fri Feb 10 04:18:47 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 martin at ximian.com.

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

--- shadow/77399	2006-02-09 11:12:44.000000000 -0500
+++ shadow/77399.tmp.12748	2006-02-10 04:18:47.000000000 -0500
@@ -84,6 +84,12 @@
 
         list.Add(new ClassA(), true);
         list.Add(new ClassA(), true);
     }
 }
 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+------- Additional Comments From martin at ximian.com  2006-02-10 04:18 -------
+The underlying problem here is that MakeGenericType() doesn't check
+the constraints.  This test case is supposed to throw a
+TypeLoadException.  I'm fixing this in Comparer.cs, but we still need
+to add constraints checking to the runtime at some point.


More information about the mono-bugs mailing list