System.Linq.Expressions.UnaryExpression.Reduce Method

Reduces the expression node to a simpler expression.

Syntax

public override Expression Reduce ()

Returns

The reduced expression.

Remarks

If the CanReduce method returns true, this should return a valid expression.

This method can return another node which itself must be reduced.

Requirements

Namespace: System.Linq.Expressions
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 4.0.0.0