Method | Description | |
---|---|---|
GetPopCount ( this self, MethodReference method, int currentstacksize ) : int |
Get the number of values removed on the stack for this instruction.
|
|
GetPushCount ( this self ) : int |
Get the number of values placed on the stack by this instruction.
|
Method | Description | |
---|---|---|
InstructionExtensions ( ) : System |
public static GetPopCount ( this self, MethodReference method, int currentstacksize ) : int | ||
self | this | The Instruction on which the extension method can be called. |
method | MethodReference | The method inside which the instruction comes from (needed for StackBehaviour.Varpop). |
currentstacksize | int | This method returns this value when stack behaviour is StackBehaviour.PopAll. |
return | int |
public static GetPushCount ( this self ) : int | ||
self | this | The Instruction on which the extension method can be called. |
return | int |