/// <summary> /// Creates a new thunk type (and related dispatcher and inner delegate types) for the specified delegate type. /// </summary> /// <param name="delegateType">The delegate for which create a thunk type.</param> /// <returns>A newly created thunk type.</returns> protected override Type CreateThunkType(Type delegateType) { return(RuntimeTypeFactory.CreateThunkType(delegateType, ThunkBehavior.TieredCompilation)); }
/// <summary> /// Creates a new thunk type (and related dispatcher and inner delegate types) for the specified delegate type. /// </summary> /// <param name="delegateType">The delegate for which create a thunk type.</param> /// <returns>A newly created thunk type.</returns> protected override Type CreateThunkType(Type delegateType) { return(RuntimeTypeFactory.CreateThunkType(delegateType, ThunkBehavior.Interpreting)); }