bool ResolveModuleMember(Boo.Lang.List targetList, string name, EntityType flags)
{
bool found = false;
foreach (TypeMember member in _module.Members)
{
if (name != member.Name) continue;
IEntity entity = _typeSystemServices.GetMemberEntity(member);
if (NameResolutionService.IsFlagSet(flags, entity.EntityType))
{
targetList.Add(entity);
found = true;
}
}
return found;
}