Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8415
Asynchronous 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 'foreach' rather than 'await foreach'?