Navigation: X# Documentation > X# Compiler Errors and Warnings
Warning XS0657
'{0}' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are '{1}'. All attributes in this block will be ignored.