public CodeCompoundAssignmentExpression(CodeExpression left, CodeCompoundAssignmentOperatorType op, CodeExpression right)
        {
            Ensure.That(nameof(left)).IsNotNull(left);
            Ensure.That(nameof(right)).IsNotNull(right);

            Left     = left;
            Operator = op;
            Right    = right;
        }
Esempio n. 2
0
 public static CodeCompoundAssignmentExpression CompoundAssign(this CodeExpression left, CodeCompoundAssignmentOperatorType op, CodeExpression right) => new CodeCompoundAssignmentExpression(left, op, right);