Table of Contents

Method GetMethodHandle

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

GetMethodHandle(MethodBase)

Portably gets the RuntimeMethodHandle for a given MethodBase.
RuntimeMethodHandle GetMethodHandle(MethodBase method)

Parameters

method MethodBase

Returns

RuntimeMethodHandle

Remarks

This method must always be implemented. For simple cases, its implementation can be just a call to MethodHandle, however most runtimes have edge cases which that is not well-behaved for.