Merge pull request #4327 from vkargov/vk-abcremedy
[mono.git] / mcs / tests / test-iter-26.cs
1 using System;
2 using System.Collections;
3
4 class C
5 {
6         public static IEnumerable Test (bool b, int value)
7         {
8                 if (b) {
9                         Console.WriteLine (value);
10                 }
11                 
12                 yield return 1;
13         }
14         
15         public static void Main ()
16         {
17                 Test (true, 5);
18         }
19 }