Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8149
By-reference returns may only be used in methods that return by reference