Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8662
Field-like event '{0}' cannot be 'readonly'.