TypeSpec LookupNestedTypeInHierarchy (string name, int arity)
{
// Has any nested type
// Does not work, because base type can have
//if (PartialContainer.Types == null)
// return null;
var container = PartialContainer.CurrentType;
return MemberCache.FindNestedType (container, name, arity);
}