From f7a1e18b95d930ba9523edc1d96ca35ee7951d93 Mon Sep 17 00:00:00 2001 From: jnyrup Date: Sun, 3 Sep 2017 21:33:20 +0200 Subject: [PATCH] wrong order of arguments to ArgumentException --- src/TestFramework/MSTest.Core/Internal/Helper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestFramework/MSTest.Core/Internal/Helper.cs b/src/TestFramework/MSTest.Core/Internal/Helper.cs index 478057ecfc..f43a425696 100644 --- a/src/TestFramework/MSTest.Core/Internal/Helper.cs +++ b/src/TestFramework/MSTest.Core/Internal/Helper.cs @@ -54,7 +54,7 @@ internal static void CheckParameterNotNullOrEmpty(string param, string parameter { if (string.IsNullOrEmpty(param)) { - throw new ArgumentException(parameterName, message); + throw new ArgumentException(message, parameterName); } } }