public override BoundNode VisitDeconstructionAssignmentOperator(BoundDeconstructionAssignmentOperator node)
        {
            var right = node.Right;

            Debug.Assert(right.Conversion.Kind == ConversionKind.Deconstruction);

            return(RewriteDeconstruction(node.Left, right.Conversion, right.Operand, node.IsUsed));
        }
示例#2
0
        public override BoundNode VisitDeconstructionAssignmentOperator(BoundDeconstructionAssignmentOperator node)
        {
            if (!node.HasAnyErrors)
            {
                CheckForDeconstructionAssignmentToSelf((BoundTupleLiteral)node.Left, node.Right);
            }

            return(base.VisitDeconstructionAssignmentOperator(node));
        }
 public override BoundNode VisitDeconstructionAssignmentOperator(BoundDeconstructionAssignmentOperator node)
 {
     _mightAssignSomething = true;
     return(null);
 }