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/SpnEndpointIdentity.cs')
-rw-r--r--mcs/class/referencesource/System.ServiceModel/System/ServiceModel/SpnEndpointIdentity.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/SpnEndpointIdentity.cs b/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/SpnEndpointIdentity.cs
index 2e20f2954bd..12a1e028970 100644
--- a/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/SpnEndpointIdentity.cs
+++ b/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/SpnEndpointIdentity.cs
@@ -60,7 +60,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.Spn))
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.UnrecognizedClaimTypeForIdentity, identity.ClaimType, ClaimTypes.Spn));