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