Expression.ReduceAndCheck Method ()


Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.

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

public Expression ReduceAndCheck()

Return Value

Type: System.Linq.Expressions.Expression

The reduced expression.

Unlike Reduce, this method checks that the reduced node satisfies certain invariants.

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