6 references to GetValidationErrors
System.ComponentModel.DataAnnotations (6)
DataAnnotations\Validator.cs (6)
51foreach (ValidationError err in GetValidationErrors(value, validationContext, attributes, breakOnFirstError)) { 163foreach (ValidationError err in GetValidationErrors(value, validationContext, validationAttributes, breakOnFirstError)) { 188ValidationError err = GetValidationErrors(value, validationContext, attributes, false).FirstOrDefault(); 263ValidationError err = GetValidationErrors(value, validationContext, validationAttributes, false).FirstOrDefault(); 356errors.AddRange(GetValidationErrors(instance, validationContext, attributes, breakOnFirstError)); 397errors.AddRange(GetValidationErrors(property.Value, property.Key, attributes, breakOnFirstError));