public MethodInstr (PEAPI.MethodOp op, BaseMethodRef operand, Location loc) : base (loc) { this.op = op; this.operand = operand; if (op == PEAPI.MethodOp.newobj || op == PEAPI.MethodOp.callvirt) operand.CallConv |= PEAPI.CallConv.Instance; }
public MethodInstr(PEAPI.MethodOp op, BaseMethodRef operand, Location loc) : base(loc) { this.op = op; this.operand = operand; if (op == PEAPI.MethodOp.newobj || op == PEAPI.MethodOp.callvirt) { operand.CallConv |= PEAPI.CallConv.Instance; } }