UnaryExpression.Reduce Method ()


Reduces the expression node to a simpler expression.

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

public override Expression Reduce()

Return Value

Type: System.Linq.Expressions.Expression

The reduced expression.

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

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top