There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
When implementing a custom ValidationAttribute, the ValidationContext passed to IsValid does not have the MemberName property set.
Solution would be to set the MemberName from the ModelMetadata.PropertyName at the same time the DisplayName is set.