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

ResolveType() private method

private ResolveType ( List targetList, string name, Dictionary types ) : bool
targetList List
name string
types Dictionary
return bool

        private bool ResolveType(List targetList, string name, Dictionary<string,List<Type>> types)
        {
            if (types.ContainsKey(name))
            {
                foreach (Type type in types[name])
                {
                    targetList.Add(_typeSystemServices.Map(type));

                    // Can't return right away, since we can have several types
                    // with the same name but different number of generic arguments.
                }
                return true;
            }
            return false;
        }