[Mono-bugs] [Bug 25796] Changed - Another problem with typeref of nested types
7 Jun 2002 16:08:46 -0000
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 firstname.lastname@example.org.
--- shadow/25796 Tue Jun 4 23:27:06 2002
+++ shadow/25796.tmp.19200 Fri Jun 7 12:08:46 2002
@@ -1,23 +1,23 @@
-Summary: Another problem with nested enums
+Summary: Another problem with typeref of nested types
Compile Pie.cs as a library:
> mcs --target library Pie.cs
And PieDemo.cs using the Pie.dll:
@@ -60,6 +60,17 @@
static void Main()
Pie myPie = new Pie(Pie.Fruit.Apple);
+------- Additional Comments From email@example.com 2002-06-07 12:08 -------
+Note that PieDemo.cs won't compile, since using Pie is invalid
+(there is no namespace Pie). There was already a bug filed about this
+problem with mcs, but miguel closed it: you may want to resume the bug.
+As for the Typeref issue: nested types typerefs are handled in a
+special way in the typeref table. First you have a typeref to the
+'enclosing' type and then a special typeref to the nested one or
+something like that. I need to find some info on this, since it's not
+actually described in the spec.