ReSharper 2024.3 Help

Code inspection: 'GC.SuppressFinalize' is invoked for type without destructor

The GC.SuppressFinalize() system method is designed to prevent calling the finalizer on the specified object. If an object does not have a destructor, invoking SuppressFinalize on this object has no effect and ReSharper flags such call as redundant.

To learn more how the destructor works, see Object.Finalize Method.

Last modified: 11 February 2024