ExecutionScope Class
TOC
Collapse the table of content
Expand the table of content

ExecutionScope Class

 
Note: This API is now obsolete.

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

Represents the runtime state of a dynamically generated method.

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

System.Object
  System.Runtime.CompilerServices.ExecutionScope

[ObsoleteAttribute("do not use this type", true)]
public class ExecutionScope

NameDescription
System_CAPS_pubmethodCreateDelegate(Int32, Object[])

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a delegate that can be used to execute a dynamically generated method.

System_CAPS_pubmethodCreateHoistedLocals()

This API supports the product infrastructure and is not intended to be used directly from your code. Creates an array to store the hoisted local variables.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsolateExpression(Expression, Object[])

This API supports the product infrastructure and is not intended to be used directly from your code. Frees a specified expression tree of external parameter references by replacing the parameter with its current value.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldGlobals

This API supports the product infrastructure and is not intended to be used directly from your code. Represents the non-trivial constants and locally executable expressions that are referenced by a dynamically generated method.

System_CAPS_pubfieldLocals

This API supports the product infrastructure and is not intended to be used directly from your code. Represents the hoisted local variables from the parent context.

System_CAPS_pubfieldParent

This API supports the product infrastructure and is not intended to be used directly from your code. Represents the execution scope of the calling delegate.

The ExecutionScope type is used by the expression tree compiler, which is an internal component of the LINQ expression tree API, and by the dynamic methods that it generates.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft