Skip to content

Commit 5c6fe61

Browse files
authored
Merge pull request #863 from Benna96/fix-guard-throwhelper-method-typo
Fix typo in Guard.ThrowHelper.ThrowArgumentNullExceptionForIsNotNull
2 parents 78b3fe2 + f6b8c5e commit 5c6fe61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommunityToolkit.Diagnostics/Internals/Guard.ThrowHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static void ThrowArgumentExceptionForIsNull<T>(T? value, string name)
6060
[DoesNotReturn]
6161
public static void ThrowArgumentNullExceptionForIsNotNull<T>(string name)
6262
{
63-
throw new ArgumentNullException(name, $"Parameter {AssertString(name)} ({typeof(T).ToTypeString()}) must be not null).");
63+
throw new ArgumentNullException(name, $"Parameter {AssertString(name)} ({typeof(T).ToTypeString()}) must be not null.");
6464
}
6565

6666
/// <summary>

0 commit comments

Comments
 (0)