Table of Contents

Struct StackSlot

Namespace
Echo.Platforms.AsmResolver.Emulation.Stack
Assembly
Echo.Platforms.AsmResolver.dll

Represents a single slot in the evaluation stack.

public readonly struct StackSlot
Inherited Members

Constructors

StackSlot(BitVector, StackSlotTypeHint)

Creates a new stack slot.

public StackSlot(BitVector contents, StackSlotTypeHint typeHint)

Parameters

contents BitVector

The value stored in the slot.

typeHint StackSlotTypeHint

A type hint indicating how this value was pushed.

Properties

Contents

Gets the value stored in the slot.

public BitVector Contents { get; }

Property Value

BitVector

TypeHint

Gets a type hint indicating how this value was pushed.

public StackSlotTypeHint TypeHint { get; }

Property Value

StackSlotTypeHint

Methods

ToString()

public override string ToString()

Returns

string