|
|
@@ -28,12 +28,12 @@ namespace ILRuntime.Runtime.Generated
|
|
|
args = new Type[]{};
|
|
|
method = type.GetMethod("get_Count", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, get_Count_1);
|
|
|
- args = new Type[]{typeof(UnityEngine.Vector3)};
|
|
|
- method = type.GetMethod("Add", flag, null, args, null);
|
|
|
- app.RegisterCLRMethodRedirection(method, Add_2);
|
|
|
args = new Type[]{};
|
|
|
method = type.GetMethod("Clear", flag, null, args, null);
|
|
|
- app.RegisterCLRMethodRedirection(method, Clear_3);
|
|
|
+ app.RegisterCLRMethodRedirection(method, Clear_2);
|
|
|
+ args = new Type[]{typeof(UnityEngine.Vector3)};
|
|
|
+ method = type.GetMethod("Add", flag, null, args, null);
|
|
|
+ app.RegisterCLRMethodRedirection(method, Add_3);
|
|
|
args = new Type[]{};
|
|
|
method = type.GetMethod("GetEnumerator", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, GetEnumerator_4);
|
|
|
@@ -80,36 +80,36 @@ namespace ILRuntime.Runtime.Generated
|
|
|
return __ret + 1;
|
|
|
}
|
|
|
|
|
|
- static StackObject* Add_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
+ static StackObject* Clear_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
{
|
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
|
StackObject* ptr_of_this_method;
|
|
|
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
|
|
|
+ StackObject* __ret = ILIntepreter.Minus(__esp, 1);
|
|
|
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
|
|
|
- UnityEngine.Vector3 @item = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
|
|
|
- __intp.Free(ptr_of_this_method);
|
|
|
-
|
|
|
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
|
|
|
System.Collections.Generic.List<UnityEngine.Vector3> instance_of_this_method = (System.Collections.Generic.List<UnityEngine.Vector3>)typeof(System.Collections.Generic.List<UnityEngine.Vector3>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
|
|
|
__intp.Free(ptr_of_this_method);
|
|
|
|
|
|
- instance_of_this_method.Add(@item);
|
|
|
+ instance_of_this_method.Clear();
|
|
|
|
|
|
return __ret;
|
|
|
}
|
|
|
|
|
|
- static StackObject* Clear_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
+ static StackObject* Add_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
{
|
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
|
StackObject* ptr_of_this_method;
|
|
|
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
|
|
|
+ StackObject* __ret = ILIntepreter.Minus(__esp, 2);
|
|
|
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
|
|
|
+ UnityEngine.Vector3 @item = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
|
|
|
+ __intp.Free(ptr_of_this_method);
|
|
|
+
|
|
|
+ ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
|
|
|
System.Collections.Generic.List<UnityEngine.Vector3> instance_of_this_method = (System.Collections.Generic.List<UnityEngine.Vector3>)typeof(System.Collections.Generic.List<UnityEngine.Vector3>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
|
|
|
__intp.Free(ptr_of_this_method);
|
|
|
|
|
|
- instance_of_this_method.Clear();
|
|
|
+ instance_of_this_method.Add(@item);
|
|
|
|
|
|
return __ret;
|
|
|
}
|