3 writes to ElementTypeRef
Microsoft.Extensions.Configuration.Binder.SourceGeneration (3)
ConfigurationBindingGenerator.Parser.cs (3)
359ElementTypeRef = elementTypeRef, 446ElementTypeRef = elementTypeRef, 541ElementTypeRef = elementTypeRef,
12 references to ElementTypeRef
Microsoft.Extensions.Configuration.Binder.SourceGeneration (12)
Emitter\CoreBindingHelpers.cs (5)
680TypeRef elementTypeRef = type.ElementTypeRef; 681string elementTypeFQN = type.ElementTypeRef.FullyQualifiedName; 703EmitBindingLogicForEnumerableWithAdd(type.ElementTypeRef, instanceIdentifier); 767TypeSpec elementType = _typeIndex.GetEffectiveTypeSpec(type.ElementTypeRef); 988_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), 94string elementTypeFQN = type.ElementTypeRef.FullyQualifiedName;