Table of Contents

Struct IrSlotAttributeTarget

Namespace
MuLang.IR
Assembly
MuLang.IR.dll

Identifies a function-local IR slot attribute target.

public readonly struct IrSlotAttributeTarget : IEquatable<IrSlotAttributeTarget>
Implements
Inherited Members

Constructors

IrSlotAttributeTarget(string, int)

Identifies a function-local IR slot attribute target.

public IrSlotAttributeTarget(string FunctionId, int SlotId)

Parameters

FunctionId string

The containing function identifier.

SlotId int

The function-local slot identifier.

Properties

FunctionId

The containing function identifier.

public string FunctionId { get; init; }

Property Value

string

SlotId

The function-local slot identifier.

public int SlotId { get; init; }

Property Value

int

Methods

Deconstruct(out string, out int)

public void Deconstruct(out string FunctionId, out int SlotId)

Parameters

FunctionId string
SlotId int

Equals(IrSlotAttributeTarget)

public bool Equals(IrSlotAttributeTarget other)

Parameters

other IrSlotAttributeTarget

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(IrSlotAttributeTarget, IrSlotAttributeTarget)

public static bool operator ==(IrSlotAttributeTarget left, IrSlotAttributeTarget right)

Parameters

left IrSlotAttributeTarget
right IrSlotAttributeTarget

Returns

bool

operator !=(IrSlotAttributeTarget, IrSlotAttributeTarget)

public static bool operator !=(IrSlotAttributeTarget left, IrSlotAttributeTarget right)

Parameters

left IrSlotAttributeTarget
right IrSlotAttributeTarget

Returns

bool