Top "Expression-trees" questions

Expression Trees are an abstract representation of code in a tree structure where each node of the tree represents a programming construct (conditional, assignment, method call, etc.

What does Expression.Reduce() do?

I've been working with expression trees for a few days now and I'm curious to know what Expression.Reduce() does. …

c# .net lambda expression-trees
What is the best resource for learning C# expression trees in depth?

When I first typed this question, I did so in order to find the duplicate questions, feeling sure that someone …

c# c#-3.0 lambda expression-trees
Given a type ExpressionType.MemberAccess, how do i get the field value?

I am parsing an Expression Tree. Given a NodeType of ExpressionType.MemberAccess, how do I get the value of that …

c# reflection expression-trees
Create an Action<T> to "set" a property, when I am provided with the LINQ Expression for the "get"

I'd like to be able to generate a compiled expression to set a property, given the lambda expression that provides …

c# expression-trees
Getting the object out of a MemberExpression?

So, lets say I have the following expression in C#: Expression<Func<string>> expr = () => foo.…

c# lambda expression-trees
PropertyExpression is missing

I try to write a simple example using Expressions, but have a strange bug: I can't use PropertyExpression at compile …

c# .net lambda expression expression-trees
Expression Trees and Nullable Types

I've been playing around with Expression Trees. I have the following simple method that performs a query by dynamically creating …

c# entity-framework expression-trees
How to Combine two lambdas

Possible Duplicate: combining two lamba expressions in c# I have two following expressions: Expression<Func<string, bool>&…

c# .net expression-trees
Performance of compiled-to-delegate Expression

I'm generating an expression tree that maps properties from a source object to a destination object, that is then compiled …

c# performance expression-trees dynamically-generated
Case insensitive string compare in LINQ expression

I'm trying to write an ExpressionVisitor to wrap around my LINQ-to-object expressions to automatically make their string comparisons case insensitive, …

c# linq lambda expression-trees expressionvisitor