Table of Contents

Class IrInstruction.ObjectPropertyValue

Namespace
MuLang.IR
Assembly
MuLang.IR.dll

Associates an object property name with its value slot.

public sealed record IrInstruction.ObjectPropertyValue : IEquatable<IrInstruction.ObjectPropertyValue>
Inheritance
IrInstruction.ObjectPropertyValue
Implements
Inherited Members

Constructors

ObjectPropertyValue(string, int)

Associates an object property name with its value slot.

public ObjectPropertyValue(string Name, int Value)

Parameters

Name string

The property name.

Value int

The value slot.

Properties

Name

The property name.

public string Name { get; init; }

Property Value

string

Value

The value slot.

public int Value { get; init; }

Property Value

int

Methods

Deconstruct(out string, out int)

public void Deconstruct(out string Name, out int Value)

Parameters

Name string
Value int

Equals(ObjectPropertyValue?)

public bool Equals(IrInstruction.ObjectPropertyValue? other)

Parameters

other IrInstruction.ObjectPropertyValue

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 ==(ObjectPropertyValue?, ObjectPropertyValue?)

public static bool operator ==(IrInstruction.ObjectPropertyValue? left, IrInstruction.ObjectPropertyValue? right)

Parameters

left IrInstruction.ObjectPropertyValue
right IrInstruction.ObjectPropertyValue

Returns

bool

operator !=(ObjectPropertyValue?, ObjectPropertyValue?)

public static bool operator !=(IrInstruction.ObjectPropertyValue? left, IrInstruction.ObjectPropertyValue? right)

Parameters

left IrInstruction.ObjectPropertyValue
right IrInstruction.ObjectPropertyValue

Returns

bool