public bool Resolve(List targetList, string name, EntityType flags)
{
NamespaceEntity tag;
_childrenNamespaces.TryGetValue(name, out tag);
if (null != tag)
{
targetList.Add((IEntity) tag);
return true;
}
if (ResolveInternalType(targetList, name, flags)) return true;
bool found = ResolveExternalType(targetList, name);
if (ResolveExternalModules(targetList, name, flags)) found = true;
if (ResolveClrExtensions(targetList, name, flags)) found = true;
return found;
}