Table of Contents

Class StackImbalanceException

Namespace
AsmResolver.DotNet.Code.Cil
Assembly
AsmResolver.DotNet.dll

Represents the exception that occurs when an inconsistency was detected during a stack analysis.

public class StackImbalanceException : Exception, ISerializable
Inheritance
StackImbalanceException
Implements
Inherited Members

Constructors

StackImbalanceException(CilMethodBody, int)

Creates a new instance of the StackImbalanceException class.

public StackImbalanceException(CilMethodBody body, int offset)

Parameters

body CilMethodBody

The method body in which the inconsistency was detected.

offset int

The offset at which the inconsistency was detected.

Properties

Body

Gets the method body in which the inconsistency was detected.

public CilMethodBody Body { get; }

Property Value

CilMethodBody

Offset

Gets the offset at which the inconsistency was detected.

public int Offset { get; }

Property Value

int