Author: alp
Date: 2007-04-03 06:10:07 -0400 (Tue, 03 Apr 2007)
New Revision: 75337

Modified:
   trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog
   trunk/mcs/class/corlib/System.Reflection.Emit/GenericTypeParameterBuilder.cs
   trunk/mcs/class/corlib/System.Reflection.Emit/MethodBuilder.cs
Log:
2007-04-03  Alp Toker  <[EMAIL PROTECTED]>

        * GenericTypeParameterBuilder.cs: SetInterfaceConstraints(Type[]) is
        params.
        * MethodBuilder.cs: MakeGenericMethod(Type[]) is params.



Modified: trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog     2007-04-03 
10:09:37 UTC (rev 75336)
+++ trunk/mcs/class/corlib/System.Reflection.Emit/ChangeLog     2007-04-03 
10:10:07 UTC (rev 75337)
@@ -1,3 +1,9 @@
+2007-04-03  Alp Toker  <[EMAIL PROTECTED]>
+
+       * GenericTypeParameterBuilder.cs: SetInterfaceConstraints(Type[]) is
+       params.
+       * MethodBuilder.cs: MakeGenericMethod(Type[]) is params.
+
 2007-03-19  Marek Safar  <[EMAIL PROTECTED]>
 
        * MethodBuilder.cs: MethodImplAttribute cannot be destructive and 
overwrite

Modified: 
trunk/mcs/class/corlib/System.Reflection.Emit/GenericTypeParameterBuilder.cs
===================================================================
--- 
trunk/mcs/class/corlib/System.Reflection.Emit/GenericTypeParameterBuilder.cs    
    2007-04-03 10:09:37 UTC (rev 75336)
+++ 
trunk/mcs/class/corlib/System.Reflection.Emit/GenericTypeParameterBuilder.cs    
    2007-04-03 10:10:07 UTC (rev 75337)
@@ -60,7 +60,7 @@
                }
 
                [ComVisible (true)]
-               public void SetInterfaceConstraints (Type[] iface_constraints)
+               public void SetInterfaceConstraints (params Type[] 
iface_constraints)
                {
                        this.iface_constraints = iface_constraints;
                }

Modified: trunk/mcs/class/corlib/System.Reflection.Emit/MethodBuilder.cs
===================================================================
--- trunk/mcs/class/corlib/System.Reflection.Emit/MethodBuilder.cs      
2007-04-03 10:09:37 UTC (rev 75336)
+++ trunk/mcs/class/corlib/System.Reflection.Emit/MethodBuilder.cs      
2007-04-03 10:10:07 UTC (rev 75337)
@@ -491,7 +491,7 @@
 
 #if NET_2_0 || BOOTSTRAP_NET_2_0
                [MethodImplAttribute(MethodImplOptions.InternalCall)]
-               public override extern MethodInfo MakeGenericMethod (Type [] 
types);
+               public override extern MethodInfo MakeGenericMethod (params 
Type [] types);
 
                public override bool IsGenericMethodDefinition {
                        get {

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

Reply via email to