ExecutionScope.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Runtime / CompilerServices / ExecutionScope.cs / 1305376 / ExecutionScope.cs

                            using System; 
using System.Linq.Expressions;

namespace System.Runtime.CompilerServices
{ 
    // Kept for backwards compatibility. Unused
    [Obsolete("do not use this type", true)] 
    public class ExecutionScope 
    {
        public ExecutionScope Parent; 
        public object[] Globals;
        public object[] Locals;

        internal ExecutionScope() 
        {
            Parent = null; 
            Globals = null; 
            Locals = null;
        } 

        public object[] CreateHoistedLocals()
        {
            throw new NotSupportedException(); 
        }
 
        public Delegate CreateDelegate(int indexLambda, object[] locals) 
        {
            throw new NotSupportedException(); 
        }

        public Expression IsolateExpression(Expression expression, object[] locals)
        { 
            throw new NotSupportedException();
        } 
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System; 
using System.Linq.Expressions;

namespace System.Runtime.CompilerServices
{ 
    // Kept for backwards compatibility. Unused
    [Obsolete("do not use this type", true)] 
    public class ExecutionScope 
    {
        public ExecutionScope Parent; 
        public object[] Globals;
        public object[] Locals;

        internal ExecutionScope() 
        {
            Parent = null; 
            Globals = null; 
            Locals = null;
        } 

        public object[] CreateHoistedLocals()
        {
            throw new NotSupportedException(); 
        }
 
        public Delegate CreateDelegate(int indexLambda, object[] locals) 
        {
            throw new NotSupportedException(); 
        }

        public Expression IsolateExpression(Expression expression, object[] locals)
        { 
            throw new NotSupportedException();
        } 
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.

                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK