예제 #1
0
 static public IntPtr GetFunctionPointer(this MethodBase method)
 {
     return(method.MethodHandle().GetFunctionPointer());
 }
예제 #2
0
 static internal void Prepare(this MethodBase method)
 {
     RuntimeHelpers.PrepareMethod(method.MethodHandle());
 }