2 writes to _defaultErrorMessage
System.ComponentModel.DataAnnotations (2)
DataAnnotations\ValidationAttribute.cs (2)
81this._defaultErrorMessage = value; 149this._defaultErrorMessage = null;
3 references to _defaultErrorMessage
System.ComponentModel.DataAnnotations (3)
DataAnnotations\ValidationAttribute.cs (3)
77return this._defaultErrorMessage; 137return this._errorMessage ?? this._defaultErrorMessage; 207bool defaultMessageSet = !string.IsNullOrEmpty(this._defaultErrorMessage);