Table of Contents

Enum TypeClassification

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll
The ABI classification of a type.
public enum TypeClassification
Extension Methods

Fields

InRegister = 0
The type is passed by value in a register.
ByReference = 1
The type is passed by reference.
OnStack = 2
The type is passed by value on the stack.

On Windows's AMD64 ABI, parameters are never passed OnStack. They are either passed InRegister or ByReference.

Return values are never passed OnStack, and a classifier should never return OnStack for a return classification.

See Also