RuntimeOps.Quote Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Note: This API is now obsolete. The non-obsolete alternative is .

Quotes the provided expression tree.

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

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("do not use this method", true)]
public static Expression Quote(
	Expression expression,
	Object hoistedLocals,
	Object[] locals
)

Parameters

expression
Type: System.Linq.Expressions.Expression
The expression to quote.
hoistedLocals
Type: System.Object
The hoisted local state provided by the compiler.
locals
Type: System.Object[]
The actual hoisted local values.

Return Value

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

Silverlight

Obsolete (does not compile) in 4 and later

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

Community Additions

ADD
Show: