[Mono-bugs] [Bug 75625][Nor] New - "Dictionary<TKey, TValue> (Dictionary<TKey, TValue>)" constructor broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 24 18:11:37 EDT 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 roosmaa at gmail.com.


--- shadow/75625	2005-07-24 18:11:37.000000000 -0400
+++ shadow/75625.tmp.20189	2005-07-24 18:11:37.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 75625
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: Mono from svn HEAD
+Status: NEW   
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: roosmaa at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: "Dictionary<TKey, TValue> (Dictionary<TKey, TValue>)" constructor broken
+The Dictionary class constructor "Dictionary<TKey, TValue>
+(Dictionary<TKey, TValue>)" fails to make a copy of an existing dictionary.
+It throws the folowing exception:
+Unhandled Exception: System.InvalidCastException: Cannot cast from source
+type to destination type.
+in [0x00034] (at
+(IDictionary`2 , IEqualityComparer`1 )
+in [0x00003] (at
+(IDictionary`2 )
+in [0x00017] (at /tmp/Dictionary.cs:10) Test:Main ()
+I have added a test case.

More information about the mono-bugs mailing list