Exemplo n.º 1
0
        public void Condense()
        {
            NameSpaces.Clear();
            foreach (TypeReference tref in ContainedTypes)
            {
                string nmspace = TypeVertex.GetNamespace(tref);

                if (this.NameSpaces.ContainsKey(nmspace))
                {
                    this.NameSpaces[nmspace]++;
                }
                else
                {
                    this.NameSpaces[nmspace] = 1;
                }
            }
        }