Table of Contents

Class IrExceptionCleanup

Namespace
MuLang.IR
Assembly
MuLang.IR.dll

Represents the cleanup component of an exception region.

public sealed record IrExceptionCleanup : IEquatable<IrExceptionCleanup>
Inheritance
IrExceptionCleanup
Implements
Inherited Members

Constructors

IrExceptionCleanup(int, IReadOnlyCollection<int>)

Represents the cleanup component of an exception region.

public IrExceptionCleanup(int EntryBlock, IReadOnlyCollection<int> Blocks)

Parameters

EntryBlock int

The component entry block identifier.

Blocks IReadOnlyCollection<int>

The directly owned block identifiers.

Properties

Blocks

The directly owned block identifiers.

public IReadOnlyCollection<int> Blocks { get; init; }

Property Value

IReadOnlyCollection<int>

EntryBlock

The component entry block identifier.

public int EntryBlock { get; init; }

Property Value

int

Methods

Deconstruct(out int, out IReadOnlyCollection<int>)

public void Deconstruct(out int EntryBlock, out IReadOnlyCollection<int> Blocks)

Parameters

EntryBlock int
Blocks IReadOnlyCollection<int>

Equals(IrExceptionCleanup?)

public bool Equals(IrExceptionCleanup? other)

Parameters

other IrExceptionCleanup

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

public static bool operator ==(IrExceptionCleanup? left, IrExceptionCleanup? right)

Parameters

left IrExceptionCleanup
right IrExceptionCleanup

Returns

bool

operator !=(IrExceptionCleanup?, IrExceptionCleanup?)

public static bool operator !=(IrExceptionCleanup? left, IrExceptionCleanup? right)

Parameters

left IrExceptionCleanup
right IrExceptionCleanup

Returns

bool