Exemplo n.º 1
0
 internal InterpretedFrame(System.Management.Automation.Interpreter.Interpreter interpreter, StrongBox<object>[] closure)
 {
     this.Interpreter = interpreter;
     this.StackIndex = interpreter.LocalCount;
     this.Data = new object[this.StackIndex + interpreter.Instructions.MaxStackDepth];
     int maxContinuationDepth = interpreter.Instructions.MaxContinuationDepth;
     if (maxContinuationDepth > 0)
     {
         this._continuations = new int[maxContinuationDepth];
     }
     this.Closure = closure;
     this._pendingContinuation = -1;
     this._pendingValue = System.Management.Automation.Interpreter.Interpreter.NoValue;
 }
Exemplo n.º 2
0
        internal InterpretedFrame(System.Management.Automation.Interpreter.Interpreter interpreter, StrongBox <object>[] closure)
        {
            this.Interpreter = interpreter;
            this.StackIndex  = interpreter.LocalCount;
            this.Data        = new object[this.StackIndex + interpreter.Instructions.MaxStackDepth];
            int maxContinuationDepth = interpreter.Instructions.MaxContinuationDepth;

            if (maxContinuationDepth > 0)
            {
                this._continuations = new int[maxContinuationDepth];
            }
            this.Closure = closure;
            this._pendingContinuation = -1;
            this._pendingValue        = System.Management.Automation.Interpreter.Interpreter.NoValue;
        }
Exemplo n.º 3
0
 internal LightDelegateCreator(System.Management.Automation.Interpreter.Interpreter interpreter, LambdaExpression lambda)
 {
     this._interpreter = interpreter;
     this._lambda = lambda;
 }
Exemplo n.º 4
0
 internal LightDelegateCreator(System.Management.Automation.Interpreter.Interpreter interpreter, LambdaExpression lambda)
 {
     this._interpreter = interpreter;
     this._lambda      = lambda;
 }