Esempio n. 1
0
        /// <summary>
        /// Returns all members inherited from super classes of this class.
        /// Does not take static inheritance into account.
        /// </summary>
        internal MemberList GetSortedInheritedMembersList()
        {
            MemberList items    = new MemberList();
            ClassModel curClass = this;

            do
            {
                curClass.ResolveExtends();
                curClass = curClass.Extends;
                MemberList newMembers = curClass.GetSortedMembersList();
                items.Merge(newMembers);
            } while (curClass.Extends != VoidClass);
            items.RemoveAllWithFlag(FlagType.Static);
            items.Sort();
            return(items);
        }