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
CilMethodBodyThe method body in which the inconsistency was detected.
offset
intThe 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
Offset
Gets the offset at which the inconsistency was detected.
public int Offset { get; }