title: Need clarification on scope of Friend and Protected Friend
body: <p>Okay, I'm having some headaches regarding the <code>Friend</code> and <code>Protected Friend</code> qualifiers. The information I read everywhere looks like legal language to me. Some like simpler legal language, but still legal language.</p>
  
  <p>So, I'll try to provide a framework of thought in pseudo-VB:</p>
  
  <p>Suppose I have <strong>AssemblyOne</strong>:</p>
  
  <pre><code>Public Class classA_One
    Public memberPub
    Private memberPriv
    Protected memberProt
    Friend memberFri
    ProtectedFriend memberProFri
  End Class
  
  Public Class classAB_One
    Inherits classA_One
    ...
  End Class
  
  Public Class classC_One
    Dim objA_One as classA_One
  End Class
  </code></pre>
  
  <p>Someone else (a colleage) takes my generated .dll, references it, and creates <strong>AssemblyTwo</strong>:</p>
  
  <pre><code>Public Class ClassAD_Two
    Inherits classA_One
    ...
  End Class
  
  Public Class classE_Two
    Dim objA_One as classA_One
  End Class
  </code></pre>
  
  <p>What I want to know is the visibility of the members of <code>classA_One</code>. I am sure that:</p>
  
  <ul>
  <li><code>memberPub</code> is visible everywhere</li>
  <li><code>memberPriv</code> can be seen only within <code>classA_One</code></li>
  <li><code>memberProt</code> can be seen in <code>classA_One</code>, <code>classAB_One</code>, and <code>classAD_One</code></li>
  </ul>
  
  <p>What I'm not sure is the visibility of the other two members of <code>classA_One</code>.</p>
  
  <p>Can someone help me?</p>
  
  <p>TIA.</p>