Table of Contents

Class IrExceptionProtectedRegion

Namespace
MuLang.IR
Assembly
MuLang.IR.dll

Represents the protected component of an exception region.

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

Constructors

IrExceptionProtectedRegion(int, IReadOnlyCollection<int>)

Represents the protected component of an exception region.

public IrExceptionProtectedRegion(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(IrExceptionProtectedRegion?)

public bool Equals(IrExceptionProtectedRegion? other)

Parameters

other IrExceptionProtectedRegion

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

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

Parameters

left IrExceptionProtectedRegion
right IrExceptionProtectedRegion

Returns

bool

operator !=(IrExceptionProtectedRegion?, IrExceptionProtectedRegion?)

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

Parameters

left IrExceptionProtectedRegion
right IrExceptionProtectedRegion

Returns

bool