Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0578
The Conditional attribute is not valid on '{0}' because its return type is not void