ExecutionScope Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Note: This API is now obsolete.
Represents the runtime state of a dynamically generated method.
Inheritance Hierarchy
System.Object
System.Runtime.CompilerServices.ExecutionScope
Namespace: System.Runtime.CompilerServices
Assembly: System.Core (in System.Core.dll)
Syntax
'Declaration
<ObsoleteAttribute("do not use this type", True)> _
Public Class ExecutionScope
[ObsoleteAttribute("do not use this type", true)]
public class ExecutionScope
The ExecutionScope type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateDelegate | Creates a delegate that can be used to execute a dynamically generated method. | |
CreateHoistedLocals | Creates an array to store the hoisted local variables. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsolateExpression | Frees a specified expression tree of external parameter references by replacing the parameter with its current value. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
Globals | Represents the non-trivial constants and locally executable expressions that are referenced by a dynamically generated method. | |
Locals | Represents the hoisted local variables from the parent context. | |
Parent | Represents the execution scope of the calling delegate. |
Top
Version Information
Silverlight
Supported in: 3
Obsolete (does not compile) in 4 and later
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.