Imported Upstream version 4.6.0.182

Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-09-01 10:46:18 +00:00
parent c911219690
commit 804b15604f
118 changed files with 1007 additions and 891 deletions

View File

@ -67,28 +67,28 @@ namespace System.ServiceModel.Channels
}
protected HttpTransportBindingElement (
HttpTransportBindingElement other)
: base (other)
HttpTransportBindingElement elementToBeCloned)
: base (elementToBeCloned)
{
allow_cookies = other.allow_cookies;
bypass_proxy_on_local = other.bypass_proxy_on_local;
unsafe_ntlm_auth = other.unsafe_ntlm_auth;
use_default_proxy = other.use_default_proxy;
keep_alive_enabled = other.keep_alive_enabled;
max_buffer_size = other.max_buffer_size;
host_cmp_mode = other.host_cmp_mode;
proxy_address = other.proxy_address;
realm = other.realm;
transfer_mode = other.transfer_mode;
allow_cookies = elementToBeCloned.allow_cookies;
bypass_proxy_on_local = elementToBeCloned.bypass_proxy_on_local;
unsafe_ntlm_auth = elementToBeCloned.unsafe_ntlm_auth;
use_default_proxy = elementToBeCloned.use_default_proxy;
keep_alive_enabled = elementToBeCloned.keep_alive_enabled;
max_buffer_size = elementToBeCloned.max_buffer_size;
host_cmp_mode = elementToBeCloned.host_cmp_mode;
proxy_address = elementToBeCloned.proxy_address;
realm = elementToBeCloned.realm;
transfer_mode = elementToBeCloned.transfer_mode;
// FIXME: it does not look safe
timeouts = other.timeouts;
auth_scheme = other.auth_scheme;
proxy_auth_scheme = other.proxy_auth_scheme;
timeouts = elementToBeCloned.timeouts;
auth_scheme = elementToBeCloned.auth_scheme;
proxy_auth_scheme = elementToBeCloned.proxy_auth_scheme;
DecompressionEnabled = other.DecompressionEnabled;
LegacyExtendedProtectionPolicy = other.LegacyExtendedProtectionPolicy;
ExtendedProtectionPolicy = other.ExtendedProtectionPolicy;
cookie_manager = other.cookie_manager;
DecompressionEnabled = elementToBeCloned.DecompressionEnabled;
LegacyExtendedProtectionPolicy = elementToBeCloned.LegacyExtendedProtectionPolicy;
ExtendedProtectionPolicy = elementToBeCloned.ExtendedProtectionPolicy;
cookie_manager = elementToBeCloned.cookie_manager;
}
[DefaultValue (AuthenticationSchemes.Anonymous)]