Author: kumpera
Date: 2007-11-08 09:22:49 -0500 (Thu, 08 Nov 2007)
New Revision: 89189
Modified:
trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog
trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
Log:
2007-11-08 Rodrigo Kumpera <[EMAIL PROTECTED]>
* TypeBuilder.cs: Workaround for #82625 not needed anymore.
GetFields() returns the created type fields.
Modified: trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog 2007-11-08
14:18:19 UTC (rev 89188)
+++ trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog 2007-11-08
14:22:49 UTC (rev 89189)
@@ -1,3 +1,8 @@
+2007-11-08 Rodrigo Kumpera <[EMAIL PROTECTED]>
+
+ * TypeBuilder.cs: Workaround for #82625 not needed anymore.
+ GetFields() returns the created type fields.
+
2007-10-15 Gert Driesen <[EMAIL PROTECTED]>
* ILGenerator.cs: Added missing null checks. Removed extra tabs.
Modified: trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
2007-11-08 14:18:19 UTC (rev 89188)
+++ trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
2007-11-08 14:22:49 UTC (rev 89189)
@@ -967,7 +967,7 @@
#if NET_2_0 || BOOTSTRAP_NET_2_0
// FIXME: In the generic case, this leads to a crash
// http://bugzilla.ximian.com/show_bug.cgi?id=82625
- if (!ContainsGenericParameters && (created != null))
+ if (created != null)
return created.GetFields (bindingAttr);
#else
if (created != null)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches