2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1579.cs
blob16105549990fdee051d9ab9a53fc934376e0e2ee
1 // cs1579.cs: foreach statement cannot operate on variables of type `X' because it does not contain a definition for `GetEnumerator' or is not accessible
2 // Line: 10
3 class X {
6 class Y {
7 void yy (X b)
10 foreach (object a in b)