Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS7085
By-reference return type 'ref {0}' is not supported.