static object PerformMemberwiseClone(ref object o) { var ins = new ILRuntimeTest.TestFramework.TestVectorStruct(); ins = (ILRuntimeTest.TestFramework.TestVectorStruct)o; return(ins); }
static StackObject *AssignFromStack_A_2(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; System.Int32 @A = ptr_of_this_method->Value; ILRuntimeTest.TestFramework.TestVectorStruct ins = (ILRuntimeTest.TestFramework.TestVectorStruct)o; ins.A = @A; o = ins; return(ptr_of_this_method); }
static void WriteBackInstance(ILRuntime.Runtime.Enviorment.AppDomain __domain, StackObject *ptr_of_this_method, IList <object> __mStack, ref ILRuntimeTest.TestFramework.TestVectorStruct instance_of_this_method) { ptr_of_this_method = ILIntepreter.GetObjectAndResolveReference(ptr_of_this_method); switch (ptr_of_this_method->ObjectType) { case ObjectTypes.Object: { __mStack[ptr_of_this_method->Value] = instance_of_this_method; } break; case ObjectTypes.FieldReference: { var ___obj = __mStack[ptr_of_this_method->Value]; if (___obj is ILTypeInstance) { ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = instance_of_this_method; } else { var t = __domain.GetType(___obj.GetType()) as CLRType; t.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, instance_of_this_method); } } break; case ObjectTypes.StaticFieldReference: { var t = __domain.GetType(ptr_of_this_method->Value); if (t is ILType) { ((ILType)t).StaticInstance[ptr_of_this_method->ValueLow] = instance_of_this_method; } else { ((CLRType)t).SetStaticFieldValue(ptr_of_this_method->ValueLow, instance_of_this_method); } } break; case ObjectTypes.ArrayReference: { var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as ILRuntimeTest.TestFramework.TestVectorStruct[]; instance_of_arrayReference[ptr_of_this_method->ValueLow] = instance_of_this_method; } break; } }
static StackObject *AssignFromStack_B_1(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; ILRuntimeTest.TestFramework.TestVectorStruct2 @B = new ILRuntimeTest.TestFramework.TestVectorStruct2(); if (ILRuntime.Runtime.Generated.CLRBindings.s_ILRuntimeTest_TestFramework_TestVectorStruct2_Binding_Binder != null) { ILRuntime.Runtime.Generated.CLRBindings.s_ILRuntimeTest_TestFramework_TestVectorStruct2_Binding_Binder.ParseValue(ref @B, __intp, ptr_of_this_method, __mStack, true); } else { @B = (ILRuntimeTest.TestFramework.TestVectorStruct2) typeof(ILRuntimeTest.TestFramework.TestVectorStruct2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 16); } ILRuntimeTest.TestFramework.TestVectorStruct ins = (ILRuntimeTest.TestFramework.TestVectorStruct)o; ins.B = @B; o = ins; return(ptr_of_this_method); }
static StackObject *AssignFromStack_C_0(ref object o, ILIntepreter __intp, StackObject *ptr_of_this_method, IList <object> __mStack) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; ILRuntimeTest.TestFramework.TestVector3 @C = new ILRuntimeTest.TestFramework.TestVector3(); if (ILRuntime.Runtime.Generated.CLRBindings.s_ILRuntimeTest_TestFramework_TestVector3_Binding_Binder != null) { ILRuntime.Runtime.Generated.CLRBindings.s_ILRuntimeTest_TestFramework_TestVector3_Binding_Binder.ParseValue(ref @C, __intp, ptr_of_this_method, __mStack, true); } else { @C = (ILRuntimeTest.TestFramework.TestVector3) typeof(ILRuntimeTest.TestFramework.TestVector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); } ILRuntimeTest.TestFramework.TestVectorStruct ins = (ILRuntimeTest.TestFramework.TestVectorStruct)o; ins.C = @C; o = ins; return(ptr_of_this_method); }
static void set_A_2(ref object o, object v) { ILRuntimeTest.TestFramework.TestVectorStruct ins = (ILRuntimeTest.TestFramework.TestVectorStruct)o; ins.A = (System.Int32)v; o = ins; }
static void set_B_1(ref object o, object v) { ILRuntimeTest.TestFramework.TestVectorStruct ins = (ILRuntimeTest.TestFramework.TestVectorStruct)o; ins.B = (ILRuntimeTest.TestFramework.TestVectorStruct2)v; o = ins; }
static void set_C_0(ref object o, object v) { ILRuntimeTest.TestFramework.TestVectorStruct ins = (ILRuntimeTest.TestFramework.TestVectorStruct)o; ins.C = (ILRuntimeTest.TestFramework.TestVector3)v; o = ins; }