Boo.Lang.Compiler.TypeSystem.ModuleEntity.ResolveModuleMember C# (CSharp) Méthode

ResolveModuleMember() private méthode

private ResolveModuleMember ( Boo targetList, string name, EntityType flags ) : bool
targetList Boo
name string
flags EntityType
Résultat bool
        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;
        }