Class StackImbalanceException
The exception that is thrown when an inconsistency in the size of the stack was detected. Typically this exception occurs when two or more converging control flow paths have inconsistent stack sizes, or when either an insufficient or excessive amount of values were pushed onto the stack.
public class StackImbalanceException : Exception, ISerializable
- Inheritance
-
StackImbalanceException
- Implements
- Inherited Members
Constructors
StackImbalanceException()
Creates a new stack imbalance exception.
public StackImbalanceException()
StackImbalanceException(long)
Creates a new stack imbalance exception.
public StackImbalanceException(long offset)
Parameters
offsetlongThe offset where the stack inconsistency was detected.
StackImbalanceException(string)
Creates a new stack imbalance exception.
public StackImbalanceException(string message)
Parameters
messagestringThe message of the error that occured.
StackImbalanceException(string, Exception)
Creates a new stack imbalance exception.
public StackImbalanceException(string message, Exception innerException)
Parameters
messagestringThe message of the error that occured.
innerExceptionExceptionThe inner cause of the exception.
Properties
Offset
Gets the offset where the stack inconsistency was detected.
public long Offset { get; }