Navigation: X# 文档 > X# 编译器错误和警告
Error XS1667
Attribute '{0}' is not valid on property or event accessors. It is only valid on '{1}' declarations.