Author: jbevain
Date: 2007-09-02 07:58:08 -0400 (Sun, 02 Sep 2007)
New Revision: 85190

Modified:
   trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
Log:
preserve the old behavior for 1.1 profiles

Modified: trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs        
2007-09-02 11:49:24 UTC (rev 85189)
+++ trunk/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs        
2007-09-02 11:58:08 UTC (rev 85190)
@@ -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

Reply via email to