From aa26e6678c740e7df95c5165e8f6254a8edbb89f Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sun, 15 Oct 2023 15:09:29 +0200 Subject: [PATCH] Minor refactoring. --- src/Shared/Throw.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shared/Throw.cs b/src/Shared/Throw.cs index 08182095eb..0ba4c86ae6 100644 --- a/src/Shared/Throw.cs +++ b/src/Shared/Throw.cs @@ -16,7 +16,7 @@ public static void IfFalse(string paramName, bool condition, string message) throw new ArgumentException(message, paramName); } - public static void IfFalse(string paramName, bool condition, string message, T arg0) + public static void IfFalse(string paramName, bool condition, string message, T0 arg0) { if (!condition) throw new ArgumentException(FormatMessage(message, arg0), paramName);