Boo.Lang.Compiler.Ast.AstUtil.IsAssignmentOperator C# (CSharp) Method

IsAssignmentOperator() public static method

public static IsAssignmentOperator ( BinaryOperatorType op ) : bool
op BinaryOperatorType
return bool
        public static bool IsAssignmentOperator(BinaryOperatorType op)
        {
            return BinaryOperatorType.Assign == op ||
                    BinaryOperatorType.InPlaceAddition == op ||
                    BinaryOperatorType.InPlaceSubtraction == op ||
                    BinaryOperatorType.InPlaceMultiply == op ||
                    BinaryOperatorType.InPlaceDivision == op ||
                    BinaryOperatorType.InPlaceModulus == op ||
                    BinaryOperatorType.InPlaceBitwiseAnd == op ||
                    BinaryOperatorType.InPlaceBitwiseOr == op ||
                    BinaryOperatorType.InPlaceExclusiveOr == op ||
                    BinaryOperatorType.InPlaceShiftLeft == op ||
                    BinaryOperatorType.InPlaceShiftRight == op;
        }