New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we make SerializationHelper public #2770
Comments
@kabua Looking at this, it's a bit problematic. The design of this class isn't great for making public as-is. It supports serializing things which implement I presume you'd be interested in more than just that. The more versatile class would be The design of I'd like to think about how this design might be made better before I commit to it. How are you planning to use this? Do you need any kind of extensibility? Or does the existing behavior serve your purposes, and you just need a way to do your own serialization? Given that our serialization exists solely to support Visual Studio's Test Explorer and Thanks! P.S. It's worth noting that I have changed the design here entirely for v3, and the class is now public and supported. |
Marking this class as public on both sides means they end up in different namespaces, to prevent collisions. On the runner side, it lands as The code is mostly identical. The salient difference is that, on the execution side, our type name serialization is aware of assemblies decorated with The big change here, other than becoming public, is that now all types that we support for serialization are being supported by the |
Shipped in v2: |
We're writing our own Discoverer classes and trying to follow the framework's pattern, but we've discovered on a few occasions that we need access to the SerializationHelper class but can't because its access level isn't explicitly defined; thus, it defaults to internal. Can this class be made public?
Thanks.
The text was updated successfully, but these errors were encountered: