Navigation: X# 文档 > X# 编译器错误和警告
Error XS8661
Cannot specify 'readonly' modifiers on both accessors of property or indexer '{0}'. Instead, put a 'readonly' modifier on the property itself.