ReflectionHelper.AreInternalsVisibleTo Method |
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.9.11.0 (6.9.11.0)
public static bool AreInternalsVisibleTo( this Assembly definingAssembly, Assembly referencingAssembly )
Parameters
- definingAssembly
- Type: System.Reflection.Assembly
The assembly defining the InternalsVisibleToAttribute attribute. - referencingAssembly
- Type: System.Reflection.Assembly
The assembly referenced by the InternalsVisibleToAttribute attribute.
Return Value
Type: Booleantrue if definingAssembly equals referencingAssembly or if definingAssembly contains an InternalsVisibleToAttribute attribute for referencingAssembly, otherwise false.