[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 12:15:50 -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 09:06:40.000000000 -0500
+++ shadow/71324.tmp.24718	2005-01-18 12:15:50.000000000 -0500
@@ -80,6 +80,14 @@
    at ConsoleApplication1.Program.Main(String[] args)
 Unknown signal 79
 
 Of course there are situations when we can't call CreateType before
 instanciating generic type (like in my example in this bug). 
 This way I guess gmcs won't work on MS.NET if it's using pattern above.
+
+------- Additional Comments From martin@ximian.com  2005-01-18 12:15 -------
+Calling GetGenericTypeDefinition() on a TypeBuilder does not create a
+new type or return anything different than the current one.
+
+It has, however, an important side-effect: it works similar to
+CreateType(); the first time it's called, it creates some internal
+data structures in the runtime to actually "create" the type.