예제 #1
0
        public XsVariable DefineVariable(Type type)
        {
            var variable = new XsVariable(this.il, null, type);

            this.variables.Add(variable);
            return(variable);
        }
예제 #2
0
        public XsVariable DefineVariable(string name, Type type)
        {
            var variable = new XsVariable(this.il, name, type);

            this.variables.Add(variable);
            return(variable);
        }
예제 #3
0
 public virtual void Emit(OpCode opcode, XsVariable local) => Emit(opcode, local.VariableInfo);