Table of Contents

Class MethodAbi

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll
A method's ABI signature.
public sealed class MethodAbi
Inheritance
MethodAbi

Constructors

MethodAbi(ReadOnlyMemory<AbiArgument>, Type, bool)
Constructs a MethodAbi.

Properties

AbiReturn
The ABI return type of the method. If the method returns nothing, typeof(void).
AbiReturnIsReturnBuffer
true if the ABI returns the return buffer parameter.
Arguments
The ABI arguments taken by the method.
AsyncContinuationArgument
The index of this method's async continuation argument, or -1 if it doesn't have one.
FirstUserArgument
The index of the first user argument, or -1 if there are no user arguments.
GenericContextArgument
The index of this method's generic context argument, or -1 if it doesn't have one.
ReturnBufferArgument
The index of this method's return buffer argument, or -1 if it doesn't have one.
ThisArgument
The index of this method's this argument, or -1 if it doesn't have one.
UserArgumentCount
The number of user arguments in this method ABI.

Methods

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