Files
mono/mcs/errors/cs0446.cs
T
Marek Safar a2f7036e73 new tests + update
svn path=/trunk/mcs/; revision=50839
2005-09-27 10:28:59 +00:00

15 lines
175 B
C#

// cs0446.cs: Foreach statement cannot operate on a `method group'
// Line: 8
class C
{
static void M ()
{
foreach (int i in Test)
{
}
}
static void Test () { }
}