Merge pull request #4621 from alexanderkyte/strdup_env
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / HotSpotCollection.cs
index 664fba67bf488494f7cc9e73ada3c0d2fffec452..c8c43effa63359a90b2bb46fcdf228ac75f23c5b 100644 (file)
@@ -45,8 +45,8 @@ namespace System.Web.UI.WebControls
                        typeof (RectangleHotSpot)
                };
                                                    
-               public HotSpot this [int idx] {
-                       get { return (HotSpot) ((IList)this)[idx]; }
+               public HotSpot this [int index] {
+                       get { return (HotSpot) ((IList)this)[index]; }
                }
 
                public int Add (HotSpot spot)
@@ -54,9 +54,9 @@ namespace System.Web.UI.WebControls
                        return ((IList)this).Add (spot);
                }
                
-               protected override object CreateKnownType (int idx)
+               protected override object CreateKnownType (int index)
                {
-                       switch (idx) {
+                       switch (index) {
                                case 0:
                                        return new CircleHotSpot ();
                                case 1:
@@ -73,9 +73,9 @@ namespace System.Web.UI.WebControls
                        return _knownTypes;
                }
                
-               public void Insert (int idx, HotSpot spot)
+               public void Insert (int index, HotSpot spot)
                {
-                       ((IList)this).Insert (idx, spot);
+                       ((IList)this).Insert (index, spot);
                }
                
                protected override void OnValidate (object o)
@@ -91,9 +91,9 @@ namespace System.Web.UI.WebControls
                        ((IList)this).Remove (spot);
                }
 
-               public void RemoveAt (int idx)
+               public void RemoveAt (int index)
                {
-                       ((IList)this).RemoveAt (idx);
+                       ((IList)this).RemoveAt (index);
                }
 
                protected override void SetDirtyObject (object o)