2 instantiations of TypeIndex
Microsoft.Extensions.Configuration.Binder.SourceGeneration (2)
ConfigurationBindingGenerator.Emitter.cs (1)
27_typeIndex = new TypeIndex(sourceGenSpec.ConfigTypes);
ConfigurationBindingGenerator.Parser.cs (1)
122TypeIndex typeIndex = new(_createdTypeSpecs.Values);
9 references to TypeIndex
Microsoft.Extensions.Configuration.Binder.SourceGeneration (9)
ConfigurationBindingGenerator.Emitter.cs (1)
15private readonly TypeIndex _typeIndex;
ConfigurationBindingGenerator.Parser.cs (1)
122TypeIndex typeIndex = new(_createdTypeSpecs.Values);
Emitter\CoreBindingHelpers.cs (6)
80string fieldName = TypeIndex.GetConfigKeyCacheFieldName(objectType); 665EmitStartBlock($"public static {typeFQN} {TypeIndex.GetParseMethodName(type)}(string {Identifier.value}, string? {Identifier.path})"); 858string keyCacheFieldName = TypeIndex.GetConfigKeyCacheFieldName(type); 1179_ => $"{TypeIndex.GetParseMethodName(type)}({sectionValueExpr}, {sectionPathExpr})", 1231typeFQN = TypeIndex.GetInstantiationTypeDisplayString(collectionWithCtorInitType); 1326string castExpression = $"{TypeIndex.GetPopulationCastTypeDisplayString(type)} {instanceIdentifier}";
Specs\BindingHelperInfo.cs (1)
25internal sealed class Builder(TypeIndex _typeIndex)