Exemplo n.º 1
0
        public override object VisitTypeDeclaration(TypeDeclaration typeDeclaration, object data)
        {
            var typeNamespace = GetNamespace(typeDeclaration);

            if (String.IsNullOrEmpty(typeNamespace))
            {
                return(base.VisitTypeDeclaration(typeDeclaration, data));
            }

            TypeResolver.AddTableEntry(typeNamespace + "." + typeDeclaration.Name);

            return(base.VisitTypeDeclaration(typeDeclaration, data));
        }