|
|
@@ -29,14 +29,11 @@ namespace ILRuntime.Runtime.Generated
|
|
|
method = type.GetMethod("Add", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, Add_1);
|
|
|
args = new Type[]{};
|
|
|
- method = type.GetMethod("get_Capacity", flag, null, args, null);
|
|
|
- app.RegisterCLRMethodRedirection(method, get_Capacity_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(System.Int32)};
|
|
|
method = type.GetMethod("get_Item", flag, null, args, null);
|
|
|
- app.RegisterCLRMethodRedirection(method, get_Item_4);
|
|
|
+ app.RegisterCLRMethodRedirection(method, get_Item_3);
|
|
|
|
|
|
args = new Type[]{};
|
|
|
method = type.GetConstructor(flag, null, args, null);
|
|
|
@@ -82,24 +79,7 @@ namespace ILRuntime.Runtime.Generated
|
|
|
return __ret;
|
|
|
}
|
|
|
|
|
|
- static StackObject* get_Capacity_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, 1);
|
|
|
-
|
|
|
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
|
|
|
- System.Collections.Generic.List<ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method = (System.Collections.Generic.List<ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.List<ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
|
|
|
- __intp.Free(ptr_of_this_method);
|
|
|
-
|
|
|
- var result_of_this_method = instance_of_this_method.Capacity;
|
|
|
-
|
|
|
- __ret->ObjectType = ObjectTypes.Integer;
|
|
|
- __ret->Value = result_of_this_method;
|
|
|
- return __ret + 1;
|
|
|
- }
|
|
|
-
|
|
|
- static StackObject* Clear_3(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;
|
|
|
@@ -114,7 +94,7 @@ namespace ILRuntime.Runtime.Generated
|
|
|
return __ret;
|
|
|
}
|
|
|
|
|
|
- static StackObject* get_Item_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
+ static StackObject* get_Item_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
{
|
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
|
StackObject* ptr_of_this_method;
|