Navigation: X# 文档 > X# 编译器错误和警告
Error XS8664
'{0}': 'readonly' can only be used on accessors if the property or indexer has both a get and a set accessor