Table of Contents

Class ThrowErrorListener

Namespace
AsmResolver
Assembly
AsmResolver.dll

Provides a singleton implementation for the IErrorListener interface, that throws every reported exception.

public sealed class ThrowErrorListener : IErrorListener
Inheritance
ThrowErrorListener
Implements
Inherited Members
Extension Methods

Properties

Instance

Gets the singleton instance of the ThrowErrorListener class.

public static ThrowErrorListener Instance { get; }

Property Value

ThrowErrorListener

Methods

MarkAsFatal()

Marks the process to have failed.

public void MarkAsFatal()

RegisterException(Exception)

Registers an error.

public void RegisterException(Exception exception)

Parameters

exception Exception

The error.