Closure Constructor (array<Object^>^, array<Object^>^)

 

This API supports the product 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(
	array<Object^>^ constants,
	array<Object^>^ locals
)

Parameters

constants
Type: array<System::Object^>^

The constant values that are used by the method.

locals
Type: array<System::Object^>^

The hoisted local variables from the parent context.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: