Table of Contents

Class IrInstruction.IsNull

Namespace
MuLang.IR
Assembly
MuLang.IR.dll

Tests whether a value is null.

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

Constructors

IsNull(TextSpan, int, int)

Tests whether a value is null.

public IsNull(TextSpan Span, int Destination, int Source)

Parameters

Span TextSpan

The source span.

Destination int

The destination slot.

Source int

The source slot.

Properties

Destination

The destination slot.

public int Destination { get; init; }

Property Value

int

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Source

The source slot.

public int Source { get; init; }

Property Value

int

Methods

Deconstruct(out TextSpan, out int, out int)

public void Deconstruct(out TextSpan Span, out int Destination, out int Source)

Parameters

Span TextSpan
Destination int
Source int

Equals(IrInstruction?)

public override sealed bool Equals(IrInstruction? other)

Parameters

other IrInstruction

Returns

bool

Equals(IsNull?)

public bool Equals(IrInstruction.IsNull? other)

Parameters

other IrInstruction.IsNull

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

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

Parameters

left IrInstruction.IsNull
right IrInstruction.IsNull

Returns

bool

operator !=(IsNull?, IsNull?)

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

Parameters

left IrInstruction.IsNull
right IrInstruction.IsNull

Returns

bool