[corlib] Removed referencesource duplicated code.
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Configuration / SoapEnvelopeProcessingElement.cs
index af5f6dd2206707184b96037046252228ed8b59df..ed3402055a7cbbccfed0e72d45c37b65375b2635 100644 (file)
@@ -32,7 +32,6 @@ using System;
 using System.Configuration;
 using System.ComponentModel;
 
-#if NET_2_0
 
 namespace System.Web.Services.Configuration {
 
@@ -70,14 +69,14 @@ namespace System.Web.Services.Configuration {
                {
                }
 
-               [ConfigurationProperty ("strict", DefaultValue = "False")]
+               [ConfigurationProperty ("strict", DefaultValue = false)]
                public bool IsStrict {
                        get { return (bool) base [strictProp];}
                        set { base[strictProp] = value; }
                }
 
                [TypeConverter (typeof (InfiniteIntConverter))]
-               [ConfigurationProperty ("readTimeout", DefaultValue = "2147483647")]
+               [ConfigurationProperty ("readTimeout", DefaultValue = int.MaxValue)]
                public int ReadTimeout {
                        get { return (int) base [readTimeoutProp];}
                        set { base[readTimeoutProp] = value; }
@@ -91,5 +90,4 @@ namespace System.Web.Services.Configuration {
 
 }
 
-#endif