protected BaseList GetBaseList() => !Any(Bases) ? null : BaseLists.Create( Bases.Select(b => new BaseType(b.Name, Any(b.TypeArguments) ? new TypeArgumentList( b.TypeArguments.Select(typeArgument => new TypeArgumentListAssociation(typeArgument)).ToList()) : null)).ToArray());
private static BaseList GetBaseList(string baseType) => BaseLists.Create(new BaseType(baseType));