Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security')
-rw-r--r--mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/BinarySecretKeyIdentifierClause.cs2
-rw-r--r--mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/KeyNameIdentifierClause.cs2
-rw-r--r--mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/ReferenceList.cs2
-rw-r--r--mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/RelAssertionDirectKeyIdentifierClause.cs2
-rw-r--r--mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SamlAssertionDirectKeyIdentifierClause.cs2
-rw-r--r--mcs/class/referencesource/System.IdentityModel/System/ServiceModel/Security/SecurityContextKeyIdentifierClause.cs2
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));
}