monotouch uses the real HttpWebRequest
[mcs.git] / tests / gtest-linq-16.cs
blob162d8fa124bd429c79db81ffbdcb375e3393b731
1 using System;
2 using System.Linq;
3 using System.Collections.Generic;
5 class C
7 public static void Main ()
9 Test_1 (5);
10 Test_2 ();
13 static void Test_1 (int x)
15 Func<IEnumerable<int>> v = () =>
16 from a in new int[] { 5, 10 }
17 let b = a
18 select b + x;
21 static void Test_2 ()
23 Func<int, Func<IEnumerable<int>>> vv = (x) =>
24 () =>
25 from a in new int[] { 5, 10 }
26 let b = a
27 select b + x;