[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / gtest-iter-31.cs
blob5bd2ea079a9adbd9d98042f8f6b0bdbc06ee4ab0
1 using System.Collections.Generic;
2 using System.Linq;
4 class B
6 public object Foo (object obj)
8 return null;
12 class C
14 B ctx = new B ();
16 public static void Main ()
18 foreach (var c in new C ().Test ()) {
22 IEnumerable<ushort> Test ()
24 string[] s = new[] { "a", "b", "c" };
26 var m = s.Select (l => ctx.Foo (l)).ToArray ();
28 yield break;