Navigation: X# 文档 > X# 编译器错误和警告
Error XS7066
Yield statements may not appear at the top level in interactive code.