4 writes to Message
System.Web (4)
ModelBinding\DataAnnotationsModelValidator.cs (1)
89
Message
= GetValidationErrorMessage(result),
ModelBinding\ModelValidator.cs (1)
55
Message
= propertyResult.Message
ModelBinding\ValidatableObjectAdapter.cs (2)
42
yield return new ModelValidationResult {
Message
= result.ErrorMessage };
46
yield return new ModelValidationResult {
Message
= result.ErrorMessage, MemberName = memberName };
4 references to Message
System.Web (4)
ModelBinding\ModelValidationNode.cs (2)
151
modelState.AddModelError(thisErrorKey, propertyResult.
Message
);
168
modelState.AddModelError(trueModelStateKey, validationResult.
Message
);
ModelBinding\ModelValidator.cs (1)
55
Message = propertyResult.
Message
ModelBinding\MutableObjectModelBinder.cs (1)
201
bindingContext.ModelState.AddModelError(modelStateKey, validationResult.
Message
);