InternalsVisibleTo (from Jamie Cansdale)
InternalsVisibleTo (from Jamie Cansdale)
Submitted by pelikhan on Fri, 13/08/2004 - 14:51.Jamie Cansdale has found a hidden gem in .Net 2.0: the much awaited InternalsVisibleTo attribute. This attribute let's you specify the name of an assembly that can view the internals... That's perfect for testing internal classes.
http://weblogs.asp.net/nunitaddin/archive/2004/08/13/214130.aspx
