Example #1
0
        public override void SetMemberContainingTypeDeclaration(ITypeDeclarationMember member)
        {
            TypedefDeclaration /*?*/ typedef = member as TypedefDeclaration;

            if (typedef != null)
            {
                typedef.SetContainingTypeDeclaration(this);
                return;
            }
            FunctionDeclaration /*?*/ functionDeclaration = member as FunctionDeclaration;

            if (functionDeclaration != null)
            {
                functionDeclaration.SetContainingTypeDeclaration(this);
                return;
            }
            base.SetMemberContainingTypeDeclaration(member);
        }