[Mono-bugs] [Bug 71324][Nor] Changed - Cannot use BindGenericParameters on TypeBuilder
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 18 Jan 2005 01:49:41 -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=71324
--- shadow/71324 2005-01-18 01:23:50.000000000 -0500
+++ shadow/71324.tmp.10667 2005-01-18 01:49:41.000000000 -0500
@@ -1,13 +1,13 @@
Bug#: 71324
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
@@ -48,6 +48,18 @@
Created an attachment (id=13733)
failing program
------- Additional Comments From miguel@ximian.com 2005-01-18 01:23 -------
Martin, can you please look at this?
+
+------- Additional Comments From martin@ximian.com 2005-01-18 01:49 -------
+Not a bug, don't call BindGenericParameters() on something which is
+not a generic type definiton.
+
+ TypeBuilder tb = mb.CreateType (....);
+ .....
+ tb.CreateType ();
+ .....
+ Type gt = tb.GetGenericTypeDefinition();
+ Type inst = gt.BindGenericParameters (....);
+