Author: marek
Date: 2007-04-22 06:00:00 -0400 (Sun, 22 Apr 2007)
New Revision: 76051

Modified:
   trunk/mcs/mcs/ChangeLog
   trunk/mcs/mcs/typemanager.cs
Log:
2007-04-22  Marek Safar  <[EMAIL PROTECTED]>

        A fix for bug #81414
        * typemanager.cs: Earlier initialization of params attribute ctor.


Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2007-04-22 09:40:36 UTC (rev 76050)
+++ trunk/mcs/mcs/ChangeLog     2007-04-22 10:00:00 UTC (rev 76051)
@@ -1,3 +1,8 @@
+2007-04-22  Marek Safar  <[EMAIL PROTECTED]>
+
+       A fix for bug #81414
+       * typemanager.cs: Earlier initialization of params attribute ctor.
+
 2007-04-19  Martin Baulig  <[EMAIL PROTECTED]>
 
        * convert.cs

Modified: trunk/mcs/mcs/typemanager.cs
===================================================================
--- trunk/mcs/mcs/typemanager.cs        2007-04-22 09:40:36 UTC (rev 76050)
+++ trunk/mcs/mcs/typemanager.cs        2007-04-22 10:00:00 UTC (rev 76051)
@@ -1188,6 +1188,11 @@
                system_iasyncresult_expr.Type = iasyncresult_type;
 
                //
+               // Params contructor is used in delegate ApplyAttributes before 
we call InitCodeHelpers
+               //
+               cons_param_array_attribute = GetConstructor (param_array_type, 
Type.EmptyTypes);
+
+               //
                // These are only used for compare purposes
                //
                anonymous_method_type = typeof (AnonymousMethod);
@@ -1314,7 +1319,6 @@
                //
                unverifiable_code_ctor = GetConstructor 
(unverifiable_code_type, Type.EmptyTypes);
                default_member_ctor = GetConstructor (default_member_type, 
string_);
-               cons_param_array_attribute = GetConstructor (param_array_type, 
Type.EmptyTypes);
 
                Type[] short_arg = { short_type };
                struct_layout_attribute_ctor = GetConstructor 
(struct_layout_attribute_type, short_arg);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to