From 86d327366f556602772b71d2b490af974fa79cf9 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Thu, 10 Apr 2014 13:56:50 -0700 Subject: [PATCH] Fix wrong order of arguments passed to ArgumentException ctor --- .../Internal/ModelBindingHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Mvc.ModelBinding/Internal/ModelBindingHelper.cs b/src/Microsoft.AspNet.Mvc.ModelBinding/Internal/ModelBindingHelper.cs index ffc2872b4b..a54c5aec90 100644 --- a/src/Microsoft.AspNet.Mvc.ModelBinding/Internal/ModelBindingHelper.cs +++ b/src/Microsoft.AspNet.Mvc.ModelBinding/Internal/ModelBindingHelper.cs @@ -57,7 +57,7 @@ namespace Microsoft.AspNet.Mvc.ModelBinding.Internal { if (bindingContext.ModelMetadata == null) { - throw new ArgumentException("bindingContext", Resources.ModelBinderUtil_ModelMetadataCannotBeNull); + throw new ArgumentException(Resources.ModelBinderUtil_ModelMetadataCannotBeNull, "bindingContext"); } }