E2290 Cannot mix destructors with IDisposable (Delphi)

From RAD Studio
Jump to: navigation, search

Go Up to Error and Warning Messages (Delphi)

The compiler will generate IDisposable support for a class that declares a destructor override named "Destroy". You cannot manually implement IDisposable and implement a destructor on the same class.