Class IrExceptionCleanup
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
EntryBlockintThe component entry block identifier.
BlocksIReadOnlyCollection<int>The directly owned block identifiers.
Properties
Blocks
The directly owned block identifiers.
public IReadOnlyCollection<int> Blocks { get; init; }
Property Value
EntryBlock
The component entry block identifier.
public int EntryBlock { get; init; }
Property Value
Methods
Deconstruct(out int, out IReadOnlyCollection<int>)
public void Deconstruct(out int EntryBlock, out IReadOnlyCollection<int> Blocks)
Parameters
EntryBlockintBlocksIReadOnlyCollection<int>
Equals(IrExceptionCleanup?)
public bool Equals(IrExceptionCleanup? other)
Parameters
otherIrExceptionCleanup
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(IrExceptionCleanup?, IrExceptionCleanup?)
public static bool operator ==(IrExceptionCleanup? left, IrExceptionCleanup? right)
Parameters
leftIrExceptionCleanuprightIrExceptionCleanup
Returns
operator !=(IrExceptionCleanup?, IrExceptionCleanup?)
public static bool operator !=(IrExceptionCleanup? left, IrExceptionCleanup? right)
Parameters
leftIrExceptionCleanuprightIrExceptionCleanup