[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 08:39:44 -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 nazgul@omega.pl.
http://bugzilla.ximian.com/show_bug.cgi?id=71325
--- shadow/71325 2005-01-18 01:53:01.000000000 -0500
+++ shadow/71325.tmp.19638 2005-01-18 08:39:44.000000000 -0500
@@ -66,6 +66,21 @@
(which is a strange way of doing it), or (more correctly)
Type list = typeof (List<>);
+
+------- Additional Comments From nazgul@omega.pl 2005-01-18 08:39 -------
+Actually is a monodis bug. It simply do not show generic parameters in
+types. Code generated by gmcs looks like this
+'List`1'::.ctor() in monodis
+and
+List`1'<int32>::.ctor() in MS ildasm
+
+I'm filing new bug for monodis.
+
+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.