1 // CS1579: foreach statement cannot operate on variables of type `Foo' because it does not contain a definition for `GetEnumerator' or is inaccessible
\r
5 using System.Collections;
\r
9 public static void Main ()
\r
12 foreach (object o in f)
\r
13 Console.WriteLine (o);
\r
19 public Func<IEnumerator> GetEnumerator;
\r