protected override Expression VisitConstant(ConstantExpression c) { isParameter = c.GetMemberType() switch { MemberType.Entity => true, MemberType.Structure => true, _ => isParameter }; return(c); }
protected override Expression VisitConstant(ConstantExpression c) { switch (c.GetMemberType()) { case MemberType.Entity: case MemberType.Structure: isParameter = true; break; } return(c); }