title: is inaccessible due to its protection level
body: <p>I have partial class as follows</p>
  
  <pre><code>public partial class ThisAddIn
  {
      static string MD5Hash { get; set; }
      static string SHA1Hash { get; set; }
  }
  </code></pre>
  
  <p>and two static properties. When I set the static property, I got error in static method.</p>
  
  <pre><code>public static void ComputeSHA1Hash(object filePath)
  {
      using (var stream = new FileStream((string)filePath, FileMode.Open, FileAccess.Read))
      {
          using (var sha1gen = new SHA1CryptoServiceProvider())
          {
              sha1gen.ComputeHash(stream);
              ThisAddIn.SHA1Hash = BitConverter.ToString(sha1gen.Hash).Replace("-", "").ToLower();
          }
      }
  }
  </code></pre>