Esempio n. 1
0
 private CompilerContext(DelegateTarget target, Expression[] definedVariables, Expression[] storedExpressions, Expression[] capturedArguments,
                         KeyValue <LambdaExpression, Expression[]>[] nestedLambdas, CapturedArgumentsHolder capturedArgumentsHolder, bool isNestedLambda, int hasCapturedVariablesArgumentConstructed)
 {
     this.hasCapturedVariablesArgumentConstructed = hasCapturedVariablesArgumentConstructed;
     this.Target                  = target;
     this.DefinedVariables        = definedVariables;
     this.StoredExpressions       = storedExpressions;
     this.CapturedArgumentsHolder = capturedArgumentsHolder;
     this.IsNestedLambda          = isNestedLambda;
     this.CapturedArguments       = capturedArguments;
     this.NestedLambdas           = nestedLambdas;
 }
Esempio n. 2
0
 public CompilerContext(DelegateTarget target, Expression[] definedVariables, Expression[] storedExpressions, Expression[] capturedArguments,
                        KeyValue <LambdaExpression, Expression[]>[] nestedLambdas, CapturedArgumentsHolder capturedArgumentsHolder)
     : this(target, definedVariables, storedExpressions, capturedArguments, nestedLambdas, capturedArgumentsHolder, false, 0)
 {
 }