Merge pull request #4540 from kumpera/android-changes-part1
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / SubMenuStyleCollection.cs
index 1b9b1e70f66f7f7972258decee0d3fafeb541a45..3e1b071c9d7cb43b1979fef7d741650bc9415b5b 100644 (file)
@@ -28,7 +28,6 @@
 // Copyright (C) 2005 Novell, Inc (http://www.novell.com)
 //
 
-#if NET_2_0
 
 using System;
 using System.Collections;
@@ -54,9 +53,9 @@ namespace System.Web.UI.WebControls
                        return ((IList)this).Contains (style);
                }
                
-               public void CopyTo (SubMenuStyle[] array, int index)
+               public void CopyTo (SubMenuStyle[] styleArray, int index)
                {
-                       ((IList)this).CopyTo (array, index);
+                       ((IList)this).CopyTo (styleArray, index);
                }
                
                protected override object CreateKnownType (int index)
@@ -101,4 +100,3 @@ namespace System.Web.UI.WebControls
        }
 }
 
-#endif