Fix wrong order of arguments passed to ArgumentException ctor

This commit is contained in:
Wei Wang 2014-04-10 13:56:50 -07:00
parent d7110017fd
commit 86d327366f
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
}