diff --git a/src/NHibernate/Linq/Visitors/SelectClauseVisitor.cs b/src/NHibernate/Linq/Visitors/SelectClauseVisitor.cs index a5ccb83b1e3..a5155415dfd 100644 --- a/src/NHibernate/Linq/Visitors/SelectClauseVisitor.cs +++ b/src/NHibernate/Linq/Visitors/SelectClauseVisitor.cs @@ -33,6 +33,7 @@ public IEnumerable GetHqlNodes() { return _hqlTreeNodes; } + public void VisitSelector(Expression expression) => VisitSelector(expression, false); public void VisitSelector(Expression expression, bool isSubQuery)