Files
Cpp2IL/Cpp2IL.Core/ISIL/StackOffset.cs

9 lines
242 B
C#

namespace Cpp2IL.Core.ISIL;
public struct StackOffset(int offset) : IOperand
{
public int Offset = offset;
public override string ToString() => $"stack[{(Offset < 0 ? ("-" + (-Offset).ToString("X")) : Offset.ToString("X"))}]";
}