Ejemplo n.º 1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        protected MethodWriterBase(MethodMember ownerMethod, MethodWriterModes mode, bool attachToOwner)
        {
            m_OwnerMethod      = ownerMethod;
            m_Mode             = mode;
            m_ReturnValueLocal = null;
            m_InnerWriters     = null;

            if (ownerMethod != null)
            {
                m_OwnerClass = ownerMethod.OwnerClass;

                if (attachToOwner)
                {
                    ownerMethod.AddWriter(this);
                }
            }
        }