C# Class Mono.Cecil.Fluent.Analyzer.InstructionExtensions

Afficher le fichier Open project: mwoelk83/Mono.Cecil.Fluent

Méthodes publiques

Méthode 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.

Private Methods

Méthode Description
InstructionExtensions ( ) : System

Method Details

GetPopCount() public static méthode

Get the number of values removed on the stack for this instruction.
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.
Résultat int

GetPushCount() public static méthode

Get the number of values placed on the stack by this instruction.
public static GetPushCount ( this self ) : int
self this The Instruction on which the extension method can be called.
Résultat int