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)
106Debug.Assert(_defaultErrorMessage is null && _errorMessageResourceName is null && _errorMessage is null && _errorMessageResourceType is null); 156get => _errorMessage ?? _defaultErrorMessage; 227bool errorMessageSet = !string.IsNullOrEmpty(_errorMessage);