2 instantiations of ValidatorType
Microsoft.Extensions.Options.SourceGeneration (2)
Parser.cs (2)
177
results.Add(new
ValidatorType
(
854
var result = new
ValidatorType
(
10 references to ValidatorType
Microsoft.Extensions.Options.SourceGeneration (10)
Emitter.cs (3)
58
IEnumerable<
ValidatorType
> validatorTypes,
64
foreach (
var
vt in validatorTypes.OrderBy(static lt => lt.Namespace + "." + lt.Name))
102
private void GenValidatorType(
ValidatorType
vt, ref Dictionary<string, StaticFieldInfo> staticValidationAttributesDict, ref Dictionary<string, StaticFieldInfo> staticValidatorsDict)
Parser.cs (7)
34
private readonly Dictionary<ITypeSymbol, (
ValidatorType
? Sync,
ValidatorType
? Async)> _synthesizedValidators = new(SymbolEqualityComparer.Default);
57
public IReadOnlyList<
ValidatorType
> GetValidatorTypes(IEnumerable<(TypeDeclarationSyntax TypeSyntax, SemanticModel SemanticModel)> classes)
59
var results = new List<
ValidatorType
>();
209
return new List<
ValidatorType
>();
821
ValidatorType
? reusable = isAsync ? cached.Async : cached.Sync;
854
var
result = new ValidatorType(