Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=79488

--- shadow/79488        2006-09-25 09:46:13.000000000 -0400
+++ shadow/79488.tmp.32569      2006-09-25 10:02:15.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79488
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Sys.Data
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
@@ -77,6 +77,45 @@
 always
 
 Additional Information:
 It can be useful to have these information in mono too (for debugging purpose)
 
 Thanks
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-09-25 10:02 -------
+proposed patch:
+
+Index: class/System.Data/System.Data/DataRow.cs
+===================================================================
+--- class/System.Data/System.Data/DataRow.cs    (révision 65874)
++++ class/System.Data/System.Data/DataRow.cs    (copie de travail)
+@@ -142,7 +142,9 @@
+                        set {
+                                int columnIndex =
+_table.Columns.IndexOf (columnName);
+                                if (columnIndex == -1)
+-                                       throw new
+IndexOutOfRangeException ();
++                               {
++                                       throw new
+ArgumentException("The column "+columnName+" does not belong to the
+table : "+_table.TableName);
++                               }
+                                this[columnIndex] = value;
+                        }
+                }
+@@ -202,7 +204,9 @@
+                        get {
+                                int columnIndex =
+_table.Columns.IndexOf (columnName);
+                                if (columnIndex == -1)
+-                                       throw new
+IndexOutOfRangeException ();
++                               {
++                                               throw new
+ArgumentException("The column "+columnName+" does not belong to the
+table : "+_table.TableName);
++                               }
+                                return this[columnIndex, version];
+                        }
+                }
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to