Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -89,23 +89,18 @@ namespace System.ServiceModel
}
#if !NET_2_1
#if NET_4_0
[DefaultValue (false)]
#endif
public bool AllowCookies {
get { return t.AllowCookies; }
set { t.AllowCookies = value; }
}
#if NET_4_0
[DefaultValue (false)]
#endif
public bool BypassProxyOnLocal {
get { return t.BypassProxyOnLocal; }
set { t.BypassProxyOnLocal = value; }
}
#if NET_4_0
[MonoTODO]
public bool CrossDomainScriptAccessEnabled { get; set; }
@ -113,60 +108,45 @@ namespace System.ServiceModel
get { return msgenc.ContentTypeMapper; }
set { msgenc.ContentTypeMapper = value; }
}
#endif
#if NET_4_0
[DefaultValue (HostNameComparisonMode.StrongWildcard)]
#endif
public HostNameComparisonMode HostNameComparisonMode {
get { return t.HostNameComparisonMode; }
set { t.HostNameComparisonMode = value; }
}
#if NET_4_0
[DefaultValue (0x10000)]
#endif
public long MaxBufferPoolSize {
get { return t.MaxBufferPoolSize; }
set { t.MaxBufferPoolSize = value; }
}
#if NET_4_0
[DefaultValue (TransferMode.Buffered)]
#endif
public TransferMode TransferMode {
get { return t.TransferMode; }
set { t.TransferMode = value; }
}
#if NET_4_0
[DefaultValue (true)]
#endif
public bool UseDefaultWebProxy {
get { return t.UseDefaultWebProxy; }
set { t.UseDefaultWebProxy = value; }
}
#if NET_4_0
[DefaultValue (null)]
#endif
public Uri ProxyAddress {
get { return t.ProxyAddress; }
set { t.ProxyAddress = value; }
}
#endif
#if NET_4_0
[DefaultValue (0x80000)]
#endif
public int MaxBufferSize {
get { return t.MaxBufferSize; }
set { t.MaxBufferSize = value; }
}
#if NET_4_0
[DefaultValue (0x10000)]
#endif
public long MaxReceivedMessageSize {
get { return t.MaxReceivedMessageSize; }
set { t.MaxReceivedMessageSize = value; }
@ -183,13 +163,11 @@ namespace System.ServiceModel
public WebHttpSecurity Security {
get { return security; }
#if NET_4_0
set {
if (value == null)
throw new ArgumentNullException ("value");
security = value;
}
#endif
}
public Encoding WriteEncoding {
@ -210,7 +188,6 @@ namespace System.ServiceModel
get { return receive_synchronously; }
}
#if NET_4_0
[EditorBrowsable (EditorBrowsableState.Advanced)]
public bool ShouldSerializeReaderQuotas ()
{
@ -228,6 +205,5 @@ namespace System.ServiceModel
{
return false;
}
#endif
}
}