14 references to ServiceLookupHelpers
Microsoft.Extensions.DependencyInjection (14)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (7)
36
Expression.Call(ScopeParameter,
ServiceLookupHelpers
.CaptureDisposableMethodInfo, CaptureDisposableParameter),
124
return
ServiceLookupHelpers
.GetArrayEmptyMethodInfo(elementType);
225
ServiceLookupHelpers
.ResolveCallSiteAndScopeMethodInfo,
239
ServiceLookupHelpers
.TryGetValueMethodInfo,
251
ServiceLookupHelpers
.AddMethodInfo,
274
MethodCallExpression monitorEnter = Expression.Call(
ServiceLookupHelpers
.MonitorEnterMethodInfo, sync, lockWasTaken);
275
MethodCallExpression monitorExit = Expression.Call(
ServiceLookupHelpers
.MonitorExitMethodInfo, sync);
ServiceLookup\ILEmit\ILEmitResolverBuilder.cs (7)
214
argument.Generator.Emit(OpCodes.Call,
ServiceLookupHelpers
.GetArrayEmptyMethodInfo(enumerableCallSite.ItemType));
258
argument.Generator.Emit(OpCodes.Call,
ServiceLookupHelpers
.InvokeFactoryMethodInfo);
376
context.Generator.Emit(OpCodes.Call,
ServiceLookupHelpers
.MonitorEnterMethodInfo);
385
context.Generator.Emit(OpCodes.Callvirt,
ServiceLookupHelpers
.TryGetValueMethodInfo);
410
context.Generator.Emit(OpCodes.Callvirt,
ServiceLookupHelpers
.AddMethodInfo);
423
context.Generator.Emit(OpCodes.Call,
ServiceLookupHelpers
.MonitorExitMethodInfo);
456
argument.Generator.Emit(OpCodes.Callvirt,
ServiceLookupHelpers
.CaptureDisposableMethodInfo);