/// <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));
 }
예제 #2
0
 /// <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));
 }