Ejemplo n.º 1
0
 public void Return(ILocalIndexer index)
 {
     MethodContext.ReturnDeclared = true;
     GeneratedMethod.Return(() => index);
 }
Ejemplo n.º 2
0
 public void WithArgument(ILocalIndexer variable)
 {
     this.variables.Add(variable);
 }
Ejemplo n.º 3
0
 public void WithArgument(ILocalIndexer variable)
 {
     this.variables.Add(variable);
 }
Ejemplo n.º 4
0
        public int Instantiate(Type type, Type[] constructorArguments, ILocalIndexer[] arguments)
        {
            foreach (ILocalIndexer arg in arguments)
            {
                actions.Add(new VariableLoadAction(this, arg.LocalIndex));
            }

            actions.Add(new InstantiationAction(bundle, type, constructorArguments));

            return LocalCount - 1;
        }