Class PEImageBuildContext
- Namespace
- AsmResolver.DotNet.Builder
- Assembly
- AsmResolver.DotNet.dll
Provides a context in which a PE image construction takes place in.
public class PEImageBuildContext
- Inheritance
-
PEImageBuildContext
- Inherited Members
Constructors
PEImageBuildContext()
Creates a new empty build context.
public PEImageBuildContext()
PEImageBuildContext(DiagnosticBag)
Creates a new build context.
public PEImageBuildContext(DiagnosticBag diagnosticBag)
Parameters
diagnosticBag
DiagnosticBagThe diagnostic bag to use.
PEImageBuildContext(IErrorListener)
Creates a new build context.
public PEImageBuildContext(IErrorListener errorListener)
Parameters
errorListener
IErrorListenerThe diagnostic bag to use.
Properties
DiagnosticBag
Gets the bag that collects all diagnostic information during the building process.
[Obsolete("Use ErrorListener instead.")]
public DiagnosticBag? DiagnosticBag { get; }
Property Value
ErrorListener
Gets the error listener that handles all diagnostic information during the building process.
public IErrorListener ErrorListener { get; }