Esempio n. 1
0
        static StackObject *get_Item_6(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);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor @key = (ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor) typeof(ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Collections.Generic.Dictionary <ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor, System.Collections.Generic.List <ILRuntime.Runtime.Intepreter.ILTypeInstance> > instance_of_this_method = (System.Collections.Generic.Dictionary <ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor, System.Collections.Generic.List <ILRuntime.Runtime.Intepreter.ILTypeInstance> >) typeof(System.Collections.Generic.Dictionary <ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor, 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[key];

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
        static StackObject *Add_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);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor @item = (ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor) typeof(ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Collections.Generic.List <ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor> instance_of_this_method = (System.Collections.Generic.List <ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor>) typeof(System.Collections.Generic.List <ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor>).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);

            return(__ret);
        }
Esempio n. 3
0
        static StackObject *set_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;
            StackObject *__ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor @value = (ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor) typeof(ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Int32 @key = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            System.Collections.Generic.Dictionary <System.Int32, ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor> instance_of_this_method = (System.Collections.Generic.Dictionary <System.Int32, ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor>) typeof(System.Collections.Generic.Dictionary <System.Int32, ILRuntime.Runtime.Adaptors.IComparerAdaptor.Adaptor>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method[key] = value;

            return(__ret);
        }