Merge pull request #4540 from kumpera/android-changes-part1
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / ProfileSettingsCollection.cs
index ca7538b5d013e38f9267c8653c779a1e396f7291..d3dffccb01d67c086430ddf0cba2b8c561987fb7 100644 (file)
@@ -31,7 +31,6 @@
 using System;
 using System.Configuration;
 
-#if NET_2_0
 
 namespace System.Web.Configuration {
 
@@ -95,8 +94,8 @@ namespace System.Web.Configuration {
                        BaseRemoveAt (index);
                }
 
-               public new ProfileSettings this [string name] {
-                       get { return (ProfileSettings)BaseGet (name); }
+               public new ProfileSettings this [string key] {
+                       get { return (ProfileSettings)BaseGet (key); }
                }
 
                public ProfileSettings this [int index] {
@@ -104,7 +103,7 @@ namespace System.Web.Configuration {
                        set { if (BaseGet (index) != null) BaseRemoveAt (index); BaseAdd (index, value); }
                }
 
-               protected override ConfigurationPropertyCollection Properties {
+               protected internal override ConfigurationPropertyCollection Properties {
                        get { return properties; }
                }
 
@@ -112,5 +111,4 @@ namespace System.Web.Configuration {
 
 }
 
-#endif