Author: zoltan
Date: 2008-01-25 13:51:40 -0500 (Fri, 25 Jan 2008)
New Revision: 93944
Modified:
trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog
trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
Log:
2008-01-25 Zoltan Varga <[EMAIL PROTECTED]>
* TypeBuilder.cs (GenerateDebugInfo): Emit debug info for nested types
as well.
Fixes #356316.
Modified: trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog 2008-01-25
18:45:29 UTC (rev 93943)
+++ trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog 2008-01-25
18:51:40 UTC (rev 93944)
@@ -1,6 +1,11 @@
+2008-01-25 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * TypeBuilder.cs (GenerateDebugInfo): Emit debug info for nested types
as well.
+ Fixes #356316.
+
2008-01-21 Gert Driesen <[EMAIL PROTECTED]>
- * AssemblyBuilder.cs: Introduce magic value for AssemblyBuilferAccess
+ * AssemblyBuilder.cs: Introduce magic value for AssemblyBuilderAccess
to signal usage from a compiler. On 2.0 profile, perform argument
check for access. Use AssemblyFlags passed in through AssemblyName
arguments. Modified SetCustomAttribute to only use the Assembly*
Modified: trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
2008-01-25 18:45:29 UTC (rev 93943)
+++ trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
2008-01-25 18:51:40 UTC (rev 93944)
@@ -812,6 +812,11 @@
}
symbolWriter.CloseNamespace ();
+
+ if (subtypes != null) {
+ for (int i = 0; i < subtypes.Length; ++i)
+ subtypes [i].GenerateDebugInfo
(symbolWriter);
+ }
}
#if NET_2_0
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches