[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git] / mcs / tests / test-791.cs
blob2e5ccca3328e9ff51945cf169b573b0e8cc83a8e
1 using System;
2 using System.Collections;
4 namespace testApp
6 public interface IA
8 bool GetEnumerator ();
11 public interface IC : IA, IEnumerable
15 public class TestApp : IC
17 public static int Main ()
19 IC ic = new TestApp ();
20 foreach (int v in ic) {
23 return 0;
26 #region IA Members
28 public bool GetEnumerator ()
30 throw new NotImplementedException ();
33 #endregion
35 #region IEnumerable Members
37 IEnumerator IEnumerable.GetEnumerator ()
39 return new int[0].GetEnumerator ();
42 #endregion