Пример #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());
 }