[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0446-2.cs
1 // CS0446: Foreach statement cannot operate on a `anonymous method'
2 // Line: 8
3
4 class C
5 {
6         static void M ()
7         {
8                 foreach (int i in delegate { } )
9                 {
10                 }
11         }
12 }