Пример #1
0
 unsafe internal void Set(int fieldIndex, object obj, Type type, VirtualMachine virtualMachine)
 {
     fixed(Value *b = &unmanagedFields[0])
     {
         //VirtualMachine._Info("AnonymousStorey.Set, field=" + fieldIndex + ", val=" + obj);
         EvaluationStackOperation.PushObject(b, b + fieldIndex, managedFields, obj, type);
     }
 }
Пример #2
0
 public void PushObjectAsResult(object obj, Type type) //反射专用
 {
     EvaluationStackOperation.PushObject(evaluationStackBase, argumentBase, managedStack, obj, type);
     currentTop = argumentBase + 1;
 }