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