private bool ResolveChildNamespace(ICollection<IEntity> resultingSet, string name, EntityType typesToConsider)
{
ReflectionNamespace childNamespace;
if (Entities.IsFlagSet(typesToConsider, TypeSystem.EntityType.Namespace)
&& _childNamespaces.TryGetValue(name, out childNamespace))
{
resultingSet.Add(childNamespace);
return true;
}
return false;
}