Files
mono/mcs/errors/cs1579.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

14 lines
246 B
C#

// cs1579.cs: foreach statement cannot operate on variables of type `X' because it does not contain a definition for `GetEnumerator' or is not accessible
// Line: 10
class X {
}
class Y {
void yy (X b)
{
foreach (object a in b)
;
}
}