@maumar
re-linq now (#2666) has an extension point for excluding expressions from partial evaluation: EvaluatableExpressionFilterBase, injected into the PartialEvaluatingExpressionTreeProcessor et al. The filter can take over the role played by FunctionEvaluationDisablingVisitor, removing the need for wrapping and unwrapping the expressions.
I should have time to send a PR sometime this week / over the weekend (based on PR #2668)
Best regards, Michael