private static Task <Document> RemoveNewLinesFromAccessorListAsync(
            Document document,
            AccessorListSyntax accessorList,
            CancellationToken cancellationToken)
        {
            TextSpan span = TextSpan.FromBounds(
                accessorList.GetFirstToken().GetPreviousToken().Span.End,
                accessorList.CloseBraceToken.SpanStart);

            SyntaxNode newNode = accessorList.Parent
                                 .RemoveWhitespace(span)
                                 .WithFormatterAnnotation();

            return(document.ReplaceNodeAsync(accessorList.Parent, newNode, cancellationToken));
        }