SuppressFinalize on Class with no finalizer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We are using FxCOP in our coding process and implementing the Dispose pattern
in some of our classes. Our resources are not unmanaged, so Finalizers are
not necessary.

Is there any harm in calling SuppressFinalize and passing an object that
does not implement a finalizer?
 
Is there any harm in calling SuppressFinalize and passing an object that
does not implement a finalizer?

No, but there's also no point in doing it. So why are you doing that?


Mattias
 
Back
Top