示例#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);