Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0230
Type and identifier are both required in a foreach statement