Freigeben über


Expression.ReduceAndCheck Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Function ReduceAndCheck As Expression
public Expression ReduceAndCheck()

Return Value

Type: System.Linq.Expressions.Expression
The reduced expression.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.