3 writes to ElementTypeRef
Microsoft.Extensions.Configuration.Binder.SourceGeneration (3)
ConfigurationBindingGenerator.Parser.cs (3)
359
ElementTypeRef
= elementTypeRef,
446
ElementTypeRef
= elementTypeRef,
541
ElementTypeRef
= elementTypeRef,
12 references to ElementTypeRef
Microsoft.Extensions.Configuration.Binder.SourceGeneration (12)
Emitter\CoreBindingHelpers.cs (5)
680
TypeRef elementTypeRef = type.
ElementTypeRef
;
681
string elementTypeFQN = type.
ElementTypeRef
.FullyQualifiedName;
703
EmitBindingLogicForEnumerableWithAdd(type.
ElementTypeRef
, instanceIdentifier);
767
TypeSpec elementType = _typeIndex.GetEffectiveTypeSpec(type.
ElementTypeRef
);
988
_writer.WriteLine($"{memberAccessExpr} = global::System.{Identifier.Array}.Empty<{((CollectionSpec)complexType).
ElementTypeRef
.FullyQualifiedName}>();");
Specs\BindingHelperInfo.cs (3)
139
TryRegisterTransitiveTypesForMethodGen(dictionarySpec.
ElementTypeRef
) &&
154
if (_typeIndex.GetTypeSpec(collectionSpec.
ElementTypeRef
) is ComplexTypeSpec)
159
return TryRegisterTransitiveTypesForMethodGen(collectionSpec.
ElementTypeRef
) &&
Specs\TypeIndex.cs (4)
27
CollectionSpec collectionSpec => CanBindTo(collectionSpec.
ElementTypeRef
),
35
DictionarySpec dictSpec => KeyIsSupported(dictSpec) && CanBindTo(dictSpec.
ElementTypeRef
),
36
CollectionSpec collectionSpec => CanBindTo(collectionSpec.
ElementTypeRef
),
94
string elementTypeFQN = type.
ElementTypeRef
.FullyQualifiedName;