[bcl] Update BCL Linked Size
[mono-project.git] / mcs / errors / cs1624.cs
blob840c36e1801ca260d795483999afb78fd67d732b
1 // CS1624: 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);