static bool checkStloc(IList <VariableDefinition> locals, Instr instr, VariableDefinition local) { if (!instr.isStloc()) { return(false); } if (Instr.getLocalVar(locals, instr) != local) { return(false); } return(true); }
static bool checkStloc(IList <Local> locals, Instr instr, Local local) { if (!instr.isStloc()) { return(false); } if (Instr.getLocalVar(locals, instr) != local) { return(false); } return(true); }