|
@@ -21,15 +21,21 @@ namespace ILRuntime.Runtime.Generated
|
|
|
MethodBase method;
|
|
MethodBase method;
|
|
|
Type[] args;
|
|
Type[] args;
|
|
|
Type type = typeof(System.Collections.Generic.Dictionary<System.Int32, System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>>);
|
|
Type type = typeof(System.Collections.Generic.Dictionary<System.Int32, System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>>);
|
|
|
|
|
+ args = new Type[]{};
|
|
|
|
|
+ method = type.GetMethod("get_Values", flag, null, args, null);
|
|
|
|
|
+ app.RegisterCLRMethodRedirection(method, get_Values_0);
|
|
|
|
|
+ args = new Type[]{};
|
|
|
|
|
+ method = type.GetMethod("Clear", flag, null, args, null);
|
|
|
|
|
+ app.RegisterCLRMethodRedirection(method, Clear_1);
|
|
|
args = new Type[]{typeof(System.Int32), typeof(System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>).MakeByRefType()};
|
|
args = new Type[]{typeof(System.Int32), typeof(System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>).MakeByRefType()};
|
|
|
method = type.GetMethod("TryGetValue", flag, null, args, null);
|
|
method = type.GetMethod("TryGetValue", flag, null, args, null);
|
|
|
- app.RegisterCLRMethodRedirection(method, TryGetValue_0);
|
|
|
|
|
|
|
+ app.RegisterCLRMethodRedirection(method, TryGetValue_2);
|
|
|
args = new Type[]{typeof(System.Int32)};
|
|
args = new Type[]{typeof(System.Int32)};
|
|
|
method = type.GetMethod("Remove", flag, null, args, null);
|
|
method = type.GetMethod("Remove", flag, null, args, null);
|
|
|
- app.RegisterCLRMethodRedirection(method, Remove_1);
|
|
|
|
|
|
|
+ app.RegisterCLRMethodRedirection(method, Remove_3);
|
|
|
args = new Type[]{typeof(System.Int32), typeof(System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>)};
|
|
args = new Type[]{typeof(System.Int32), typeof(System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>)};
|
|
|
method = type.GetMethod("set_Item", flag, null, args, null);
|
|
method = type.GetMethod("set_Item", flag, null, args, null);
|
|
|
- app.RegisterCLRMethodRedirection(method, set_Item_2);
|
|
|
|
|
|
|
+ app.RegisterCLRMethodRedirection(method, set_Item_4);
|
|
|
|
|
|
|
|
args = new Type[]{};
|
|
args = new Type[]{};
|
|
|
method = type.GetConstructor(flag, null, args, null);
|
|
method = type.GetConstructor(flag, null, args, null);
|
|
@@ -38,7 +44,37 @@ namespace ILRuntime.Runtime.Generated
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
- static StackObject* TryGetValue_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
|
|
|
|
+ static StackObject* get_Values_0(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.Dictionary<System.Int32, System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>> instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>>)typeof(System.Collections.Generic.Dictionary<System.Int32, System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
|
|
+ __intp.Free(ptr_of_this_method);
|
|
|
|
|
+
|
|
|
|
|
+ var result_of_this_method = instance_of_this_method.Values;
|
|
|
|
|
+
|
|
|
|
|
+ return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ static StackObject* Clear_1(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.Dictionary<System.Int32, System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>> instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>>)typeof(System.Collections.Generic.Dictionary<System.Int32, System.Action<ILRuntime.Runtime.Intepreter.ILTypeInstance>>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
|
|
+ __intp.Free(ptr_of_this_method);
|
|
|
|
|
+
|
|
|
|
|
+ instance_of_this_method.Clear();
|
|
|
|
|
+
|
|
|
|
|
+ return __ret;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ static StackObject* TryGetValue_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
{
|
|
{
|
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
|
StackObject* ptr_of_this_method;
|
|
StackObject* ptr_of_this_method;
|
|
@@ -116,7 +152,7 @@ namespace ILRuntime.Runtime.Generated
|
|
|
return __ret + 1;
|
|
return __ret + 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- static StackObject* Remove_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
|
|
|
|
+ static StackObject* Remove_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
{
|
|
{
|
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
|
StackObject* ptr_of_this_method;
|
|
StackObject* ptr_of_this_method;
|
|
@@ -136,7 +172,7 @@ namespace ILRuntime.Runtime.Generated
|
|
|
return __ret + 1;
|
|
return __ret + 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- static StackObject* set_Item_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
|
|
|
|
+ static StackObject* set_Item_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
|
|
|
{
|
|
{
|
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
|
|
|
StackObject* ptr_of_this_method;
|
|
StackObject* ptr_of_this_method;
|