Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8165
Cannot return by reference a member of result of '{0}' because the argument passed to parameter '{1}' cannot be returned by reference