Ejemplo n.º 1
0
                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;
                }
Ejemplo n.º 2
0
        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;
            }
        }