Closure Constructor

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

Creates an object to hold state of a dynamically generated method.

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

public Closure(
	Object[] constants,
	Object[] locals
)

Parameters

constants
Type: System.Object[]
The constant values that are used by the method.
locals
Type: System.Object[]
The hoisted local variables from the parent context.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show: