Fix #12834: Wrong order of params to ArgumentNullException ctor (#12839)

Fixes #12834
This commit is contained in:
Paul Buonopane 2019-08-02 15:21:35 -04:00 committed by Pranav K
parent 27996712af
commit 698a343128
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing
{
if (context == null)
{
throw new ArgumentNullException(Resources.ArgumentCannotBeNullOrEmpty, (nameof(context)));
throw new ArgumentNullException(nameof(context));
}
var httpContext = context.HttpContext;
@ -69,4 +69,4 @@ namespace Microsoft.AspNetCore.Mvc.Routing
return urlHelper;
}
}
}
}