메소드 | 설명 | |
---|---|---|
ApplyLocalVariableTranslation ( this instruction, int translate, IEnumerable |
Examines the instruction and, if it accesses a local variable, provides a new version that translates the access by the given count. If the instruction does not reference a local variable or if the translation is zero, then the original instruction will be returned. Likewise, if the instruction operand is a VariableDefinition and the translation doesn't cause the opcode to change (e.g. from stloc_S to stloc), then the original instruction is returned. |
|
CloneAll ( object>.this |
Invokes clone on each item
|
|
IsLoadVariableAddressOpCode ( this code ) : bool |
Determines whether in instruction opcode loads a variable address.
|
|
IsLoadVariableOpCode ( this code ) : bool |
Determines whether in instruction opcode loads a variable.
|
|
IsStoreVariableOpCode ( this code ) : bool |
Determines whether in instruction opcode stores a variable.
|
|
TryGetVariableIndex ( this instruction, int &variableIndex ) : bool |
Tries to find the index of a variable referenced by an instruction, if any.
|
메소드 | 설명 | |
---|---|---|
IsNestedWithin ( this type, Mono.Cecil.TypeDefinition possibleAncestorType ) : bool | ||
SignatureEquals ( this target, |
public static ApplyLocalVariableTranslation ( this instruction, int translate, IEnumerable |
||
instruction | this | Instruction to look at. |
translate | int | How to translate the referenced parameter, if any is referenced. Negative is a left translation, and positive is right. |
variables | IEnumerable |
Collection of variables that may be referenced. |
리턴 |
public static IsLoadVariableAddressOpCode ( this code ) : bool | ||
code | this | OpCode's CIL code |
리턴 | bool |
public static IsLoadVariableOpCode ( this code ) : bool | ||
code | this | OpCode's CIL code |
리턴 | bool |
public static IsStoreVariableOpCode ( this code ) : bool | ||
code | this | OpCode's CIL code |
리턴 | bool |
public static TryGetVariableIndex ( this instruction, int &variableIndex ) : bool | ||
instruction | this | Instruction to examine. |
variableIndex | int | Index to populate, if found. |
리턴 | bool |