1 write to _errorMessageResourceName
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (1)
184
_errorMessageResourceName
= value;
6 references to _errorMessageResourceName
System.ComponentModel.Annotations (6)
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (6)
106
Debug.Assert(_defaultErrorMessage is null &&
_errorMessageResourceName
is null && _errorMessage is null && _errorMessageResourceType is null);
181
get =>
_errorMessageResourceName
;
226
bool resourceNameSet = !string.IsNullOrEmpty(
_errorMessageResourceName
);
265
Debug.Assert(!string.IsNullOrEmpty(
_errorMessageResourceName
));
267
.GetProperty(
_errorMessageResourceName
, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.DeclaredOnly);
285
_errorMessageResourceName
));