Revert "Rewrite HasGetConstructorMethod so it works on VS and other compilers" and test solution provided by @bnoordhuis