Freigeben über


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
Public methodSupported by Silverlight for Windows Phone CreateDelegate Creates a delegate that can be used to execute a dynamically generated method.
Public methodSupported by Silverlight for Windows Phone CreateHoistedLocals Creates an array to store the hoisted local variables.
Public methodSupported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone 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.)
Public methodSupported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone IsolateExpression Frees a specified expression tree of external parameter references by replacing the parameter with its current value.
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldSupported by Silverlight for Windows Phone Globals Represents the non-trivial constants and locally executable expressions that are referenced by a dynamically generated method.
Public fieldSupported by Silverlight for Windows Phone Locals Represents the hoisted local variables from the parent context.
Public fieldSupported by Silverlight for Windows Phone 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.