2 references to HasValidationAttributes
Microsoft.Extensions.Validation.ValidationsGenerator (2)
Parsers\ValidationsGenerator.TypesParser.cs (2)
96
var hasTypeLevelValidation =
HasValidationAttributes
(typeSymbol, wellKnownTypes) || HasIValidatableObjectInterface(typeSymbol, wellKnownTypes);
283
if (!
HasValidationAttributes
(member, wellKnownTypes) && !hasValidatableType)