title: "Access of shared member, constant member, enum member or nested type through an instance"
body: <p>I wonder <strong>why</strong> Visual Studio is raising this warning:</p>
  
  <blockquote>
    <p>Access of shared member, constant member, enum member or nested type through an instance</p>
  </blockquote>
  
  <p>My code: </p>
  
  <pre><code>Dim a As ApplicationDeployment = deployment.Application.ApplicationDeployment.CurrentDeployment
  
  If System.Deployment.Application.ApplicationDeployment.IsNetworkDeployed Then
      If a.IsNetworkDeployed Then
          ' do something   
      End If
  End If
  </code></pre>
  
  <p>What implies "through an instance"? Also, why is this a "warning"?</p>