1 write to OtherPropertyDisplayName
System.ComponentModel.DataAnnotations (1)
DataAnnotations\CompareAttribute.cs (1)
47
OtherPropertyDisplayName
= GetDisplayNameForProperty(validationContext.ObjectType, OtherProperty);
2 references to OtherPropertyDisplayName
System.ComponentModel.DataAnnotations (2)
DataAnnotations\CompareAttribute.cs (2)
29
return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name,
OtherPropertyDisplayName
?? OtherProperty);
46
if (
OtherPropertyDisplayName
== null) {