title: CS1518: Expected class, delegate, enum, interface, or struct
body: <p>I am trying to write a new XSLT package. The code that I am using is</p>
  
  <pre><code>public virtual string CustomShowInventoryTable(String sProductID, String sVariantID)
  {
          StringBuilder results = new StringBuilder("");
          if (AppLogic.AppConfigBool("ShowInventoryTable"))
          {
              results.Append(AppLogic.GetInventoryTable(ProductID, VariantID, true,     ThisCustomer.SkinID, true, false));
          }
          return results.ToString();
  }
  </code></pre>
  
  <p>The error I am getting is </p>
  
  <p><strong>Compiler Error Message:</strong> </p>
  
  <pre><code>CS1518: Expected class, delegate, enum, interface, or struct
  </code></pre>
  
  <p>I have tried checking the ( and ) within the file but I still get this compiled error.</p>