Boo.Lang.Compiler.Ast.AstUtil.IsAssignmentOperator C# (CSharp) Метод

IsAssignmentOperator() публичный статический Метод

public static IsAssignmentOperator ( BinaryOperatorType op ) : bool
op BinaryOperatorType
Результат 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;
        }