You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@ -63,7 +63,7 @@ namespace System.ServiceModel.Configuration
|
||||
binding.MaxSessionSize = this.MaxSessionSize;
|
||||
binding.MaxReadPoolSize = this.MaxReadPoolSize;
|
||||
binding.MaxWritePoolSize = this.MaxWritePoolSize;
|
||||
#pragma warning suppress 56506 //[....]; base.ApplyConfiguration() checks for 'binding' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.ApplyConfiguration() checks for 'binding' being null
|
||||
this.ReaderQuotas.ApplyConfiguration(binding.ReaderQuotas);
|
||||
binding.CompressionFormat = this.CompressionFormat;
|
||||
}
|
||||
@ -73,7 +73,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
BinaryMessageEncodingElement source = (BinaryMessageEncodingElement)from;
|
||||
#pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.CopyFrom() checks for 'from' being null
|
||||
this.MaxSessionSize = source.MaxSessionSize;
|
||||
this.MaxReadPoolSize = source.MaxReadPoolSize;
|
||||
this.MaxWritePoolSize = source.MaxWritePoolSize;
|
||||
|
@ -25,7 +25,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
CallbackDebugElement source = (CallbackDebugElement)from;
|
||||
#pragma warning suppress 56506 //[....]; base.CopyFrom() check for 'from' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.CopyFrom() check for 'from' being null
|
||||
this.IncludeExceptionDetailInFaults = source.IncludeExceptionDetailInFaults;
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
CallbackTimeoutsElement source = (CallbackTimeoutsElement)from;
|
||||
#pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.CopyFrom() checks for 'from' being null
|
||||
this.TransactionTimeout = source.TransactionTimeout;
|
||||
}
|
||||
|
||||
|
@ -96,7 +96,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
ClientCredentialsElement source = (ClientCredentialsElement)from;
|
||||
#pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.CopyFrom() checks for 'from' being null
|
||||
this.ClientCertificate.Copy(source.ClientCertificate);
|
||||
this.ServiceCertificate.Copy(source.ServiceCertificate);
|
||||
this.Windows.Copy(source.Windows);
|
||||
|
@ -25,7 +25,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
ClientViaElement source = (ClientViaElement)from;
|
||||
#pragma warning suppress 56506 //[....]; base.CopyFrom() check for 'from' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.CopyFrom() check for 'from' being null
|
||||
this.ViaUri = source.ViaUri;
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ namespace System.ServiceModel.Configuration
|
||||
{
|
||||
if (!typeof(System.ServiceModel.Description.IEndpointBehavior).IsAssignableFrom(element.BehaviorType))
|
||||
{
|
||||
#pragma warning disable 56506 //[....]; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
#pragma warning disable 56506 //Microsoft; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigInvalidCommonEndpointBehaviorType,
|
||||
element.ConfigurationElementName,
|
||||
typeof(System.ServiceModel.Description.IEndpointBehavior).FullName),
|
||||
@ -44,7 +44,7 @@ namespace System.ServiceModel.Configuration
|
||||
{
|
||||
if (!typeof(System.ServiceModel.Description.IEndpointBehavior).IsAssignableFrom(element.BehaviorType))
|
||||
{
|
||||
#pragma warning disable 56506 //[....]; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
#pragma warning disable 56506 //Microsoft; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigInvalidCommonEndpointBehaviorType,
|
||||
element.ConfigurationElementName,
|
||||
typeof(System.ServiceModel.Description.IEndpointBehavior).FullName),
|
||||
|
@ -23,7 +23,7 @@ namespace System.ServiceModel.Configuration
|
||||
{
|
||||
if (!typeof(System.ServiceModel.Description.IServiceBehavior).IsAssignableFrom(element.BehaviorType))
|
||||
{
|
||||
#pragma warning disable 56506 //[....]; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
#pragma warning disable 56506 //Microsoft; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigInvalidCommonServiceBehaviorType,
|
||||
element.ConfigurationElementName,
|
||||
typeof(System.ServiceModel.Description.IServiceBehavior).FullName),
|
||||
@ -44,7 +44,7 @@ namespace System.ServiceModel.Configuration
|
||||
{
|
||||
if (!typeof(System.ServiceModel.Description.IServiceBehavior).IsAssignableFrom(element.BehaviorType))
|
||||
{
|
||||
#pragma warning disable 56506 //[....]; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
#pragma warning disable 56506 //Microsoft; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigInvalidCommonServiceBehaviorType,
|
||||
element.ConfigurationElementName,
|
||||
typeof(System.ServiceModel.Description.IServiceBehavior).FullName),
|
||||
|
@ -35,7 +35,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
CompositeDuplexElement source = (CompositeDuplexElement)from;
|
||||
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
|
||||
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
|
||||
this.ClientBaseAddress = source.ClientBaseAddress;
|
||||
}
|
||||
|
||||
|
@ -111,7 +111,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
ConnectionOrientedTransportElement source = (ConnectionOrientedTransportElement)from;
|
||||
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
|
||||
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
|
||||
this.ConnectionBufferSize = source.ConnectionBufferSize;
|
||||
this.HostNameComparisonMode = source.HostNameComparisonMode;
|
||||
this.ChannelInitializationTimeout = source.ChannelInitializationTimeout;
|
||||
|
@ -38,7 +38,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
DataContractSerializerElement source = (DataContractSerializerElement)from;
|
||||
#pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.CopyFrom() checks for 'from' being null
|
||||
this.IgnoreExtensionDataObject = source.IgnoreExtensionDataObject;
|
||||
this.MaxItemsInObjectGraph = source.MaxItemsInObjectGraph;
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ namespace System.ServiceModel.Configuration
|
||||
}
|
||||
if (!typeof(System.ServiceModel.Description.IEndpointBehavior).IsAssignableFrom(element.BehaviorType))
|
||||
{
|
||||
#pragma warning disable 56506 //[....]; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
#pragma warning disable 56506 //Microsoft; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigInvalidEndpointBehaviorType,
|
||||
element.ConfigurationElementName,
|
||||
this.Name),
|
||||
@ -62,7 +62,7 @@ namespace System.ServiceModel.Configuration
|
||||
}
|
||||
if (!typeof(System.ServiceModel.Description.IEndpointBehavior).IsAssignableFrom(element.BehaviorType))
|
||||
{
|
||||
#pragma warning disable 56506 //[....]; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
#pragma warning disable 56506 //Microsoft; element.ElementInformation is guaranteed to be non-null(System.Configuration)
|
||||
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ConfigurationErrorsException(SR.GetString(SR.ConfigInvalidEndpointBehaviorType,
|
||||
element.ConfigurationElementName,
|
||||
this.Name),
|
||||
|
@ -211,7 +211,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
HttpTransportElement source = (HttpTransportElement)from;
|
||||
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
|
||||
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
|
||||
this.AllowCookies = source.AllowCookies;
|
||||
this.RequestInitializationTimeout = source.RequestInitializationTimeout;
|
||||
this.AuthenticationScheme = source.AuthenticationScheme;
|
||||
|
@ -30,7 +30,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
HttpsTransportElement source = (HttpsTransportElement)from;
|
||||
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
|
||||
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
|
||||
this.RequireClientCertificate = source.RequireClientCertificate;
|
||||
}
|
||||
|
||||
|
@ -111,7 +111,7 @@ namespace System.ServiceModel.Configuration
|
||||
else if (identity is X509CertificateEndpointIdentity)
|
||||
{
|
||||
X509Certificate2Collection certs = ((X509CertificateEndpointIdentity)identity).Certificates;
|
||||
#pragma warning suppress 56506 //[....]; this.Certificate can never be null (underlying configuration system guarantees)
|
||||
#pragma warning suppress 56506 //Microsoft; this.Certificate can never be null (underlying configuration system guarantees)
|
||||
this.Certificate.EncodedValue = Convert.ToBase64String(certs.Export(certs.Count == 1 ? X509ContentType.SerializedCert : X509ContentType.SerializedStore));
|
||||
}
|
||||
}
|
||||
|
@ -94,17 +94,17 @@ namespace System.ServiceModel.Configuration
|
||||
this.MaxIssuedTokenCachingTime = from.MaxIssuedTokenCachingTime;
|
||||
this.IssuedTokenRenewalThresholdPercentage = from.IssuedTokenRenewalThresholdPercentage;
|
||||
|
||||
#pragma warning suppress 56506 //[....]; from.ElementInformation.Properties[ConfigurationStrings.LocalIssuerIssuedTokenParameters] can never be null (underlying configuration system guarantees)
|
||||
#pragma warning suppress 56506 //Microsoft; from.ElementInformation.Properties[ConfigurationStrings.LocalIssuerIssuedTokenParameters] can never be null (underlying configuration system guarantees)
|
||||
if (PropertyValueOrigin.Default != from.ElementInformation.Properties[ConfigurationStrings.LocalIssuer].ValueOrigin)
|
||||
{
|
||||
this.LocalIssuer.Copy(from.LocalIssuer);
|
||||
}
|
||||
#pragma warning suppress 56506 //[....]; from.ElementInformation.Properties[ConfigurationStrings.LocalIssuerChannelBehaviors] can never be null (underlying configuration system guarantees)
|
||||
#pragma warning suppress 56506 //Microsoft; from.ElementInformation.Properties[ConfigurationStrings.LocalIssuerChannelBehaviors] can never be null (underlying configuration system guarantees)
|
||||
if (PropertyValueOrigin.Default != from.ElementInformation.Properties[ConfigurationStrings.LocalIssuerChannelBehaviors].ValueOrigin)
|
||||
{
|
||||
this.LocalIssuerChannelBehaviors = from.LocalIssuerChannelBehaviors;
|
||||
}
|
||||
#pragma warning suppress 56506 //[....]; from.ElementInformation.Properties[ConfigurationStrings.IssuerChannelBehaviors] can never be null (underlying configuration system guarantees)
|
||||
#pragma warning suppress 56506 //Microsoft; from.ElementInformation.Properties[ConfigurationStrings.IssuerChannelBehaviors] can never be null (underlying configuration system guarantees)
|
||||
if (PropertyValueOrigin.Default != from.ElementInformation.Properties[ConfigurationStrings.IssuerChannelBehaviors].ValueOrigin)
|
||||
{
|
||||
foreach (IssuedTokenClientBehaviorsElement element in from.IssuerChannelBehaviors)
|
||||
|
@ -114,7 +114,7 @@ namespace System.ServiceModel.Configuration
|
||||
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("from");
|
||||
}
|
||||
this.SamlSerializerType = from.SamlSerializerType;
|
||||
#pragma warning suppress 56506 // [....]; ElementInformation is never null.
|
||||
#pragma warning suppress 56506 // Microsoft; ElementInformation is never null.
|
||||
PropertyInformationCollection propertyInfo = from.ElementInformation.Properties;
|
||||
if (propertyInfo[ConfigurationStrings.KnownCertificates].ValueOrigin != PropertyValueOrigin.Default)
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ namespace System.ServiceModel.Configuration
|
||||
binding.WriteEncoding = this.WriteEncoding;
|
||||
binding.MaxReadPoolSize = this.MaxReadPoolSize;
|
||||
binding.MaxWritePoolSize = this.MaxWritePoolSize;
|
||||
#pragma warning suppress 56506 //[....]; base.ApplyConfiguration() checks for 'binding' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.ApplyConfiguration() checks for 'binding' being null
|
||||
this.ReaderQuotas.ApplyConfiguration(binding.ReaderQuotas);
|
||||
binding.MaxBufferSize = this.MaxBufferSize;
|
||||
}
|
||||
@ -39,7 +39,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
MtomMessageEncodingElement source = (MtomMessageEncodingElement)from;
|
||||
#pragma warning suppress 56506 //[....]; base.CopyFrom() checks for 'from' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.CopyFrom() checks for 'from' being null
|
||||
this.MessageVersion = source.MessageVersion;
|
||||
this.WriteEncoding = source.WriteEncoding;
|
||||
this.MaxReadPoolSize = source.MaxReadPoolSize;
|
||||
|
@ -22,7 +22,7 @@ namespace System.ServiceModel.Configuration
|
||||
{
|
||||
base.ApplyConfiguration(bindingElement);
|
||||
NamedPipeTransportBindingElement binding = (NamedPipeTransportBindingElement)bindingElement;
|
||||
#pragma warning suppress 56506 //[....]; base.ApplyConfiguration above checks for bindingElement being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.ApplyConfiguration above checks for bindingElement being null
|
||||
this.ConnectionPoolSettings.ApplyConfiguration(binding.ConnectionPoolSettings);
|
||||
this.PipeSettings.ApplyConfiguration(binding.PipeSettings);
|
||||
}
|
||||
@ -30,7 +30,7 @@ namespace System.ServiceModel.Configuration
|
||||
protected internal override void InitializeFrom(BindingElement bindingElement)
|
||||
{
|
||||
base.InitializeFrom(bindingElement);
|
||||
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
|
||||
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
|
||||
NamedPipeTransportBindingElement binding = (NamedPipeTransportBindingElement)bindingElement;
|
||||
this.ConnectionPoolSettings.InitializeFrom(binding.ConnectionPoolSettings);
|
||||
this.PipeSettings.InitializeFrom(binding.PipeSettings);
|
||||
@ -40,7 +40,7 @@ namespace System.ServiceModel.Configuration
|
||||
{
|
||||
base.CopyFrom(from);
|
||||
NamedPipeTransportElement source = (NamedPipeTransportElement)from;
|
||||
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
|
||||
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
|
||||
this.ConnectionPoolSettings.CopyFrom(source.ConnectionPoolSettings);
|
||||
this.PipeSettings.CopyFrom(source.PipeSettings);
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ namespace System.ServiceModel.Configuration
|
||||
PropertyInformationCollection propertyInfo = this.ElementInformation.Properties;
|
||||
if (propertyInfo[ConfigurationStrings.ChannelPoolSettings].ValueOrigin != PropertyValueOrigin.Default)
|
||||
{
|
||||
#pragma warning suppress 56506 // [....], base.ApplyConfiguration() validates the argument
|
||||
#pragma warning suppress 56506 // Microsoft, base.ApplyConfiguration() validates the argument
|
||||
this.ChannelPoolSettings.ApplyConfiguration(oneWayBindingElement.ChannelPoolSettings);
|
||||
}
|
||||
oneWayBindingElement.MaxAcceptedChannels = this.MaxAcceptedChannels;
|
||||
@ -59,7 +59,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
OneWayElement source = (OneWayElement)from;
|
||||
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
|
||||
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
|
||||
PropertyInformationCollection propertyInfo = source.ElementInformation.Properties;
|
||||
if (propertyInfo[ConfigurationStrings.ChannelPoolSettings].ValueOrigin != PropertyValueOrigin.Default)
|
||||
{
|
||||
|
@ -68,7 +68,7 @@ namespace System.ServiceModel.Configuration
|
||||
binding.Port = this.Port;
|
||||
binding.MaxBufferPoolSize = this.MaxBufferPoolSize;
|
||||
binding.MaxReceivedMessageSize = this.MaxReceivedMessageSize;
|
||||
#pragma warning suppress 56506 //[....]; base.ApplyConfiguration() checks for 'binding' being null
|
||||
#pragma warning suppress 56506 //Microsoft; base.ApplyConfiguration() checks for 'binding' being null
|
||||
this.Security.ApplyConfiguration(binding.Security);
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ namespace System.ServiceModel.Configuration
|
||||
base.CopyFrom(from);
|
||||
|
||||
PeerTransportElement source = (PeerTransportElement)from;
|
||||
#pragma warning suppress 56506 // [....], base.CopyFrom() validates the argument
|
||||
#pragma warning suppress 56506 // Microsoft, base.CopyFrom() validates the argument
|
||||
this.ListenIPAddress = source.ListenIPAddress;
|
||||
this.Port = source.Port;
|
||||
this.MaxBufferPoolSize = source.MaxBufferPoolSize;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user