protected virtual async Task <IList <TextChange>?> GetFormattingChangesOnReturnAsync( IFormattingInteractionService formattingService, Document document, int position, DocumentOptionSet documentOptions, CancellationToken cancellationToken) => await formattingService.GetFormattingChangesOnReturnAsync(document, position, documentOptions, cancellationToken).ConfigureAwait(false);
protected virtual Task <ImmutableArray <TextChange> > GetFormattingChangesAsync( IFormattingInteractionService formattingService, Document document, TextSpan?textSpan, DocumentOptionSet documentOptions, CancellationToken cancellationToken) => formattingService.GetFormattingChangesAsync(document, textSpan, documentOptions, cancellationToken);