Boo.Lang.Compiler.TypeSystem.ModuleEntity.Resolve C# (CSharp) Method

Resolve() public method

public Resolve ( Boo targetList, string name, EntityType flags ) : bool
targetList Boo
name string
flags EntityType
return bool
        public bool Resolve(Boo.Lang.List targetList, string name, EntityType flags)
        {
            if (ResolveMember(targetList, name, flags)) return true;
            bool found = false;
            foreach (Import import in _module.Imports)
            {
                INamespace ns = (INamespace) TypeSystemServices.GetEntity(import);
                bool currentFound = ns.Resolve(targetList, name, flags);
                found |= currentFound;
                if (currentFound) import.NamespaceUsed = true;
            }
            return found;
        }