Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8374
Cannot ref-assign '{1}' to '{0}' because '{1}' has a narrower escape scope than '{0}'.