Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8154
The body of '{0}' cannot be an iterator block because '{0}' returns by reference