Merge pull request #15293 from lewing/wasm-clean
[mono-project.git] / mcs / tests / gtest-490.cs
blob5725d0948a4afc870fbf671eee33cadc42d779d8
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
5 interface IFoo : IEnumerable<Foo>
9 class Foo : IFoo
11 List<Foo> _fooList = new List<Foo> ();
13 IEnumerator<Foo> IEnumerable<Foo>.GetEnumerator ()
15 return _fooList.GetEnumerator ();
18 public IEnumerator GetEnumerator ()
20 return _fooList.GetEnumerator ();
23 public static void Main ()