protected internal override Expression VisitBlock(BlockCSharpExpression node)
        {
            var args = new List <object>();

            if (node.Variables.Count > 0)
            {
                args.Add(Visit(nameof(node.Variables), node.Variables));
            }

            args.Add(Visit(nameof(node.Statements), node.Statements));

            if (node.ReturnLabel != null)
            {
                args.Add(new XElement(nameof(node.ReturnLabel), _parent.GetDebugView(node.ReturnLabel)));
            }

            return(Push(node, args));
        }
 protected internal virtual Expression VisitBlock(BlockCSharpExpression node)
 {
     return(node.Update(VisitAndConvert(node.Variables, nameof(VisitBlock)), Visit(node.Statements), VisitLabelTarget(node.ReturnLabel)));
 }
 public BlockCSharpExpressionProxy(BlockCSharpExpression node)
 {
     _node = node;
 }
 protected internal virtual Expression VisitBlock(BlockCSharpExpression node)
 {
     return node.Update(VisitAndConvert(node.Variables, nameof(VisitBlock)), Visit(node.Statements), VisitLabelTarget(node.ReturnLabel));
 }
 public BlockCSharpExpressionProxy(BlockCSharpExpression node)
 {
     _node = node;
 }