예제 #1
0
 // Returns the variable or null if it's not a ldloc/stloc instruction. It does not return
 // a local variable if it's a ldloca/ldloca.s instruction.
 public static VariableDefinition getLocalVar(IList <VariableDefinition> locals, Instr instr)
 {
     return(DotNetUtils.getLocalVar(locals, instr.Instruction));
 }
예제 #2
0
 public bool isConditionalBranch()
 {
     return(DotNetUtils.isConditionalBranch(OpCode.Code));
 }
예제 #3
0
 public bool isBrtrue()
 {
     return(DotNetUtils.isBrtrue(instruction));
 }
예제 #4
0
 public bool isLdloc()
 {
     return(DotNetUtils.isLdloc(instruction));
 }
예제 #5
0
 public int getLdcI4Value()
 {
     return(DotNetUtils.getLdcI4Value(instruction));
 }
예제 #6
0
 public bool isLdcI4()
 {
     return(DotNetUtils.isLdcI4(OpCode.Code));
 }