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