Navigation: X# 文档 > X# 编译器错误和警告
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.