ReduceAndCheck Method
Collapse the table of content
Expand the table of content

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 4.5
.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
© 2015 Microsoft