Merge pull request #4453 from lambdageek/bug-49721
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / GridViewRowCollection.cs
index 2556739e5fcab7a6ff1b28d8c549e3359a4f05a1..236f3144fa1ee75fbffe35272710d2ef4afe37e0 100644 (file)
@@ -4,7 +4,7 @@
 // Authors:
 //     Lluis Sanchez Gual (lluis@novell.com)
 //
-// (C) 2005 Novell, Inc (http://www.novell.com)
+// (C) 2004-2010 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
 
-#if NET_2_0
-
 using System;
 using System.Web.UI;
 using System.Collections;
@@ -45,8 +42,8 @@ namespace System.Web.UI.WebControls
                        this.rows = rows;
                }
                
-               public GridViewRow this [int i] {
-                       get { return (GridViewRow) rows [i]; }
+               public GridViewRow this [int index] {
+                       get { return (GridViewRow) rows [index]; }
                }
                
                public void CopyTo (GridViewRow[] array, int index)
@@ -82,4 +79,3 @@ namespace System.Web.UI.WebControls
        }
 }
 
-#endif