Navigation: X# 文档 > X# 编译器错误和警告
Error XS8414
foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance or extension definition for '{1}'. Did you mean 'await foreach' rather than 'foreach'?