mirror of
https://github.com/AssetRipper/Cpp2IL.git
synced 2026-11-13 04:26:33 -10:00
15 lines
461 B
C#
15 lines
461 B
C#
namespace Cpp2IL.Core.ISIL;
|
|
|
|
// The address of a storage location, as produced by a lea of a stack slot.
|
|
// Normally this is a ref/out argument.
|
|
public class AddressOf(IOperand target) : IOperand
|
|
{
|
|
public IOperand Target = target;
|
|
|
|
public override bool Equals(object? obj) => obj is AddressOf other && Target.Equals(other.Target);
|
|
|
|
public override int GetHashCode() => Target.GetHashCode();
|
|
|
|
public override string ToString() => $"&{Target}";
|
|
}
|