Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0711
Static classes cannot contain destructors