title: How discretely defined visibility of my assemblies types?
body: <p>I'm using the <em>.NET 4.5.2</em> and need access from assembly B a <em>ClassA</em> defined in assembly A, but want declare <em>ClassA</em> as internal to avoid access from other assemblies to it.</p>
  
  <p>I don't want use <em>InternalsVisibleTo</em> because I don't want all the assembly A types internal end exposed to the assembly B.</p>
  
  <p>Summarizing: I need discretely defined visibility of my assemblies types. Is that possible?</p>
  
  <p>EDIT: <a href="https://msdn.microsoft.com/en-us/library/system.security.permissions.strongnameidentitypermission.aspx" rel="nofollow">StrongNameIdentityPermissionAttribute</a> is very similar to what I need, but I just don't want the types be public, because I want them hided at the compiling time too.</p>