Navigation: X# 文档 > X# 编译器错误和警告
Error XS8419
The body of an async-iterator method must contain a 'yield' statement.