Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8660
Cannot specify 'readonly' modifiers on both property or indexer '{0}' and its accessor. Remove one of them.