Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8160
A readonly field cannot be returned by reference