Navigation: X# 文档 > X# 编译器错误和警告
Error XS8412
Asynchronous foreach requires that the return type '{0}' of '{1}' must have a suitable public 'MoveNextAsync' method and public 'Current' property