2 references to ValidationException
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (1)
506
throw new
ValidationException
(result, this, value);
System\ComponentModel\DataAnnotations\Validator.cs (1)
645
internal void ThrowValidationException() => throw new
ValidationException
(ValidationResult, _validationAttribute, _value);