Call GC.SuppressFinalize to suppress finalization of your instance once Dispose has been called. Objects that implement IDisposable ...

Call GC.SuppressFinalize to suppress finalization of your instance once Dispose has been called. Objects that implement IDisposable should call SuppressFinalize from the IDisposable.Dispose method to prevent the garbage collector from calling Object.Finalize on an object that does not require it.