Added private reflection as a stopgap so that we can disable InternalsVisibleTo. We should eventually remove all use of private reflection in tests. _Originally posted by @stephentoub in https://github.com/modelcontextprotocol/csharp-sdk/pull/46#discussion_r2008022084_