public static InvocationDelegate CreateInvocationDelegate(MethodInfo method) { if (method == null) { throw new ArgumentNullException(nameof(method)); } return(m_Cache4b.GetOrAdd(method, x => InternalAccelerator.CreateInvocationDelegate(method))); }
public static Func2 CreateFunction2(MethodInfo method) { if (method == null) { throw new ArgumentNullException(nameof(method)); } return(m_Cache3b.GetOrAdd(method, x => InternalAccelerator.CreateFunction2(method))); }
public static InvocationDelegate CreateInvocationDelegate(ConstructorInfo constructor) { if (constructor == null) { throw new ArgumentNullException(nameof(constructor)); } return(m_Cache4a.GetOrAdd(constructor, x => InternalAccelerator.CreateInvocationDelegate(constructor))); }
public static Action1 CreateAction1(MethodInfo method) { if (method == null) { throw new ArgumentNullException(nameof(method)); } return(m_Cache2a.GetOrAdd(method, x => InternalAccelerator.CreateAction1(method))); }
public static Func0 CreateStandardConstructor(Type type) { if (type == null) { throw new ArgumentNullException(nameof(type)); } return(m_Cache1a.GetOrAdd(type, x => InternalAccelerator.CreateStandardConstructor(type))); }
public static Func0 CreateStandardConstructor(ConstructorInfo constructor) { if (constructor == null) { throw new ArgumentNullException(nameof(constructor)); } return(m_Cache1b.GetOrAdd(constructor, x => InternalAccelerator.CreateStandardConstructor(constructor))); }
public static Action2 CreateInstanceSetter(FieldInfo field) { if (field == null) { throw new ArgumentNullException(nameof(field)); } return(m_Cache6b.GetOrAdd(field, x => InternalAccelerator.CreateInstanceSetter(field))); }
public static Func0 CreateStaticGetter(FieldInfo field) { if (field == null) { throw new ArgumentNullException(nameof(field)); } return(m_Cache5a.GetOrAdd(field, x => InternalAccelerator.CreateStaticGetter(field))); }