static BinaryOperatorType GetEquivalentBinaryOperator(UnaryOperatorType op)
{
switch (op)
{
case UnaryOperatorType.PostIncrement:
case UnaryOperatorType.Increment:
return BinaryOperatorType.Addition;
case UnaryOperatorType.PostDecrement:
case UnaryOperatorType.Decrement:
return BinaryOperatorType.Subtraction;
}
throw new ArgumentException("op");
}