Fix wording in PrincipalExtensions.cs summary (#17859)
Add missing "if" in the summary.
This commit is contained in:
parent
2de83d6145
commit
8aec42166d
|
|
@ -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
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue