2 writes to _lastMessage
System.ComponentModel.DataAnnotations (2)
DataAnnotations\CustomValidationAttribute.cs (2)
156
this.
_lastMessage
= null;
159
this.
_lastMessage
= result.ErrorMessage;
2 references to _lastMessage
System.ComponentModel.DataAnnotations (2)
DataAnnotations\CustomValidationAttribute.cs (2)
182
if (!string.IsNullOrEmpty(this.
_lastMessage
)) {
183
return String.Format(CultureInfo.CurrentCulture, this.
_lastMessage
, name);