public void PushReference(int index) { var dst = ILIntepreter.Add(ebp, index); esp->ObjectType = ObjectTypes.StackObjectReference; *(long *)&esp->Value = (long)dst; esp++; }
public T ReadObject <T>(int index) { var esp = ILIntepreter.Add(ebp, index); return((T)typeof(T).CheckCLRTypes(StackObject.ToObject(esp, domain, mStack))); }
public bool ReadBool(int index) { var esp = ILIntepreter.Add(ebp, index); return(esp->Value == 1); }
public double ReaDouble(int index) { var esp = ILIntepreter.Add(ebp, index); return(*(double *)&esp->Value); }
public float ReadFloat(int index) { var esp = ILIntepreter.Add(ebp, index); return(*(float *)&esp->Value); }
public long ReadLong(int index) { var esp = ILIntepreter.Add(ebp, index); return(*(long *)&esp->Value); }
public int ReadInteger(int index) { var esp = ILIntepreter.Add(ebp, index); return(esp->Value); }