2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / tests / test-563.cs
blob30fd2ed05184eeac93af9c1c269c312bb0b51372
1 // Compiler options: -warn:4 -warnaserror
3 using System;
4 using System.Collections;
6 public class Test
8 internal object TestMethod (TestCollection t)
10 foreach (object x in t)
12 return x;
14 return null;
17 public static void Main ()
22 interface ITestCollection : IEnumerable
24 new IEnumerator GetEnumerator ();
27 interface TestCollection : ITestCollection