Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2011-02-08 14:20:54 +0300
committerMarek Safar <marek.safar@gmail.com>2011-02-08 14:22:14 +0300
commit8dd4acf57a00256b56e74c7c659b64611af6e0f7 (patch)
treef0ef90e2660a43b84a333931ad0867f64f934ec2 /mcs/tests/gtest-linq-27.cs
parentfcd39a34a4f6a054eda99e982d55970a58322826 (diff)
New test.
Diffstat (limited to 'mcs/tests/gtest-linq-27.cs')
-rw-r--r--mcs/tests/gtest-linq-27.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/gtest-linq-27.cs b/mcs/tests/gtest-linq-27.cs
new file mode 100644
index 00000000000..e05bb5da4c8
--- /dev/null
+++ b/mcs/tests/gtest-linq-27.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Linq;
+
+class C
+{
+ public static void Main ()
+ {
+ string[] values = new string [] { "1" };
+ string[] values2 = new string [] { "Z" };
+
+ var q = values.Select (l => l).Select (all =>
+ (from b in values2
+ let t = "".Any(_ => b == "a")
+ select t));
+
+ foreach (var e in q)
+ {
+ }
+ }
+}
+