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