1 instantiation of ValidatedMember
Microsoft.Extensions.Options.SourceGeneration (1)
Parser.cs (1)
581
return
new
(
9 references to ValidatedMember
Microsoft.Extensions.Options.SourceGeneration (9)
Emitter.cs (4)
703
foreach (
var
vm in modelToValidate.MembersToValidate)
730
private void GenMemberValidation(
ValidatedMember
vm, string modelName, ref Dictionary<string, StaticFieldInfo> staticValidationAttributesDict, bool cleanListsBeforeUse)
813
private void GenTransitiveValidation(
ValidatedMember
vm, string modelName, ref Dictionary<string, StaticFieldInfo> staticValidatorsDict)
844
private void GenEnumerationValidation(
ValidatedMember
vm, string modelName, ref Dictionary<string, StaticFieldInfo> staticValidatorsDict)
Model\ValidatedModel.cs (1)
12
List<
ValidatedMember
> MembersToValidate);
Parser.cs (4)
266
private List<
ValidatedMember
> GetMembersToValidate(ITypeSymbol modelType, bool speculate, Location lowerLocationInCompilation, ITypeSymbol validatorType)
292
var membersToValidate = new List<
ValidatedMember
>();
300
var
memberInfo = GetMemberInfo(member, speculate, location, modelType, validatorType);
316
private
ValidatedMember
? GetMemberInfo(ISymbol member, bool speculate, Location location, ITypeSymbol modelType, ITypeSymbol validatorType)