예제 #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;
 }