Table of Contents

Method GetMethodAbi

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

GetMethodAbi(MethodAbiUsage, MethodBase, RuntimeMethodHandle)

Gets the MethodAbi for the method variant identified by handle.
public MethodAbi GetMethodAbi(MethodAbiUsage usage, MethodBase method, RuntimeMethodHandle handle = default)

Parameters

usage MethodAbiUsage
The MethodAbiUsage indicating which method usage to consider.
method MethodBase
The MethodBase of the method.
handle RuntimeMethodHandle
The RuntimeMethodHandle of the variant to use, if it is not the default.

Returns

MethodAbi
The MethodAbi of that method variant.

Remarks

handle MUST be a valid handle corresponding to method.

See Also

GetMethodAbi(MethodBase, MethodAbiFlags)

Gets the MethodAbi for method, assuming abiFlags are correct.
public MethodAbi GetMethodAbi(MethodBase method, MethodAbiFlags abiFlags)

Parameters

method MethodBase
The method to get the ABi of.
abiFlags MethodAbiFlags
The MethodAbiFlags to assume.

Returns

MethodAbi
The MethodAbi for method.

Remarks

See Also