* MSBuild.cs (Execute): Don't share target output items,
[mcs.git] / errors / cs1624.cs
blobf27651240c19a23f168f6234e1e70cef3288cbb6
1 // cs1624.cs: The body of `X.Test(int)' cannot be an iterator block because `System.Collections.ArrayList' is not an iterator interface type
2 // Line: 8
3 using System;
4 using System.Collections;
6 class X
8 public static ArrayList Test (int a)
10 yield return 0;
13 static void Main ()
15 IEnumerable a = Test (3);
16 Console.WriteLine (a);