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