Author: jbevain
Date: 2007-09-02 07:58:31 -0400 (Sun, 02 Sep 2007)
New Revision: 85191
Modified:
branches/mono-1-2-5/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
Log:
backport 85190: preserve the old behavior for 1.1 profiles
Modified:
branches/mono-1-2-5/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
===================================================================
--- branches/mono-1-2-5/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
2007-09-02 11:58:08 UTC (rev 85190)
+++ branches/mono-1-2-5/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
2007-09-02 11:58:31 UTC (rev 85191)
@@ -969,6 +969,9 @@
// http://bugzilla.ximian.com/show_bug.cgi?id=82625
if (!ContainsGenericParameters && (created != null))
return created.GetFields (bindingAttr);
+#else
+ if (created != null)
+ return created.GetFields (bindingAttr);
#endif
if (fields == null)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches