Merge pull request #2916 from ludovic-henry/fix-40306
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / TagPrefixInfo.cs
index ef417df2456742a201966ed63e283171742bf469..eecffea6c48f5ccd69d89463c3ecf05fb374b737 100644 (file)
@@ -28,7 +28,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 
 using System;
 using System.ComponentModel;
@@ -83,13 +82,12 @@ namespace System.Web.Configuration
                        this.Source = source;
                }
 
-               [MonoTODO]
                static void ValidateElement (object o)
                {
                        /* XXX do some sort of element validation here? */
                }
 
-               protected override ConfigurationElementProperty ElementProperty {
+               protected internal override ConfigurationElementProperty ElementProperty {
                        get { return elementProperty; }
                }
 
@@ -141,10 +139,9 @@ namespace System.Web.Configuration
                        set { base[tagPrefixProp] = value; }
                }
 
-               protected override ConfigurationPropertyCollection Properties {
+               protected internal override ConfigurationPropertyCollection Properties {
                        get { return properties; }
                }
        }
 }
 
-#endif