예제 #1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        internal MethodMember(ClassType ownerClass, MethodFactoryBase methodFactory, ClosureDefinition closure)
            : base(ownerClass, methodFactory.MemberName)
        {
            m_MethodFactory     = methodFactory;
            m_Closure           = closure;
            m_Writers           = new List <MethodWriterBase>();
            m_Statements        = new StatementBlock();
            m_Locals            = new List <ILocal>();
            m_TransparentWriter = new TransparentMethodWriter(this);
        }
예제 #2
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        internal MethodMember(ClassType ownerClass, MethodFactoryBase methodFactory)
            : this(ownerClass, methodFactory, closure : null)
        {
        }