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