[Mono-bugs] [Bug 26775][Nor] New - mapping from C# nested types to reflection nested type names

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
21 Jun 2002 12:09:03 -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 lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=26775

--- shadow/26775	Fri Jun 21 08:09:03 2002
+++ shadow/26775.tmp.1074	Fri Jun 21 08:09:03 2002
@@ -0,0 +1,36 @@
+Bug#: 26775
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mapping from C# nested types to reflection nested type names
+
+== cut cut nested-typesdll.cs
+class A {
+        class B {
+        }
+}
+== cut cut nested-type.cs
+class C {
+        A.B stuff () {return null;}
+        static void Main() {}
+} 
+
+Compile with (on either runtime):
+mcs --target library -o nt.dll nested-typesdll.cs 
+mcs  -r nt.dll nested-type.cs
+
+mcs tries to lookup the type A.B and fails: it should map it to the naming
+convention used by reflection for nested types: "A+B".
+This seems the last bug before compiling System.Web on Linux.