Merge pull request #1404 from woodsb02/mono-route
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / WebControlsSection.cs
index 250a0225a0ba904fb85d48670fb234d8f86882df..b3b18050c0c12d58e78364fdcde73b6f069495e4 100644 (file)
@@ -33,7 +33,6 @@ using System.Collections;
 using System.ComponentModel;
 using System.Configuration;
 
-#if NET_2_0
 
 namespace System.Web.Configuration {
 
@@ -53,7 +52,7 @@ namespace System.Web.Configuration {
                        properties.Add (clientScriptsLocationProp);
                }
 
-               protected override object GetRuntimeObject ()
+               protected internal override object GetRuntimeObject ()
                {
                        Hashtable ht = new Hashtable ();
 
@@ -68,7 +67,7 @@ namespace System.Web.Configuration {
                        get { return (string) base [clientScriptsLocationProp];}
                }
 
-               protected override ConfigurationPropertyCollection Properties {
+               protected internal override ConfigurationPropertyCollection Properties {
                        get { return properties; }
                }
 
@@ -76,5 +75,4 @@ namespace System.Web.Configuration {
 
 }
 
-#endif