Supporting resolveall for open generics