Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8412
Asynchronous foreach requires that the return type '{0}' of '{1}' must have a suitable public 'MoveNextAsync' method and public 'Current' property