C# Class Microsoft.CSharp.Expressions.Compiler.Reducer

Utility to reduce all extension nodes, except for await, into more primitive forms. This step is performed early on during async lambda rewriting so we don't have to worry about custom nodes.
Exibir arquivo Open project: bartdesmet/ExpressionFutures

Public Methods

Method Description
Reduce ( Expression expression ) : Expression

Private Methods

Method Description
Convert ( Expression node, Type type ) : Expression
ReduceCoalesce ( BinaryExpression node ) : Expression
ReduceLambdaReferenceCoalesce ( BinaryExpression node ) : Expression
ReduceLogical ( BinaryExpression node ) : Expression
ReduceLogicalLifted ( BinaryExpression node ) : Expression
ReduceLogicalMethod ( BinaryExpression node ) : Expression
ReduceLogicalUnlifted ( BinaryExpression node ) : Expression
ReduceNullableCoalesce ( BinaryExpression node ) : Expression
ReduceReferenceCoalesceWithoutConversion ( BinaryExpression node ) : Expression

Method Details

Reduce() public static method

public static Reduce ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression