Class AbiArgumentMap
A mapping which defines how arguments in one MethodAbi should be mapepd to arguments in another.
public sealed class AbiArgumentMap
- Inheritance
-
AbiArgumentMap
Constructors
- AbiArgumentMap(ReadOnlySpan<AbiArgumentMapElement>)
- Constructs an AbiArgumentMap from a set of AbiArgumentMapElements.
Properties
- Identity
- The identity mapping, matching each argument exactly, one-for-one.
- InstanceToStatic
- The mapping from an instance method to a static method with the first user argument being the this argument.
Methods
- MapArguments(MethodAbi, MethodAbi, Span<int>)
- Computes the actual argument mapping for a specific pair of ABIs according to this argument map.