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