Open sandboxFocus

Method AreInternalsVisibleToCurrentProject

AreInternalsVisibleToCurrentProject(Assembly)

Determines whether the internals of a given assembly are visible to the current project.

Declaration
public static bool AreInternalsVisibleToCurrentProject(this Assembly definingAssembly)
Parameters
Type Name Description
Assembly definingAssembly

The assembly containing the internal declaration.

Returns
Type Description
bool

true if definingAssembly equals the assembly being processed or if definingAssembly contains an InternalsVisibleToAttribute attribute for the assembly being processed, otherwise false.