New test.
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / TagPrefixCollection.cs
index 2ae26042ddba57793206538ad569d83f241004ec..5f71b034ba64a96bc6153819e781486b4241379b 100644 (file)
@@ -62,10 +62,9 @@ namespace System.Web.Configuration
 
                protected override ConfigurationElement CreateNewElement ()
                {
-                       return new TagPrefixInfo ("", "", "", "", "");
+                       return new TagPrefixInfo ();
                }
 
-               [MonoTODO]
                protected override object GetElementKey (ConfigurationElement element)
                {
                        return ((TagPrefixInfo)element).TagPrefix;
@@ -76,18 +75,14 @@ namespace System.Web.Configuration
                        BaseRemove (tagPrefixInformation.TagPrefix);
                }
 
-               [MonoTODO]
-               protected override ConfigurationElementCollectionType CollectionType {
-                       get {
-                               return ConfigurationElementCollectionType.BasicMap;
-                       }
+               [MonoTODO ("why override this?")]
+               public override ConfigurationElementCollectionType CollectionType {
+                       get { return ConfigurationElementCollectionType.BasicMap; }
                }
 
-               [MonoTODO]
+               [MonoTODO ("why override this?")]
                protected override string ElementName {
-                       get {
-                               throw new NotImplementedException ();
-                       }
+                       get { return "add"; }
                }
 
                protected override ConfigurationPropertyCollection Properties {