avoid using a custom sources file for the net_2_1_raw profile
[mcs.git] / errors / cs0446.cs
blobd9efd93382429913ad63b3b7a6192e51b417a9ac
1 // cs0446.cs: Foreach statement cannot operate on a `method group'
2 // Line: 8
4 class C
6 static void M ()
8 foreach (int i in Test)
13 static void Test () { }