//-----------------< Function to get namespaces of a file >---------
        public static List <DependencyCheck> Getnamespace(List <List <Elem> > listOfTable)
        {
            List <DependencyCheck> namespaceList = new List <DependencyCheck>();
            DependencyCheck        store;

            foreach (List <Elem> table in listOfTable)
            {
                foreach (Elem e in table)
                {
                    if (e.type == "namespace")
                    {
                        store          = new DependencyCheck();
                        store.Typename = e.name;
                        store.Filename = e.filename;
                        namespaceList.Add(store);
                    }
                }
            }
            return(namespaceList);
        }
        //-----------------< Function to get "using" of a file >---------
        public static List <DependencyCheck> Getusing(List <List <Elem> > listOfTable)
        {
            List <DependencyCheck> usingList = new List <DependencyCheck>();
            DependencyCheck        store;

            foreach (List <Elem> table in listOfTable)
            {
                foreach (Elem e in table)
                {
                    if (e.type == "using" || e.type == "alias")
                    {
                        store          = new DependencyCheck();
                        store.Typename = e.name;
                        store.Filename = e.filename;
                        if (e.type == "alias" && !e.aliasName.StartsWith("System"))
                        {
                            store.AliasName = e.aliasName;
                        }
                        usingList.Add(store);
                    }
                }
            }
            return(usingList);
        }