Example #1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        internal override void Compile()
        {
            using (m_AddMethod.CreateTypeTemplateScope())
            {
                m_AddMethod.Compile();
            }

            using (m_RemoveMethod.CreateTypeTemplateScope())
            {
                m_RemoveMethod.Compile();
            }
        }
Example #2
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        internal override void Compile()
        {
            if (m_GetterMethod != null)
            {
                using (m_GetterMethod.CreateTypeTemplateScope())
                {
                    m_GetterMethod.Compile();
                }
            }

            if (m_SetterMethod != null)
            {
                using (m_SetterMethod.CreateTypeTemplateScope())
                {
                    m_SetterMethod.Compile();
                }
            }
        }