Method GetNativeMethodBody
GetNativeMethodBody(MethodBase, RuntimeMethodHandle)
Gets the native method body for a method.
public nint GetNativeMethodBody(MethodBase method, RuntimeMethodHandle handle = default)
Parameters
methodMethodBase- The method to get the body of.
handleRuntimeMethodHandle- The RuntimeMethodHandle of the variant of
methodto get the native body of.
Returns
- nint
- A pointer to the native method body of the method.