Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / class / Mono.Data.Tds / Mono.Data.Tds.Protocol / TdsDataRow.cs
index 87bdc4e1c9b0c8839b496d4654344919accb57a6..fb4b2c8c41b6ad4fca208bf9aa414f78819d2a3e 100644 (file)
@@ -80,7 +80,7 @@ namespace Mono.Data.Tds.Protocol {
 
                public object this[int index] {
                        get { 
-                               if (index > list.Count)
+                               if (index >= list.Count)
                                        throw new IndexOutOfRangeException ();
                                return list[index]; 
                        }