Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8420
The body of an async-iterator method must contain a 'yield' statement. Consider removing 'async' from the method declaration or adding a 'yield' statement.