[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 12:10:33 -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 08:39:44.000000000 -0500
+++ shadow/71325.tmp.24569	2005-01-18 12:10:33.000000000 -0500
@@ -81,6 +81,14 @@
 
 Moreover, the code which I given at start works ok, it is reasonable
 to have
 typeof (List <int>) and use its constructors to emit new code - it is
 instanciated type and it's ok to use its members by reflection.
 monodis output was simply misleading.
+
+------- Additional Comments From martin@ximian.com  2005-01-18 12:10 -------
+Well, monodis really needs some more love.
+
+Sure you can query a `typeof (List<int>)' for its members.  I was
+talking about calling BindGenericParameters() on it - that won't work
+since it's a generic instance and not a generic type definition.
+