diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2015-10-16 00:43:47 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2016-05-03 12:32:33 +0300 |
commit | 8f2487b3ce2817d0d9013981272b876371222f64 (patch) | |
tree | 6d69f0f6b4778b89b2307a2c045200f2377ececa /mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security | |
parent | 5f82524097130bf3e29844adcb47d1695bb14c6b (diff) |
Update Reference Sources to .NET Framework 4.6
Diffstat (limited to 'mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security')
6 files changed, 6 insertions, 6 deletions
diff --git a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/BinarySecretKeyIdentifierClause.cs b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/BinarySecretKeyIdentifierClause.cs index 79ce39c17ca..6389818fd19 100644 --- a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/BinarySecretKeyIdentifierClause.cs +++ b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/BinarySecretKeyIdentifierClause.cs @@ -50,7 +50,7 @@ namespace System.ServiceModel.Security { BinarySecretKeyIdentifierClause that = keyIdentifierClause as BinarySecretKeyIdentifierClause; - // PreSharp Bug: Parameter 'that' to this public method must be validated: A null-dereference can occur here. + // PreSharp #pragma warning suppress 56506 return ReferenceEquals(this, that) || (that != null && that.Matches(this.GetRawBuffer())); } diff --git a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/KeyNameIdentifierClause.cs b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/KeyNameIdentifierClause.cs index 6bbb93644bb..a36d14136bc 100644 --- a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/KeyNameIdentifierClause.cs +++ b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/KeyNameIdentifierClause.cs @@ -32,7 +32,7 @@ namespace System.ServiceModel.Security { KeyNameIdentifierClause that = keyIdentifierClause as KeyNameIdentifierClause; - // PreSharp Bug: Parameter 'that' to this public method must be validated: A null-dereference can occur here. + // PreSharp #pragma warning suppress 56506 return ReferenceEquals(this, that) || (that != null && that.Matches(this.keyName)); } diff --git a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/ReferenceList.cs b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/ReferenceList.cs index 38447200d38..2972098749e 100644 --- a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/ReferenceList.cs +++ b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/ReferenceList.cs @@ -38,7 +38,7 @@ namespace System.ServiceModel.Security { get { - // PreSharp Bug: Property get methods should not throw exceptions. + // PreSharp #pragma warning suppress 56503 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException()); } diff --git a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/RelAssertionDirectKeyIdentifierClause.cs b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/RelAssertionDirectKeyIdentifierClause.cs index 792dac6c2e6..7a8ac3dc6c5 100644 --- a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/RelAssertionDirectKeyIdentifierClause.cs +++ b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/RelAssertionDirectKeyIdentifierClause.cs @@ -32,7 +32,7 @@ namespace System.ServiceModel.Security { RelAssertionDirectKeyIdentifierClause that = keyIdentifierClause as RelAssertionDirectKeyIdentifierClause; - // PreSharp Bug: Parameter 'that' to this public method must be validated: A null-dereference can occur here. + // PreSharp #pragma warning suppress 56506 return (ReferenceEquals(this, that) || (that != null && that.AssertionId == this.AssertionId)); } diff --git a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SamlAssertionDirectKeyIdentifierClause.cs b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SamlAssertionDirectKeyIdentifierClause.cs index 517a9a50250..94c196b3426 100644 --- a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SamlAssertionDirectKeyIdentifierClause.cs +++ b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SamlAssertionDirectKeyIdentifierClause.cs @@ -32,7 +32,7 @@ namespace System.ServiceModel.Security { SamlAssertionDirectKeyIdentifierClause that = keyIdentifierClause as SamlAssertionDirectKeyIdentifierClause; - // PreSharp Bug: Parameter 'that' to this public method must be validated: A null-dereference can occur here. + // PreSharp #pragma warning suppress 56506 return (ReferenceEquals(this, that) || (that != null && that.SamlUri == this.SamlUri)); } diff --git a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SecurityContextKeyIdentifierClause.cs b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SecurityContextKeyIdentifierClause.cs index 6f6c70a7a5e..3813a4e1658 100644 --- a/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SecurityContextKeyIdentifierClause.cs +++ b/mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SecurityContextKeyIdentifierClause.cs @@ -50,7 +50,7 @@ namespace System.ServiceModel.Security { SecurityContextKeyIdentifierClause that = keyIdentifierClause as SecurityContextKeyIdentifierClause; - // PreSharp Bug: Parameter 'that' to this public method must be validated: A null-dereference can occur here. + // PreSharp #pragma warning suppress 56506 return ReferenceEquals(this, that) || (that != null && that.Matches(this.contextId, this.generation)); } |