Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0502
'{0}' cannot be both abstract and sealed