1 write to _errorMessage
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (1)
159
_errorMessage
= value;
3 references to _errorMessage
System.ComponentModel.Annotations (3)
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (3)
106
Debug.Assert(_defaultErrorMessage is null && _errorMessageResourceName is null &&
_errorMessage
is null && _errorMessageResourceType is null);
156
get =>
_errorMessage
?? _defaultErrorMessage;
227
bool errorMessageSet = !string.IsNullOrEmpty(
_errorMessage
);