title: T4 templates: Error on namespace
body: <p>I am trying to write a class in T4 template. It gives the error: </p>
  
  <pre><code>Compiling transofrmation: Type of namespace definition, or end-of-file expected
  </code></pre>
  
  <p>if I have the following code:</p>
  
  <pre><code>&lt;#+
  namespace Learn {
      public class Converter
      {
  
      }
  }
  #&gt;
  </code></pre>
  
  <p>But it works fine if I remove namespace</p>
  
  <pre><code>&lt;#+
      public class Converter
      {
  
      }
  #&gt;
  </code></pre>
  
  <p>My question is, why T4 doesn't recognize the <code>namespace</code>?</p>