2007-04-15 Alp Toker <alp@atoker.com>
authorAlp Toker <alp@mono-cvs.ximian.com>
Sun, 15 Apr 2007 02:59:54 +0000 (02:59 -0000)
committerAlp Toker <alp@mono-cvs.ximian.com>
Sun, 15 Apr 2007 02:59:54 +0000 (02:59 -0000)
* Activator.cs: CreateInstance(Type,object[]) was not params before
2.0.

svn path=/trunk/mcs/; revision=75712

mcs/class/corlib/System/Activator.cs
mcs/class/corlib/System/ChangeLog

index c5d286424c56e93fd5be4f507a350d6a33c9a8f3..da3a0a8b63868d5e847890e9d483962abe0a2715 100644 (file)
@@ -161,7 +161,11 @@ namespace System
                        return CreateInstance (type, false);
                }
 
+#if NET_2_0
                public static object CreateInstance (Type type, params object [] args)
+#else
+               public static object CreateInstance (Type type, object [] args)
+#endif
                {
                        return CreateInstance (type, args, new object [0]);
                }
index 3e462bea6658ad19afaeaa2ca0eec4220cf173a2..6c44de82cd5918cdce53cbea8e8a923522afd511 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-15  Alp Toker  <alp@atoker.com>
+
+       * Activator.cs: CreateInstance(Type,object[]) was not params before
+       2.0.
+
 2007-04-15  Alp Toker  <alp@atoker.com>
 
        * NonSerializedAttribute.cs: Inherited=false in 2.0.