From f6b8c5e0a043bebe065ee292ffb259ec4618550e Mon Sep 17 00:00:00 2001 From: Benna96 Date: Tue, 9 Apr 2024 20:42:17 +0300 Subject: [PATCH] Fix typo Remove extra parenthesis --- src/CommunityToolkit.Diagnostics/Internals/Guard.ThrowHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommunityToolkit.Diagnostics/Internals/Guard.ThrowHelper.cs b/src/CommunityToolkit.Diagnostics/Internals/Guard.ThrowHelper.cs index c76fd642d..6d28cfae4 100644 --- a/src/CommunityToolkit.Diagnostics/Internals/Guard.ThrowHelper.cs +++ b/src/CommunityToolkit.Diagnostics/Internals/Guard.ThrowHelper.cs @@ -60,7 +60,7 @@ public static void ThrowArgumentExceptionForIsNull(T? value, string name) [DoesNotReturn] public static void ThrowArgumentNullExceptionForIsNotNull(string name) { - throw new ArgumentNullException(name, $"Parameter {AssertString(name)} ({typeof(T).ToTypeString()}) must be not null)."); + throw new ArgumentNullException(name, $"Parameter {AssertString(name)} ({typeof(T).ToTypeString()}) must be not null."); } ///