title: Unable to override OnAfterRenderAsync in client side blazor
body: <p>In my Blazor client-side app, I am trying to override <code>OnAfterRenderAsync</code> using </p>
  
  <pre><code>@code {
      protected override async Task OnAfterRenderAsync()
      {
  
      }
  }
  </code></pre>
  
  <p>I get an error </p>
  
  <blockquote>
    <p>no suitable methods to override!?</p>
  </blockquote>
  
  <p>On the other hand this override works just fine:</p>
  
  <pre><code>protected override async Task OnInitializedAsync()
  {
  
  }
  </code></pre>
  
  <p>Any clues what is wrong here?</p>