Changes approved via private email from Marek Habersack <mhabersack@novell.com> on...
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / HttpModuleAction.cs
index 4154e87419f040aa0643f9fcf7031f5bd5c44337..5e71b8f5edbfc0e1cc777c95e50b16f016f4f052 100644 (file)
@@ -46,11 +46,11 @@ namespace System.Web.Configuration
 
                static HttpModuleAction ()
                {
-                       nameProp = new ConfigurationProperty ("name", typeof (string), "",
+                       nameProp = new ConfigurationProperty ("name", typeof (string), null,
                                                              TypeDescriptor.GetConverter (typeof (string)),
                                                              PropertyHelper.NonEmptyStringValidator,
                                                              ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
-                       typeProp = new ConfigurationProperty ("type", typeof (string), "", ConfigurationPropertyOptions.IsRequired);
+                       typeProp = new ConfigurationProperty ("type", typeof (string), "hoho", ConfigurationPropertyOptions.IsRequired);
                        properties = new ConfigurationPropertyCollection ();
                        properties.Add (nameProp);
                        properties.Add (typeProp);
@@ -79,7 +79,7 @@ namespace System.Web.Configuration
 
                [StringValidator (MinLength = 1)]
                [ConfigurationProperty ("name", DefaultValue = "", Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)]
-               public new string Name {
+               public string Name {
                        get { return (string)base[nameProp]; }
                        set { base[nameProp] = value; }
                }