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=80075

--- shadow/80075        2006-11-28 11:13:58.000000000 -0500
+++ shadow/80075.tmp.14459      2006-11-28 11:54:35.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 80075
 Product: Mono: Class Libraries
 Version: 1.2
-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: ---
@@ -86,6 +86,31 @@
 
 
 How often does this happen? 
 always
 
 Additional Information:
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-11-28 11:54 -------
+The incriminated method is in DataColumnCollection :
+
+               private int IndexOf (string name, bool error)
+               {
+                       int count = 0, match = -1;
+                       for (int i = 0; i < List.Count; i++)
+                       {
+                               String name2 = ((DataColumn) 
List[i]).ColumnName;
+                               if (String.Compare (name, name2, true) == 0)
+                               {
+                                       if (String.Compare (name, name2, false) 
== 0)
+                                               return i;
+                                       match = i;
+                                       count++;                                
        
+                               }
+                       }
+                       if (count == 1)
+                               return match;
+                       if (count > 1 && error)
+                               throw new ArgumentException ("There is no match 
for the name in
+the same case and there are multiple matches in different case.");
+                       return -1;
+               }
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to