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