Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8331
Cannot assign to {0} '{1}' because it is a readonly variable