`System.Private.Xml.dll` has the BlockReflectionAttribute which blocks reflection on the private types/methods defined in the assembly. We may also need to make the methods to be public so that we can reflect them.