System.Runtime.CompilerServices.ExecutionScope.IsolateExpression Method

Frees a specified expression tree of external parameter references by replacing the parameter with its current value.

Syntax

public System.Linq.Expressions.Expression IsolateExpression (System.Linq.Expressions.Expression expression, object[] locals)

Parameters

expression
An expression tree to free of external parameter references.
locals
An array that contains the hoisted local variables.

Returns

An expression tree that does not contain external parameter references.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Runtime.CompilerServices
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 3.5.0.0