1 write to ItemType
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\IEnumerableCallSite.cs (1)
20ItemType = itemType;
10 references to ItemType
Microsoft.Extensions.DependencyInjection (10)
CallSiteJsonFormatter.cs (1)
86argument.WriteProperty("itemType", enumerableCallSite.ItemType);
ServiceLookup\CallSiteRuntimeResolver.cs (1)
166enumerableCallSite.ItemType,
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (3)
138GetArrayEmptyMethodInfo(callSite.ItemType) 143callSite.ItemType, 147callSite.ItemType)));
ServiceLookup\IEnumerableCallSite.cs (2)
27public override Type ServiceType => typeof(IEnumerable<>).MakeGenericType(ItemType); 32public override Type ImplementationType => ItemType.MakeArrayType();
ServiceLookup\ILEmit\ILEmitResolverBuilder.cs (3)
214argument.Generator.Emit(OpCodes.Call, ServiceLookupHelpers.GetArrayEmptyMethodInfo(enumerableCallSite.ItemType)); 223argument.Generator.Emit(OpCodes.Newarr, enumerableCallSite.ItemType); 239argument.Generator.Emit(OpCodes.Stelem, enumerableCallSite.ItemType);