2 instantiations of ValidatorType
Microsoft.Extensions.Options.SourceGeneration (2)
Parser.cs (2)
136results.Add(new ValidatorType( 715var result = new ValidatorType(
9 references to ValidatorType
Microsoft.Extensions.Options.SourceGeneration (9)
Emitter.cs (3)
58IEnumerable<ValidatorType> validatorTypes, 64foreach (var vt in validatorTypes.OrderBy(static lt => lt.Namespace + "." + lt.Name)) 102private void GenValidatorType(ValidatorType vt, ref Dictionary<string, StaticFieldInfo> staticValidationAttributesDict, ref Dictionary<string, StaticFieldInfo> staticValidatorsDict)
Parser.cs (6)
29private readonly Dictionary<ITypeSymbol, ValidatorType> _synthesizedValidators = new(SymbolEqualityComparer.Default); 46public IReadOnlyList<ValidatorType> GetValidatorTypes(IEnumerable<(TypeDeclarationSyntax TypeSyntax, SemanticModel SemanticModel)> classes) 48var results = new List<ValidatorType>(); 155return new List<ValidatorType>(); 693if (_synthesizedValidators.TryGetValue(mt, out var validator)) 715var result = new ValidatorType(