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.ServiceModel/System/ServiceModel/DnsEndpointIdentity.cs')
-rw-r--r--mcs/class/referencesource/System.ServiceModel/System/ServiceModel/DnsEndpointIdentity.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/DnsEndpointIdentity.cs b/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/DnsEndpointIdentity.cs
index 4ce51214c0e..2b2991a1473 100644
--- a/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/DnsEndpointIdentity.cs
+++ b/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/DnsEndpointIdentity.cs
@@ -25,7 +25,7 @@ namespace System.ServiceModel
if (identity == null)
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("identity");
- // PreSharp
+ // PreSharp Bug: Parameter 'identity.ResourceType' to this public method must be validated: A null-dereference can occur here.
#pragma warning suppress 56506 // Claim.ClaimType will never return null
if (!identity.ClaimType.Equals(ClaimTypes.Dns))
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.UnrecognizedClaimTypeForIdentity, identity.ClaimType, ClaimTypes.Dns));