Table of Contents

Class IrInstruction.RemoveElementProperty

Namespace
MuLang.IR
Assembly
MuLang.IR.dll

Removes a dynamically named object property.

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

Constructors

RemoveElementProperty(TextSpan, int, int)

Removes a dynamically named object property.

public RemoveElementProperty(TextSpan Span, int Target, int Key)

Parameters

Span TextSpan

The source span.

Target int

The target slot.

Key int

The property-name slot.

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Key

The property-name slot.

public int Key { get; init; }

Property Value

int

Target

The target slot.

public int Target { get; init; }

Property Value

int

Methods

Deconstruct(out TextSpan, out int, out int)

public void Deconstruct(out TextSpan Span, out int Target, out int Key)

Parameters

Span TextSpan
Target int
Key int

Equals(IrInstruction?)

public override sealed bool Equals(IrInstruction? other)

Parameters

other IrInstruction

Returns

bool

Equals(RemoveElementProperty?)

public bool Equals(IrInstruction.RemoveElementProperty? other)

Parameters

other IrInstruction.RemoveElementProperty

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RemoveElementProperty?, RemoveElementProperty?)

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

Parameters

left IrInstruction.RemoveElementProperty
right IrInstruction.RemoveElementProperty

Returns

bool

operator !=(RemoveElementProperty?, RemoveElementProperty?)

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

Parameters

left IrInstruction.RemoveElementProperty
right IrInstruction.RemoveElementProperty

Returns

bool