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)
685TypeRef elementTypeRef = type.ElementTypeRef; 686string elementTypeFQN = type.ElementTypeRef.FullyQualifiedName; 708EmitBindingLogicForEnumerableWithAdd(type.ElementTypeRef, instanceIdentifier); 772TypeSpec elementType = _typeIndex.GetEffectiveTypeSpec(type.ElementTypeRef); 1112_writer.WriteLine($"{memberAccessExpr} = global::System.{Identifier.Array}.Empty<{((CollectionSpec)complexType).ElementTypeRef.FullyQualifiedName}>();");
Specs\BindingHelperInfo.cs (3)
139TryRegisterTransitiveTypesForMethodGen(dictionarySpec.ElementTypeRef) && 154if (_typeIndex.GetTypeSpec(collectionSpec.ElementTypeRef) is ComplexTypeSpec) 159return TryRegisterTransitiveTypesForMethodGen(collectionSpec.ElementTypeRef) &&
Specs\TypeIndex.cs (4)
27CollectionSpec collectionSpec => CanBindTo(collectionSpec.ElementTypeRef), 35DictionarySpec dictSpec => KeyIsSupported(dictSpec) && CanBindTo(dictSpec.ElementTypeRef), 36CollectionSpec collectionSpec => CanBindTo(collectionSpec.ElementTypeRef), 99string elementTypeFQN = type.ElementTypeRef.FullyQualifiedName;