title: CA1063 Remove finalizer from class and add it in the code where disposing is false
body: <p>I have been trying to avoid this warning, what I have tried and understand according to <a href="https://docs.microsoft.com/de-de/visualstudio/code-quality/ca1063?view=vs-2019" rel="nofollow noreferrer">CA1063: Implement IDisposable correctly</a> is that the finalizer should just include the Dispose method in false. And the rest of the code should be written somewhere else. I tried implement like, the example from Microsoft, but when I add the Dispose method, appears an error saying that the dispose method already exists, the only Dispose that already exists its in the Designer. Is the designer the one who is causing trouble?</p>
  <pre><code>~TimerUpdate()
  {
      Dispose(false);
      try
      {
          this.matlab = null;
          this.command = null;
      }
      catch(Exception ex)
      {
          Console.WriteLine(&quot;Exception in &quot; + this.GetType().Name + &quot;.cs: &quot; + System.Reflection.MethodBase.GetCurrentMethod().Name + &quot;(): &quot; + ex.Message);
          this.Dispose();
      }
  }
  
  private void TimerUpdate_FormClosing(object sender, FormClosingEventArgs e)
  {
      try
      {
          this.updateRateBox_ValueChanged(sender, e);
          this.updateRateCAN_ValueChanged(sender, e);
          this.matlab = null;
          this.Dispose();
      }
      catch(Exception ex)
      {
          Console.WriteLine(&quot;Exception in &quot; + this.GetType().Name + &quot;.cs: &quot; + System.Reflection.MethodBase.GetCurrentMethod().Name + &quot;(): &quot; + ex.Message);
          this.Dispose();
      }
  }
  </code></pre>