1 write to DisplayName
System.Web (1)
ModelBinding\DataAnnotationsModelValidator.cs (1)
75context.DisplayName = Metadata.GetDisplayName();
4 references to DisplayName
System.ComponentModel.DataAnnotations (3)
DataAnnotations\CompareAttribute.cs (1)
49return new ValidationResult(FormatErrorMessage(validationContext.DisplayName));
DataAnnotations\ValidationAttribute.cs (2)
382result = new ValidationResult(this.FormatErrorMessage(validationContext.DisplayName), memberNames); 422string errorMessage = this.FormatErrorMessage(validationContext.DisplayName);
System.Web (1)
Security\MembershipPasswordAttribute.cs (1)
172string name = (validationContext != null) ? validationContext.DisplayName : String.Empty;