Skip to content

WeaverExceptionFilterHandler Class

An exception handler with a catch block with a filter.

C#
public sealed class WeaverExceptionFilterHandler : WeaverExceptionCatchHandler, IWeaverExceptionHandler

Inheritance objectWeaverExceptionCatchHandler

Implements IWeaverExceptionHandler

This will get translated into a Mono.Cecil ExceptionHandler block when applied.

WeaverExceptionFilterHandler(TypeReference)

Section titled “WeaverExceptionFilterHandler(TypeReference)”

An exception handler with a catch block with a filter.

C#
public WeaverExceptionFilterHandler(TypeReference catchType)

catchType TypeReference
The type of exceptions to catch.

This will get translated into a Mono.Cecil ExceptionHandler block when applied.

Inclusive filter start instruction for a catch block with a filter.

C#
public ILLabel? FilterStart { get; set; }