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