blob: d9efd93382429913ad63b3b7a6192e51b417a9ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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 () { }
}
|