Fix wording in PrincipalExtensions.cs summary (#17859)

Add missing "if" in the summary.
This commit is contained in:
Joni 2019-12-14 16:41:43 +09:00 committed by Hao Kung
parent 2de83d6145
commit 8aec42166d
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ namespace System.Security.Claims
public static class PrincipalExtensions
{
/// <summary>
/// Returns the value for the first claim of the specified type otherwise null the claim is not present.
/// Returns the value for the first claim of the specified type, otherwise null if the claim is not present.
/// </summary>
/// <param name="principal">The <see cref="ClaimsPrincipal"/> instance this method extends.</param>
/// <param name="claimType">The claim type whose first value should be returned.</param>
@ -28,4 +28,4 @@ namespace System.Security.Claims
}
}
}
}