1 instantiation of ValidatedMember
Microsoft.Extensions.Options.SourceGeneration (1)
Parser.cs (1)
593
return
new
(
9 references to ValidatedMember
Microsoft.Extensions.Options.SourceGeneration (9)
Emitter.cs (4)
710
foreach (
var
vm in modelToValidate.MembersToValidate)
737
private void GenMemberValidation(
ValidatedMember
vm, ref Dictionary<string, StaticFieldInfo> staticValidationAttributesDict, bool cleanListsBeforeUse)
820
private void GenTransitiveValidation(
ValidatedMember
vm, ref Dictionary<string, StaticFieldInfo> staticValidatorsDict)
852
private void GenEnumerationValidation(
ValidatedMember
vm, ref Dictionary<string, StaticFieldInfo> staticValidatorsDict)
Model\ValidatedModel.cs (1)
12
List<
ValidatedMember
> MembersToValidate);
Parser.cs (4)
278
private List<
ValidatedMember
> GetMembersToValidate(ITypeSymbol modelType, bool speculate, Location lowerLocationInCompilation, ITypeSymbol validatorType)
304
var membersToValidate = new List<
ValidatedMember
>();
312
var
memberInfo = GetMemberInfo(member, speculate, location, modelType, validatorType);
328
private
ValidatedMember
? GetMemberInfo(ISymbol member, bool speculate, Location location, ITypeSymbol modelType, ITypeSymbol validatorType)