Comment Comment by mvdtnz This exists (in kind of a hacky way) in C# with the ExternalsVisibleTo attribute. It exposes methods and classes only to specified assemblies (like your unit test assemblies).https://learn.microsoft.com/en-us/dotnet/api/system.runtime.... parent mvdtnz 3 years ago
https://learn.microsoft.com/en-us/dotnet/api/system.runtime....