3 writes to ElementTypeRef
Microsoft.Extensions.Configuration.Binder.SourceGeneration (3)
ConfigurationBindingGenerator.Parser.cs (3)
362
ElementTypeRef
= elementTypeRef,
449
ElementTypeRef
= elementTypeRef,
544
ElementTypeRef
= elementTypeRef,
12 references to ElementTypeRef
Microsoft.Extensions.Configuration.Binder.SourceGeneration (12)
Emitter\CoreBindingHelpers.cs (5)
688
TypeRef elementTypeRef = type.
ElementTypeRef
;
689
string elementTypeFQN = type.
ElementTypeRef
.FullyQualifiedName;
711
EmitBindingLogicForEnumerableWithAdd(type.
ElementTypeRef
, instanceIdentifier);
775
TypeSpec elementType = _typeIndex.GetEffectiveTypeSpec(type.
ElementTypeRef
);
1113
_writer.WriteLine($"{memberAccessExpr} = global::System.{Identifier.Array}.Empty<{((CollectionSpec)complexType).
ElementTypeRef
.FullyQualifiedName}>();");
Specs\BindingHelperInfo.cs (3)
139
TryRegisterTransitiveTypesForMethodGen(dictionarySpec.
ElementTypeRef
) &&
164
if (_typeIndex.GetTypeSpec(collectionSpec.
ElementTypeRef
) is ComplexTypeSpec)
169
return TryRegisterTransitiveTypesForMethodGen(collectionSpec.
ElementTypeRef
) &&
Specs\TypeIndex.cs (4)
27
CollectionSpec collectionSpec => CanBindTo(collectionSpec.
ElementTypeRef
),
41
DictionarySpec dictSpec => KeyIsSupported(dictSpec) && CanBindTo(dictSpec.
ElementTypeRef
),
56
return GetEffectiveTypeSpec(typeSpec.
ElementTypeRef
) switch
123
string elementTypeFQN = type.
ElementTypeRef
.FullyQualifiedName;