private static Expression HandleSingle(
     EntityQueryModelVisitor entityQueryModelVisitor, ChoiceResultOperatorBase choiceResultOperator)
     => CallWithPossibleCancellationToken(
         (choiceResultOperator.ReturnDefaultWhenEmpty
             ? entityQueryModelVisitor.LinqOperatorProvider.SingleOrDefault
             : entityQueryModelVisitor.LinqOperatorProvider.Single)
             .MakeGenericMethod(entityQueryModelVisitor.StreamedSequenceInfo.ResultItemType),
         entityQueryModelVisitor.Expression);
 private static Expression HandleLast(
     EntityQueryModelVisitor entityQueryModelVisitor, ChoiceResultOperatorBase choiceResultOperator)
     => CallWithPossibleCancellationToken(
         (choiceResultOperator.ReturnDefaultWhenEmpty
             ? entityQueryModelVisitor.LinqOperatorProvider.LastOrDefault
             : entityQueryModelVisitor.LinqOperatorProvider.Last)
             .MakeGenericMethod(entityQueryModelVisitor.Expression.Type.GetSequenceType()),
         entityQueryModelVisitor.Expression);