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

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

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