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.");
}
}
}