Class IrExceptionHandler
Represents the handler component of an exception region.
public sealed record IrExceptionHandler : IEquatable<IrExceptionHandler>
- Inheritance
-
IrExceptionHandler
- Implements
- Inherited Members
Constructors
IrExceptionHandler(int, IReadOnlyCollection<int>, int)
Represents the handler component of an exception region.
public IrExceptionHandler(int EntryBlock, IReadOnlyCollection<int> Blocks, int ErrorSlot)
Parameters
EntryBlockintThe component entry block identifier.
BlocksIReadOnlyCollection<int>The directly owned block identifiers.
ErrorSlotintThe read-only slot that receives the current error.
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
ErrorSlot
The read-only slot that receives the current error.
public int ErrorSlot { get; init; }
Property Value
Methods
Deconstruct(out int, out IReadOnlyCollection<int>, out int)
public void Deconstruct(out int EntryBlock, out IReadOnlyCollection<int> Blocks, out int ErrorSlot)
Parameters
EntryBlockintBlocksIReadOnlyCollection<int>ErrorSlotint
Equals(IrExceptionHandler?)
public bool Equals(IrExceptionHandler? other)
Parameters
otherIrExceptionHandler
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 ==(IrExceptionHandler?, IrExceptionHandler?)
public static bool operator ==(IrExceptionHandler? left, IrExceptionHandler? right)
Parameters
leftIrExceptionHandlerrightIrExceptionHandler
Returns
operator !=(IrExceptionHandler?, IrExceptionHandler?)
public static bool operator !=(IrExceptionHandler? left, IrExceptionHandler? right)
Parameters
leftIrExceptionHandlerrightIrExceptionHandler