Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8168
Cannot return local '{0}' by reference because it is not a ref local