Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0617
'{0}' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, or const, or read-write properties which are public and not static.