[Mono-bugs] [Bug 77952][Nor] New - SortedList not working with
structs as keys
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Mar 29 15:53:31 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 rook at roo.k.pl.
http://bugzilla.ximian.com/show_bug.cgi?id=77952
--- shadow/77952 2006-03-29 15:53:31.000000000 -0500
+++ shadow/77952.tmp.8315 2006-03-29 15:53:31.000000000 -0500
@@ -0,0 +1,55 @@
+Bug#: 77952
+Product: Mono: Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: FC 4
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: rook at roo.k.pl
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: SortedList not working with structs as keys
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Compile & run attached code
+2.
+3.
+
+Actual Results:
+Unhandled Exception: System.ArgumentException: does not implement right
+interface
+in <0x00308>
+System.Collections.Generic.Comparer`1+DefaultComparer[TmpS]:Compare (TmpS ,
+TmpS )
+in <0x000a2>
+System.Collections.Generic.SortedList`2[TmpS,System.Int32]:Find (TmpS )
+in <0x0003a>
+System.Collections.Generic.SortedList`2[TmpS,System.Int32]:TryGetValue
+(TmpS , System.Int32 )
+in <0x00058> Temp:Main (System.String[] args)
+
+Expected Results:
+print "2"
+
+
+How often does this happen?
+always
+
+Additional Information:
+mono 1.1.13-6
+
+How often does this happen?
+
+
+Additional Information:
More information about the mono-bugs
mailing list