Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8159
Cannot return the range variable '{0}' by reference