[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / tests / test-partial-12.cs
1 // Compiler options: -langversion:default
2
3 using System;
4
5 namespace Test1
6 {
7         public partial class Foo
8         {
9            internal static System.Collections.IEnumerable E ()
10            {
11                    yield return "a";
12            }
13         }
14 }
15
16 class X
17 {
18         public static int Main ()
19         {
20                 foreach (string s in Test1.Foo.E())
21                 {
22                         Console.WriteLine (s);
23                         if (s != "a")
24                                 return 1;
25                         
26                         return 0;
27                 }
28                 return 2;
29         }
30 }