2 instantiations of ValidatorType
Microsoft.Extensions.Options.SourceGeneration (2)
Parser.cs (2)
177results.Add(new ValidatorType( 854var result = new ValidatorType(
10 references to ValidatorType
Microsoft.Extensions.Options.SourceGeneration (10)
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 (7)
34private readonly Dictionary<ITypeSymbol, (ValidatorType? Sync, ValidatorType? Async)> _synthesizedValidators = new(SymbolEqualityComparer.Default); 57public IReadOnlyList<ValidatorType> GetValidatorTypes(IEnumerable<(TypeDeclarationSyntax TypeSyntax, SemanticModel SemanticModel)> classes) 59var results = new List<ValidatorType>(); 209return new List<ValidatorType>(); 821ValidatorType? reusable = isAsync ? cached.Async : cached.Sync; 854var result = new ValidatorType(