Author: lluis
Date: 2005-04-07 12:13:16 -0400 (Thu, 07 Apr 2005)
New Revision: 42648
Modified:
trunk/mcs/class/System.Data/System.Data/ChangeLog
trunk/mcs/class/System.Data/System.Data/DataRowCollection.cs
Log:
2005-04-07 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* DataRowCollection.cs: Fix the signature of the Add method
for NET_2_0.
Modified: trunk/mcs/class/System.Data/System.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/System.Data/ChangeLog 2005-04-07 16:08:08 UTC
(rev 42647)
+++ trunk/mcs/class/System.Data/System.Data/ChangeLog 2005-04-07 16:13:16 UTC
(rev 42648)
@@ -1,3 +1,8 @@
+2005-04-07 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * DataRowCollection.cs: Fix the signature of the Add method
+ for NET_2_0.
+
2005-03-16 Atsushi Enomoto <[EMAIL PROTECTED]>
* DataRow.cs : on importing row, it was copying data from incorrect
Modified: trunk/mcs/class/System.Data/System.Data/DataRowCollection.cs
===================================================================
--- trunk/mcs/class/System.Data/System.Data/DataRowCollection.cs
2005-04-07 16:08:08 UTC (rev 42647)
+++ trunk/mcs/class/System.Data/System.Data/DataRowCollection.cs
2005-04-07 16:13:16 UTC (rev 42648)
@@ -109,7 +109,11 @@
/// <summary>
/// Creates a row using specified values and adds it to the
DataRowCollection.
/// </summary>
+#if NET_2_0
+ public virtual DataRow Add (params object[] values)
+#else
public virtual DataRow Add (object[] values)
+#endif
{
if (values.Length > table.Columns.Count)
throw new ArgumentException ("The array is
larger than the number of columns in the table.");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches