Table of Contents

Method GetNativeMethodBody

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll

GetNativeMethodBody(MethodBase, RuntimeMethodHandle)

Gets the native method body for a method.
public nint GetNativeMethodBody(MethodBase method, RuntimeMethodHandle handle = default)

Parameters

method MethodBase
The method to get the body of.
handle RuntimeMethodHandle
The RuntimeMethodHandle of the variant of method to get the native body of.

Returns

nint
A pointer to the native method body of the method.