ABT.BinaryOpSupportingArithmeticOperands.BinaryOpSupportingArithmeticOperands C# (CSharp) Method

BinaryOpSupportingArithmeticOperands() protected method

protected BinaryOpSupportingArithmeticOperands ( Expr left, Expr right ) : System
left Expr
right Expr
return System
        protected BinaryOpSupportingArithmeticOperands(Expr left, Expr right)
            : base(left, right) {
            if (!(left.Type is LongType || left.Type is ULongType
                  || left.Type is FloatType || left.Type is DoubleType)) {
                throw new InvalidOperationException("Only support long, ulong, float, double.");
            }
        }
    }