diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.Configuration_2.0/PagesSection.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.Configuration_2.0/PagesSection.cs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/mcs/class/System.Web/System.Web.Configuration_2.0/PagesSection.cs b/mcs/class/System.Web/System.Web.Configuration_2.0/PagesSection.cs index 768f4b1c39d..aba225ea79d 100644 --- a/mcs/class/System.Web/System.Web.Configuration_2.0/PagesSection.cs +++ b/mcs/class/System.Web/System.Web.Configuration_2.0/PagesSection.cs @@ -72,10 +72,9 @@ namespace System.Web.Configuration ConfigurationPropertyOptions.None); autoEventWireupProp = new ConfigurationProperty ("autoEventWireup", typeof(bool), true); bufferProp = new ConfigurationProperty ("buffer", typeof(bool), false); - controlsProp = new ConfigurationProperty ("controls", typeof(TagPrefixCollection), null, - null, null, ConfigurationPropertyOptions.None); + controlsProp = new ConfigurationProperty ("controls", typeof(TagPrefixCollection), null); enableEventValidationProp = new ConfigurationProperty ("enableEventValidation", typeof (bool), true); - enableSessionStateProp = new ConfigurationProperty ("enableSessionState", typeof (PagesEnableSessionState), PagesEnableSessionState.True); + enableSessionStateProp = new ConfigurationProperty ("enableSessionState", typeof (PagesEnableSessionState), true); enableViewStateProp = new ConfigurationProperty ("enableViewState", typeof (bool), true); enableViewStateMacProp = new ConfigurationProperty ("enableViewStateMac", typeof (bool), true); maintainScrollPositionOnPostBackProp = new ConfigurationProperty ("maintainScrollPositionOnPostBack", typeof (bool), false); @@ -84,14 +83,12 @@ namespace System.Web.Configuration modeProp = new ConfigurationProperty ("compilationMode", typeof (CompilationMode), CompilationMode.Always, new GenericEnumConverter (typeof (CompilationMode)), PropertyHelper.DefaultValidator, ConfigurationPropertyOptions.None); - namespacesProp = new ConfigurationProperty ("namespaces", typeof (NamespaceCollection), null, - null, null, ConfigurationPropertyOptions.None); + namespacesProp = new ConfigurationProperty ("namespacesProp", typeof (NamespaceCollection), null); pageBaseTypeProp = new ConfigurationProperty ("pageBaseType", typeof (string), "System.Web.UI.Page"); pageParserFilterTypeProp = new ConfigurationProperty ("pageParserFilterType", typeof (string), ""); smartNavigationProp = new ConfigurationProperty ("smartNavigation", typeof (bool), false); styleSheetThemeProp = new ConfigurationProperty ("styleSheetTheme", typeof (string), ""); - tagMappingProp = new ConfigurationProperty ("tagMapping", typeof (TagMapCollection), null, - null, null, ConfigurationPropertyOptions.None); + tagMappingProp = new ConfigurationProperty ("tagMapping", typeof (TagMapCollection), null); themeProp = new ConfigurationProperty ("theme", typeof (string), ""); userControlBaseTypeProp = new ConfigurationProperty ("userControlBaseType", typeof (string), "System.Web.UI.UserControl"); validateRequestProp = new ConfigurationProperty ("validateRequest", typeof (bool), true); @@ -103,7 +100,6 @@ namespace System.Web.Configuration properties.Add (asyncTimeoutProp); properties.Add (autoEventWireupProp); properties.Add (bufferProp); - properties.Add (controlsProp); properties.Add (enableEventValidationProp); properties.Add (enableSessionStateProp); properties.Add (enableViewStateProp); @@ -112,12 +108,10 @@ namespace System.Web.Configuration properties.Add (masterPageFileProp); properties.Add (maxPageStateFieldLengthProp); properties.Add (modeProp); - properties.Add (namespacesProp); properties.Add (pageBaseTypeProp); properties.Add (pageParserFilterTypeProp); properties.Add (smartNavigationProp); properties.Add (styleSheetThemeProp); - properties.Add (tagMappingProp); properties.Add (themeProp); properties.Add (userControlBaseTypeProp); properties.Add (validateRequestProp); |