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