Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0575
Only class types can contain destructors