Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8664
'{0}': 'readonly' can only be used on accessors if the property or indexer has both a get and a set accessor