[Mono-bugs] [Bug 75248][Wis] Changed - [GMCS]junk read by
reflection for nested generic types
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jun 15 15:43:25 EDT 2005
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 at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75248
--- shadow/75248 2005-06-15 15:42:06.000000000 -0400
+++ shadow/75248.tmp.19582 2005-06-15 15:43:25.000000000 -0400
@@ -150,6 +150,23 @@
{
return x;
}
}
}
====
+
+------- Additional Comments From martin at ximian.com 2005-06-15 15:43 -------
+Note that this is encoded in IL as:
+
+====
+.class private auto ansi beforefieldinit NemerleMap`2<(class
+IComp`1<!a>) a,b>
+ extends [mscorlib]System.Object
+{
+ .class auto ansi nested private beforefieldinit lambda`3<(class
+IComp`1<!a>) a,b,d,(class IComp`1<!aa>) aa,
+ bb>
+ extends class Func`2<!aa,!aa>
+====
+
+when compiled with csc - ie. the nested class inherits the type
+parameters of its parent.
More information about the mono-bugs
mailing list