[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the InternalsVisibleToAttribute class with the name of the specified friend assembly.
Assembly: mscorlib (in mscorlib.dll)
The constructor defines a friend assembly, which is an assembly that has access to the internal types and members of the current assembly.
Both the current assembly and the friend assembly must be unsigned, or both must be signed with a strong name. If both are unsigned, the assemblyName parameter consists of the name of the friend assembly, specified without a directory path or file extension. If both are signed, assemblyName consists of the name of the friend assembly along with its full public key (but not its public key token). The other components of a strong name, such as those that provide culture, version, or processor architecture information, cannot be specified in the assemblyName parameter.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.