public XsVariable DefineVariable(Type type) { var variable = new XsVariable(this.il, null, type); this.variables.Add(variable); return(variable); }
public XsVariable DefineVariable(string name, Type type) { var variable = new XsVariable(this.il, name, type); this.variables.Add(variable); return(variable); }
public virtual void Emit(OpCode opcode, XsVariable local) => Emit(opcode, local.VariableInfo);