WeaverExceptionCatchHandler Class
Definition
Section titled “Definition”An exception handler with a catch block.
public class WeaverExceptionCatchHandler : IWeaverExceptionHandlerInheritance object
Implements IWeaverExceptionHandler
Remarks
Section titled “Remarks”This will get translated into a Mono.Cecil ExceptionHandler block when applied.
Constructors
Section titled “Constructors”WeaverExceptionCatchHandler(TypeReference)
Section titled “WeaverExceptionCatchHandler(TypeReference)”An exception handler with a catch block.
public WeaverExceptionCatchHandler(TypeReference catchType)Parameters
Section titled “Parameters”catchType TypeReference
The type of exceptions to catch.
Remarks
Section titled “Remarks”This will get translated into a Mono.Cecil ExceptionHandler block when applied.
Properties
Section titled “Properties”CatchType
Section titled “CatchType”The type of exception to catch.
public TypeReference CatchType { get; }TryStart
Section titled “TryStart”Inclusive start ILLabel for Try block.
public ILLabel? TryStart { get; set; }TryEnd
Section titled “TryEnd”Inclusive try end ILLabel for Try block.
public ILLabel? TryEnd { get; set; }HandlerStart
Section titled “HandlerStart”Inclusive catch start ILLabel for Catch block.
public ILLabel? HandlerStart { get; set; }HandlerEnd
Section titled “HandlerEnd”Inclusive catch end ILLabel for Catch block.
public ILLabel? HandlerEnd { get; set; }