Skip to content
Concord

Class ConcordEmitException

Namespace
Concord.Emit
Assembly
Concord.Emit.dll

Exception thrown when Concord cannot compose a wrapper for a target method.

public sealed class ConcordEmitException : Exception, ISerializable
Inheritance
ConcordEmitException
Implements
Inherited Members

Constructors

ConcordEmitException(string, string)

Initializes a new emit exception with a stable diagnostic code.

public ConcordEmitException(string code, string message)

Parameters

code string

The Concord diagnostic code, such as CONC012.

message string

The human-readable error message.

Properties

Code

Gets the stable Concord diagnostic code for this failure.

public string Code { get; }

Property Value

string