Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / tests / gtest-iter-25.cs
1 using System.Collections.Generic;
2
3 namespace Test
4 {
5         public static class Program
6         {
7                 public static void Main ()
8                 {
9                         foreach (var a in Test ())
10                                 Test ();
11                 }
12
13                 public static IEnumerable<object> Test ()
14                 {
15                         lock (new object ()) {
16                                 yield return null;
17                                 yield break;
18                         }
19                 }
20         }
21 }