Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8176
Iterators cannot have by reference locals