예제 #1
0
    public override void Release(PooledClassObject obj)
    {
        T item = obj as T;

        obj.usingSeq = 0;
        pool.Enqueue(item);
    }
        static StackObject *Ctor_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *__ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new PooledClassObject();

            return(ILIntepreter.PushObject(__ret, __mStack, result_of_this_method));
        }
예제 #3
0
 public abstract void Release(PooledClassObject obj);
        static void set_m_bPoolNew_0(ref object o, object v)
        {
            PooledClassObject _o = (PooledClassObject)o;

            _o.m_bPoolNew = (System.Boolean)v;
        }