src/Inflatable/LinqExpression/Select/ColumnProjector.cs
/// <summary>
/// Visits the children of the <see cref="T:System.Linq.Expressions.MemberExpression"/>.
/// </summary>
/// <param name="node">The expression to visit.</param>
/// <returns>
/// The modified expression, if it or any subexpression was modified; otherwise, returns the
/// original expression.
/// </returns>
Visits the children of the .
Visits the children of the .
protected override Expression VisitMember(MemberExpression node)
        {
            if (node.Expression?.NodeType == ExpressionType.Parameter
                && node.Member is PropertyInfo TempInfo)
            {
                FoundProperties.Add(TempInfo);
            }
            return base.VisitMember(node);
        }
protected override Expression VisitMember ( MemberExpression node ) { if ( node . Expression ? . NodeType == ExpressionType . Parameter && node . Member is PropertyInfo TempInfo ) { FoundProperties . Add ( TempInfo ) ; } return base . VisitMember ( node ) ; }
Visits the children of the .
Visits the children of the .
The modified expression, if it or any subexpression was modified; otherwise, returns the
original expression.
The modified expression if it or any subexpression was modified ; otherwise returns the original expression .
node
MemberExpression
The expression to visit.
The expression to visit .