public override BoundNode VisitDelegateCreationExpression(BoundDelegateCreationExpression node)
            {
                if (node.MethodOpt?.MethodKind == MethodKind.LocalFunction)
                {
                    BoundExpression receiver;
                    MethodSymbol    method;
                    var             arguments = default(ImmutableArray <BoundExpression>);
                    _lambdaRewriter.RemapLocalFunction(
                        node.Syntax,
                        node.MethodOpt,
                        out receiver,
                        out method,
                        ref arguments);

                    var newType = _lambdaRewriter.VisitType(node.Type);

                    return(new BoundDelegateCreationExpression(
                               node.Syntax, receiver, method, isExtensionMethod: false, type: newType));
                }

                return(base.VisitDelegateCreationExpression(node));
            }