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

Resolve() public method

public Resolve ( List targetList, string name, EntityType flags ) : bool
targetList List
name string
flags EntityType
return bool

        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;
        }

Same methods

NamespaceEntity::Resolve ( List targetList, string name, Assembly assembly, EntityType flags ) : bool

Usage Example

Example #1
0
 public bool Resolve(List targetList, string name, EntityType flags)
 {
     return(_subject.Resolve(targetList, name, _assembly, flags));
 }