Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8352
Cannot use local '{0}' in this context because it may expose referenced variables outside of their declaration scope