//----------------------------------------------------------------------------------------------------------------------------------------------------- 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); }
//----------------------------------------------------------------------------------------------------------------------------------------------------- internal MethodMember(ClassType ownerClass, MethodFactoryBase methodFactory) : this(ownerClass, methodFactory, closure : null) { }