Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8157
Cannot return '{0}' by reference because it was initialized to a value that cannot be returned by reference