[Mono-bugs] [Bug 71325][Nor] Changed - Constructor call of generic type emitted using SRE uses noninstanciated type
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 18 Jan 2005 01:53:01 -0500 (EST)
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@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=71325
--- shadow/71325 2005-01-18 01:24:12.000000000 -0500
+++ shadow/71325.tmp.10747 2005-01-18 01:53:01.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 71325
Product: Mono: Class Libraries
Version: 1.0
OS: unknown
OS Details: Mandrake Linux 10.1, mono from svn HEAD
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: NOTABUG
Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: martin@ximian.com
ReportedBy: nazgul@omega.pl
QAContact: mono-bugs@ximian.com
@@ -51,6 +51,21 @@
Created an attachment (id=13734)
program for creating wrong assembly
------- Additional Comments From miguel@ximian.com 2005-01-18 01:24 -------
martin, can you please look at this bug?
+
+------- Additional Comments From martin@ximian.com 2005-01-18 01:53 -------
+Same as #71325.
+
+Either
+
+ Type list = typeof (List<int>);
+ Type gt = list.GetGenericTypeDefinition ();
+ Type inst = gt.BindGenericParameters (....);
+
+(which is a strange way of doing it), or (more correctly)
+
+ Type list = typeof (List<>);
+
+