public static EVar CreateWithoutTempVar(object value, Type type) { EVar model = new EVar(type, null); model.Value = value; return(model); }
public static EMethod Load(EVar value) { EMethod instance = value.TypeHandler; value.This(); return(instance); }
public static EVar CreateVarFromObject(object value, Type type) { EVar model = CreateVar(type); model.il.LoadObject(value, type); model.Store(); model.Value = value; return(model); }
//对普通变量进行装箱 public static void Packet(EVar varHandler) { Packet(varHandler.TypeHandler, () => { varHandler.This(); }); }
public static EVar CreateVar(Type type) { EVar model = new EVar(type); return(model); }
public static EVar CreateVarFromAction(Action action, Type type = null) { EVar model = new EVar(type, action); return(model); }
public static EVar CreateVarFromBuilder(LocalBuilder builder, Type type) { EVar model = new EVar(builder, type); return(model); }
public static EVar CreateVarFromParameter(int parametersIndex, Type type = null) { EVar model = new EVar(parametersIndex, type); return(model); }