Class ExceptionBlock
- Namespace
- Concord
- Assembly
- Concord.Emit.dll
An exception-handling boundary attached to a CodeInstruction. Member names are lowercase to match Harmony so migrating transpiler bodies compile unchanged; do not rename them to house style.
public sealed class ExceptionBlock
- Inheritance
-
ExceptionBlock
- Inherited Members
Constructors
ExceptionBlock(ExceptionBlockType, Type?)
Creates an exception block boundary.
public ExceptionBlock(ExceptionBlockType blockType, Type? catchType = null)
Parameters
blockTypeExceptionBlockTypeThe kind of boundary.
catchTypeTypeThe caught type, for BeginCatchBlock.
Properties
blockType
The kind of boundary this marks.
public ExceptionBlockType blockType { get; set; }
Property Value
catchType
The caught type, when this is a typed catch boundary.
public Type? catchType { get; set; }