2 references to AddModelError
System.Web (2)
ModelBinding\MutableObjectModelBinder.cs (1)
215
bindingContext.ModelState.
AddModelError
(modelStateKey, ex);
ModelBinding\TypeConverterModelBinder.cs (1)
31
bindingContext.ModelState.
AddModelError
(bindingContext.ModelName, ex);