[Mono-bugs] [Bug 61919][Nor] Changed - Queue (ICollection) ctor incorrect

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 27 Aug 2004 17:18:43 -0400 (EDT)


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 bmaurer@users.sf.net.

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

--- shadow/61919	2004-07-25 05:48:17.000000000 -0400
+++ shadow/61919.tmp.20391	2004-08-27 17:18:43.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 61919
-Product: Mono: Runtime
+Product: Mono: Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
-Component: misc
+Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: jhr.walter@t-online.de               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Problem when inheriting from Collections.Queue
+Summary: Queue (ICollection) ctor incorrect
 
 The following program
 
 ----------
 using System;
 using System.Collections;
@@ -72,6 +72,18 @@
 in <0x0005c> System.Collections.Queue:Enqueue (object)
 in <0x0000d> BlockingQueue1:Enqueue (object)
 in <0x00045> App:Main ()
 ----------
 
 The version containing an instance of Queue works fine.
+
+------- Additional Comments From bmaurer@users.sf.net  2004-08-27 17:18 -------
+using System.Collections;
+
+class X {
+	static void Main () {
+		Queue queue = new Queue (new Queue());
+		queue.Enqueue(1);
+	}
+}
+
+Works on mono / not MS.