[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / gtest-164.cs
blobf0f7bd531f366e1c5a3dbde52583edac6c64c612
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
5 public delegate int Int2Int (int i);
7 public class FunEnumerable
9 int size;
10 Int2Int f;
12 public FunEnumerable(int size, Int2Int f)
14 this.size = size; this.f = f;
17 public IEnumerator<int> GetEnumerator()
19 yield return f (size);
23 class X
25 public static void Main ()
26 { }