Friend Assemblies

…a new feature in next release of .NET — “Friend Assemblies”, that does precisely what you’re suggesting. It will use an assembly-level custom attribute called “InternalsVisibleTo”, that grants access to a named “friend” assembly (Omer.B in this example) — for all “internal” types…John Lam describes how friend assemblies will be very useful for implementing unit […]