|
|
@@ -13,7 +13,7 @@ using ILRuntime.CLR.Utils;
|
|
|
|
|
|
namespace ILRuntime.Runtime.Generated
|
|
|
{
|
|
|
- unsafe class System_Collections_Generic_Dictionary_2_UIType_ILTypeInstance_Binding
|
|
|
+ unsafe class System_Collections_Generic_Dictionary_2_Int32_ILTypeInstance_Binding
|
|
|
{
|
|
|
public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
|
|
|
{
|
|
|
@@ -21,26 +21,26 @@ namespace ILRuntime.Runtime.Generated
|
|
|
MethodBase method;
|
|
|
FieldInfo field;
|
|
|
Type[] args;
|
|
|
- Type type = typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>);
|
|
|
+ Type type = typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>);
|
|
|
args = new Type[]{};
|
|
|
method = type.GetMethod("get_Keys", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, get_Keys_0);
|
|
|
- args = new Type[]{typeof(ETModel.UIType), typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance).MakeByRefType()};
|
|
|
+ args = new Type[]{typeof(System.Int32), typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance).MakeByRefType()};
|
|
|
method = type.GetMethod("TryGetValue", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, TryGetValue_1);
|
|
|
- args = new Type[]{typeof(ETModel.UIType)};
|
|
|
+ args = new Type[]{typeof(System.Int32)};
|
|
|
method = type.GetMethod("Remove", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, Remove_2);
|
|
|
args = new Type[]{};
|
|
|
method = type.GetMethod("Clear", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, Clear_3);
|
|
|
- args = new Type[]{typeof(ETModel.UIType)};
|
|
|
+ args = new Type[]{typeof(System.Int32)};
|
|
|
method = type.GetMethod("ContainsKey", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, ContainsKey_4);
|
|
|
- args = new Type[]{typeof(ETModel.UIType), typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance)};
|
|
|
+ args = new Type[]{typeof(System.Int32), typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance)};
|
|
|
method = type.GetMethod("Add", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, Add_5);
|
|
|
- args = new Type[]{typeof(ETModel.UIType)};
|
|
|
+ args = new Type[]{typeof(System.Int32)};
|
|
|
method = type.GetMethod("get_Item", flag, null, args, null);
|
|
|
app.RegisterCLRMethodRedirection(method, get_Item_6);
|
|
|
|
|
|
@@ -57,8 +57,8 @@ namespace ILRuntime.Runtime.Generated
|
|
|
StackObject* ptr_of_this_method;
|
|
|
StackObject* __ret = ILIntepreter.Minus(__esp, 1);
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
|
|
|
- System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
- instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
+ instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, 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.Keys;
|
|
|
@@ -75,11 +75,10 @@ namespace ILRuntime.Runtime.Generated
|
|
|
ptr_of_this_method = ILIntepreter.GetObjectAndResolveReference(ptr_of_this_method);
|
|
|
ILRuntime.Runtime.Intepreter.ILTypeInstance value = (ILRuntime.Runtime.Intepreter.ILTypeInstance)typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
|
|
|
- ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
- __intp.Free(ptr_of_this_method);
|
|
|
+ System.Int32 key = ptr_of_this_method->Value;
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
|
|
|
- System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
- instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
+ instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, 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.TryGetValue(key, out value);
|
|
|
@@ -149,11 +148,10 @@ namespace ILRuntime.Runtime.Generated
|
|
|
StackObject* ptr_of_this_method;
|
|
|
StackObject* __ret = ILIntepreter.Minus(__esp, 2);
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
|
|
|
- ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
- __intp.Free(ptr_of_this_method);
|
|
|
+ System.Int32 key = ptr_of_this_method->Value;
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
|
|
|
- System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
- instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
+ instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, 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.Remove(key);
|
|
|
@@ -169,8 +167,8 @@ namespace ILRuntime.Runtime.Generated
|
|
|
StackObject* ptr_of_this_method;
|
|
|
StackObject* __ret = ILIntepreter.Minus(__esp, 1);
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
|
|
|
- System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
- instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
+ instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
__intp.Free(ptr_of_this_method);
|
|
|
|
|
|
instance_of_this_method.Clear();
|
|
|
@@ -184,11 +182,10 @@ namespace ILRuntime.Runtime.Generated
|
|
|
StackObject* ptr_of_this_method;
|
|
|
StackObject* __ret = ILIntepreter.Minus(__esp, 2);
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
|
|
|
- ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
- __intp.Free(ptr_of_this_method);
|
|
|
+ System.Int32 key = ptr_of_this_method->Value;
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
|
|
|
- System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
- instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
+ instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, 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.ContainsKey(key);
|
|
|
@@ -207,11 +204,10 @@ namespace ILRuntime.Runtime.Generated
|
|
|
ILRuntime.Runtime.Intepreter.ILTypeInstance value = (ILRuntime.Runtime.Intepreter.ILTypeInstance)typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
__intp.Free(ptr_of_this_method);
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
|
|
|
- ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
- __intp.Free(ptr_of_this_method);
|
|
|
+ System.Int32 key = ptr_of_this_method->Value;
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
|
|
|
- System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
- instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
+ instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
__intp.Free(ptr_of_this_method);
|
|
|
|
|
|
instance_of_this_method.Add(key, value);
|
|
|
@@ -225,11 +221,10 @@ namespace ILRuntime.Runtime.Generated
|
|
|
StackObject* ptr_of_this_method;
|
|
|
StackObject* __ret = ILIntepreter.Minus(__esp, 2);
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
|
|
|
- ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
- __intp.Free(ptr_of_this_method);
|
|
|
+ System.Int32 key = ptr_of_this_method->Value;
|
|
|
ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
|
|
|
- System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
- instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
|
|
|
+ System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
|
|
|
+ instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, 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[key];
|
|
|
@@ -244,7 +239,7 @@ namespace ILRuntime.Runtime.Generated
|
|
|
StackObject* ptr_of_this_method;
|
|
|
StackObject* __ret = ILIntepreter.Minus(__esp, 0);
|
|
|
|
|
|
- var result_of_this_method = new System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>();
|
|
|
+ var result_of_this_method = new System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>();
|
|
|
|
|
|
return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
|
|
|
}
|