From 8aec42166d0a08f4ddf992c0027fd51182d8d0a1 Mon Sep 17 00:00:00 2001 From: Joni Date: Sat, 14 Dec 2019 16:41:43 +0900 Subject: [PATCH] Fix wording in PrincipalExtensions.cs summary (#17859) Add missing "if" in the summary. --- src/Identity/Extensions.Core/src/PrincipalExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Identity/Extensions.Core/src/PrincipalExtensions.cs b/src/Identity/Extensions.Core/src/PrincipalExtensions.cs index fc33e19cf8..1c73573b3a 100644 --- a/src/Identity/Extensions.Core/src/PrincipalExtensions.cs +++ b/src/Identity/Extensions.Core/src/PrincipalExtensions.cs @@ -12,7 +12,7 @@ namespace System.Security.Claims public static class PrincipalExtensions { /// - /// 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. /// /// The instance this method extends. /// The claim type whose first value should be returned. @@ -28,4 +28,4 @@ namespace System.Security.Claims } } -} \ No newline at end of file +}