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