Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / TagMapInfo.cs
index 4ff3a3f0a24da7e50c648e0ac8a2039b8655cc43..efdc4941021695b6bd92a235f89545c64c305a83 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;
@@ -60,15 +59,19 @@ namespace System.Web.Configuration
                        properties.Add (tagTypeProp);
                }
 
+               internal TagMapInfo ()
+               {
+               }
+               
                public TagMapInfo (string tagTypeName, string mappedTagTypeName)
                {
                        this.TagType = tagTypeName;
                        this.MappedTagType = mappedTagTypeName;
                }
 
-               public override bool Equals (object map)
+               public override bool Equals (object o)
                {
-                       TagMapInfo info = map as TagMapInfo;
+                       TagMapInfo info = o as TagMapInfo;
                        if (info == null)
                                return false;
 
@@ -81,8 +84,7 @@ namespace System.Web.Configuration
                        return MappedTagType.GetHashCode() + TagType.GetHashCode();
                }
 
-               [MonoTODO]
-               protected override bool SerializeElement (XmlWriter writer, bool serializeCollectionKey)
+               protected internal override bool SerializeElement (XmlWriter writer, bool serializeCollectionKey)
                {
                        bool ret = base.SerializeElement (writer, serializeCollectionKey);
 
@@ -105,10 +107,9 @@ namespace System.Web.Configuration
                        set { base[tagTypeProp] = value; }
                }
 
-               protected override ConfigurationPropertyCollection Properties {
+               protected internal override ConfigurationPropertyCollection Properties {
                        get { return properties; }
                }
        }
 }
 
-#endif