title: error CS0027: Keyword 'this' is not available in the current context
body: <p>I have the following initialization of a constructor:</p>
  
  <pre><code>public partial class WizardPage1 : WizardPage
  {
      public WizardPage1()
          : base(0, getLocalizedString(this.GetType(), "PageTitle"))
      {
      }
  }
  </code></pre>
  
  <p>where</p>
  
  <pre><code>public static string getLocalizedString(Type type, string strResID)
  {
  }
  </code></pre>
  
  <p>but <code>this.GetType()</code> part causes the following error:</p>
  
  <blockquote>
    <p>error CS0027: Keyword 'this' is not available in the current context</p>
  </blockquote>
  
  <p>Any idea how to resolve it?</p>