Fix wrong order of arguments passed to ArgumentException ctor
This commit is contained in:
parent
d7110017fd
commit
86d327366f
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue