Bewerken

Delen via


Expression.ReduceAndCheck Method

Definition

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.

public:
 System::Linq::Expressions::Expression ^ ReduceAndCheck();
public System.Linq.Expressions.Expression ReduceAndCheck ();
member this.ReduceAndCheck : unit -> System.Linq.Expressions.Expression
Public Function ReduceAndCheck () As Expression

Returns

The reduced expression.

Remarks

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

Applies to