NamespaceNode GetOrCreateNamespace(AssemblyNode assembly, string namespaceName)
        {
            NamespaceNode result;
            var           asmDef = loader.GetCecilObject(assembly.AssemblyInfo.UnresolvedAssembly);

            if (!namespaceMappings.TryGetValue(namespaceName + "," + asmDef.FullName, out result))
            {
                result = new NamespaceNode(namespaceName);
                assembly.AddChild(result);
                namespaceMappings.Add(namespaceName + "," + asmDef.FullName, result);
            }
            return(result);
        }