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