Author: marek Date: 2008-02-18 10:07:33 -0500 (Mon, 18 Feb 2008) New Revision: 96063
Modified: trunk/mcs/tests/gtest-337.cs trunk/mcs/tests/gtest-anon-17.cs trunk/mcs/tests/gtest-anon-18.cs trunk/mcs/tests/gtest-anon-19.cs trunk/mcs/tests/gtest-anontype-01.cs trunk/mcs/tests/gtest-anontype-02.cs trunk/mcs/tests/gtest-anontype-03.cs trunk/mcs/tests/gtest-anontype-04.cs trunk/mcs/tests/gtest-anontype-05.cs trunk/mcs/tests/gtest-anontype-06.cs trunk/mcs/tests/gtest-anontype-07.cs trunk/mcs/tests/gtest-autoproperty-01.cs trunk/mcs/tests/gtest-autoproperty-02.cs trunk/mcs/tests/gtest-autoproperty-03.cs trunk/mcs/tests/gtest-collectioninit-01.cs trunk/mcs/tests/gtest-collectioninit-02.cs trunk/mcs/tests/gtest-exmethod-01.cs trunk/mcs/tests/gtest-exmethod-02-lib.cs trunk/mcs/tests/gtest-exmethod-02.cs trunk/mcs/tests/gtest-exmethod-03.cs trunk/mcs/tests/gtest-exmethod-04-lib.cs trunk/mcs/tests/gtest-exmethod-04.cs trunk/mcs/tests/gtest-exmethod-05.cs trunk/mcs/tests/gtest-exmethod-06.cs trunk/mcs/tests/gtest-exmethod-07.cs trunk/mcs/tests/gtest-exmethod-08.cs trunk/mcs/tests/gtest-exmethod-09.cs trunk/mcs/tests/gtest-exmethod-10.cs trunk/mcs/tests/gtest-exmethod-11.cs trunk/mcs/tests/gtest-exmethod-12.cs trunk/mcs/tests/gtest-exmethod-13.cs trunk/mcs/tests/gtest-exmethod-14.cs trunk/mcs/tests/gtest-exmethod-15.cs trunk/mcs/tests/gtest-implicitarray-01.cs trunk/mcs/tests/gtest-initialize-01.cs trunk/mcs/tests/gtest-initialize-02.cs trunk/mcs/tests/gtest-initialize-03.cs trunk/mcs/tests/gtest-initialize-04.cs trunk/mcs/tests/gtest-initialize-05.cs trunk/mcs/tests/gtest-initialize-06.cs trunk/mcs/tests/gtest-linq-01.cs trunk/mcs/tests/gtest-linq-02.cs trunk/mcs/tests/gtest-linq-03.cs trunk/mcs/tests/gtest-linq-04.cs trunk/mcs/tests/gtest-linq-05.cs trunk/mcs/tests/gtest-linq-06.cs trunk/mcs/tests/gtest-linq-07.cs trunk/mcs/tests/gtest-linq-08.cs trunk/mcs/tests/gtest-linq-09.cs trunk/mcs/tests/gtest-linq-10.cs trunk/mcs/tests/gtest-linq-11.cs trunk/mcs/tests/gtest-linq-12.cs trunk/mcs/tests/gtest-partial-01.cs trunk/mcs/tests/gtest-partial-02.cs trunk/mcs/tests/gtest-partial-03.cs trunk/mcs/tests/gtest-var-01.cs trunk/mcs/tests/gtest-var-02.cs trunk/mcs/tests/gtest-var-03.cs trunk/mcs/tests/gtest-var-04.cs trunk/mcs/tests/gtest-var-05.cs trunk/mcs/tests/gtest-var-06.cs trunk/mcs/tests/gtest-var-07.cs trunk/mcs/tests/gtest-var-08.cs trunk/mcs/tests/ltest-01.cs trunk/mcs/tests/ltest-02.cs trunk/mcs/tests/ltest-03.cs trunk/mcs/tests/ltest-04.cs trunk/mcs/tests/ltest-05.cs trunk/mcs/tests/ltest-07.cs trunk/mcs/tests/ltest-08.cs trunk/mcs/tests/ltest-09.cs trunk/mcs/tests/ltest-10.cs trunk/mcs/tests/ltest-11.cs trunk/mcs/tests/ltest-12.cs Log: Removed deprecated -langversion:linq Modified: trunk/mcs/tests/gtest-337.cs =================================================================== --- trunk/mcs/tests/gtest-337.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-337.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; class X { Modified: trunk/mcs/tests/gtest-anon-17.cs =================================================================== --- trunk/mcs/tests/gtest-anon-17.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anon-17.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Supported by C# 3.0 public class C Modified: trunk/mcs/tests/gtest-anon-18.cs =================================================================== --- trunk/mcs/tests/gtest-anon-18.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anon-18.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Supported by C# 3.0 public class C Modified: trunk/mcs/tests/gtest-anon-19.cs =================================================================== --- trunk/mcs/tests/gtest-anon-19.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anon-19.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + // Test case for bug: #349034 using System; Modified: trunk/mcs/tests/gtest-anontype-01.cs =================================================================== --- trunk/mcs/tests/gtest-anontype-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anontype-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests anonymous types using System; using System.Collections; Modified: trunk/mcs/tests/gtest-anontype-02.cs =================================================================== --- trunk/mcs/tests/gtest-anontype-02.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anontype-02.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests anonymous types initialized with local variables using System; using System.Collections; Modified: trunk/mcs/tests/gtest-anontype-03.cs =================================================================== --- trunk/mcs/tests/gtest-anontype-03.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anontype-03.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests anonymous types initialized with object members using System; using System.Collections; Modified: trunk/mcs/tests/gtest-anontype-04.cs =================================================================== --- trunk/mcs/tests/gtest-anontype-04.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anontype-04.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests anonymous types initialized with a mix of literals, local variables and object members using System; using System.Collections; Modified: trunk/mcs/tests/gtest-anontype-05.cs =================================================================== --- trunk/mcs/tests/gtest-anontype-05.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anontype-05.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests anonymous type consolidation using System; Modified: trunk/mcs/tests/gtest-anontype-06.cs =================================================================== --- trunk/mcs/tests/gtest-anontype-06.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anontype-06.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + // "cast by example" test class CastByExample Modified: trunk/mcs/tests/gtest-anontype-07.cs =================================================================== --- trunk/mcs/tests/gtest-anontype-07.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-anontype-07.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections; Modified: trunk/mcs/tests/gtest-autoproperty-01.cs =================================================================== --- trunk/mcs/tests/gtest-autoproperty-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-autoproperty-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests automatic properties using System; Modified: trunk/mcs/tests/gtest-autoproperty-02.cs =================================================================== --- trunk/mcs/tests/gtest-autoproperty-02.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-autoproperty-02.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests static automatic properties using System; Modified: trunk/mcs/tests/gtest-autoproperty-03.cs =================================================================== --- trunk/mcs/tests/gtest-autoproperty-03.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-autoproperty-03.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Make sure that the field and accessor methods of an automatic property have the CompilerGenerated attribute using System; using System.Reflection; Modified: trunk/mcs/tests/gtest-collectioninit-01.cs =================================================================== --- trunk/mcs/tests/gtest-collectioninit-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-collectioninit-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests collection initialization using System; Modified: trunk/mcs/tests/gtest-collectioninit-02.cs =================================================================== --- trunk/mcs/tests/gtest-collectioninit-02.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-collectioninit-02.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System.Collections.Generic; public class C Modified: trunk/mcs/tests/gtest-exmethod-01.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; static class SimpleTest Modified: trunk/mcs/tests/gtest-exmethod-02-lib.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-02-lib.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-02-lib.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -t:library -langversion:linq +// Compiler options: -t:library using System; Modified: trunk/mcs/tests/gtest-exmethod-02.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-02.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-02.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -r:gtest-exmethod-02-lib.dll -langversion:linq +// Compiler options: -r:gtest-exmethod-02-lib.dll using System; Modified: trunk/mcs/tests/gtest-exmethod-03.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-03.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-03.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; namespace A Modified: trunk/mcs/tests/gtest-exmethod-04-lib.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-04-lib.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-04-lib.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -t:library -langversion:linq +// Compiler options: -t:library using System; Modified: trunk/mcs/tests/gtest-exmethod-04.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-04.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-04.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -r:gtest-exmethod-04-lib.dll -langversion:linq +// Compiler options: -r:gtest-exmethod-04-lib.dll namespace A { Modified: trunk/mcs/tests/gtest-exmethod-05.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-05.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-05.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + namespace A { public static class Test_A Modified: trunk/mcs/tests/gtest-exmethod-06.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-06.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-06.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + public static class Gen { public static T Test_1<T> (this T t) Modified: trunk/mcs/tests/gtest-exmethod-07.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-07.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-07.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System.Collections.Generic; interface IA Modified: trunk/mcs/tests/gtest-exmethod-08.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-08.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-08.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // It tests collision between multiple external methods and also whether // we import external methods when same namespace does not exist locally Modified: trunk/mcs/tests/gtest-exmethod-09.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-09.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-09.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + static class Test { public static void Foo<T> (this string p1) Modified: trunk/mcs/tests/gtest-exmethod-10.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-10.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-10.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; static class AExtensions Modified: trunk/mcs/tests/gtest-exmethod-11.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-11.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-11.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; public class Test Modified: trunk/mcs/tests/gtest-exmethod-12.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-12.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-12.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Specialized; Modified: trunk/mcs/tests/gtest-exmethod-13.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-13.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-13.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; Modified: trunk/mcs/tests/gtest-exmethod-14.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-14.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-14.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; public interface IA Modified: trunk/mcs/tests/gtest-exmethod-15.cs =================================================================== --- trunk/mcs/tests/gtest-exmethod-15.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-exmethod-15.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Reflection; Modified: trunk/mcs/tests/gtest-implicitarray-01.cs =================================================================== --- trunk/mcs/tests/gtest-implicitarray-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-implicitarray-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests implicitly typed arrays public class Test Modified: trunk/mcs/tests/gtest-initialize-01.cs =================================================================== --- trunk/mcs/tests/gtest-initialize-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-initialize-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests object initialization using System; using System.Collections; Modified: trunk/mcs/tests/gtest-initialize-02.cs =================================================================== --- trunk/mcs/tests/gtest-initialize-02.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-initialize-02.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Uber-test for object and collection initialization using System; using System.Collections.Generic; Modified: trunk/mcs/tests/gtest-initialize-03.cs =================================================================== --- trunk/mcs/tests/gtest-initialize-03.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-initialize-03.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections; Modified: trunk/mcs/tests/gtest-initialize-04.cs =================================================================== --- trunk/mcs/tests/gtest-initialize-04.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-initialize-04.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; Modified: trunk/mcs/tests/gtest-initialize-05.cs =================================================================== --- trunk/mcs/tests/gtest-initialize-05.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-initialize-05.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + struct Point { public int X, Y; Modified: trunk/mcs/tests/gtest-initialize-06.cs =================================================================== --- trunk/mcs/tests/gtest-initialize-06.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-initialize-06.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + struct Point { public int X, Y; Modified: trunk/mcs/tests/gtest-linq-01.cs =================================================================== --- trunk/mcs/tests/gtest-linq-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-02.cs =================================================================== --- trunk/mcs/tests/gtest-linq-02.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-02.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-03.cs =================================================================== --- trunk/mcs/tests/gtest-linq-03.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-03.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-04.cs =================================================================== --- trunk/mcs/tests/gtest-linq-04.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-04.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-05.cs =================================================================== --- trunk/mcs/tests/gtest-linq-05.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-05.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-06.cs =================================================================== --- trunk/mcs/tests/gtest-linq-06.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-06.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-07.cs =================================================================== --- trunk/mcs/tests/gtest-linq-07.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-07.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-08.cs =================================================================== --- trunk/mcs/tests/gtest-linq-08.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-08.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; class TestA Modified: trunk/mcs/tests/gtest-linq-09.cs =================================================================== --- trunk/mcs/tests/gtest-linq-09.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-09.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-10.cs =================================================================== --- trunk/mcs/tests/gtest-linq-10.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-10.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-11.cs =================================================================== --- trunk/mcs/tests/gtest-linq-11.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-11.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; using System.Linq; Modified: trunk/mcs/tests/gtest-linq-12.cs =================================================================== --- trunk/mcs/tests/gtest-linq-12.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-linq-12.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,12 +1,20 @@ -// Compiler options: -langversion:linq + using System; using System.Linq; class NestedQuery -{ +{ + public void XX () + { + var enumerable = new string[] { "aba", "bbb", "bab", "aaa" }. + Select((values) => new { values = values, length = values.Length }). + Select((ti0) => ti0.values.Select ((type) => new { type = type, x = 9 }).Where((ti1) => (ti0.length == 3)). + Select((ti1) => ti1.type)); + } + public static int Main () - { + {/* var e = from values in new [] { "aba", "bbb", "bab", "aaa" } where values.Length > 0 select from type in values @@ -39,7 +47,7 @@ if (counter != 12) return 2; - + */ return 0; } } Modified: trunk/mcs/tests/gtest-partial-01.cs =================================================================== --- trunk/mcs/tests/gtest-partial-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-partial-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + partial class C { static partial void Partial (int i); Modified: trunk/mcs/tests/gtest-partial-02.cs =================================================================== --- trunk/mcs/tests/gtest-partial-02.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-partial-02.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq -warnaserror +// Compiler options: -warnaserror partial class C { Modified: trunk/mcs/tests/gtest-partial-03.cs =================================================================== --- trunk/mcs/tests/gtest-partial-03.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-partial-03.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + namespace N { using S = System; Modified: trunk/mcs/tests/gtest-var-01.cs =================================================================== --- trunk/mcs/tests/gtest-var-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-var-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests variable type inference with the var keyword when assigning to build-in types using System; Modified: trunk/mcs/tests/gtest-var-02.cs =================================================================== --- trunk/mcs/tests/gtest-var-02.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-var-02.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests variable type inference with the var keyword when assigning to user-defined types using System; Modified: trunk/mcs/tests/gtest-var-03.cs =================================================================== --- trunk/mcs/tests/gtest-var-03.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-var-03.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests variable type inference with the var keyword when using the foreach statement with an array using System; using System.Collections; Modified: trunk/mcs/tests/gtest-var-04.cs =================================================================== --- trunk/mcs/tests/gtest-var-04.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-var-04.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests variable type inference with the var keyword when using the foreach statement with generic collections using System; using System.Collections.Generic; Modified: trunk/mcs/tests/gtest-var-05.cs =================================================================== --- trunk/mcs/tests/gtest-var-05.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-var-05.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests variable type inference with the var keyword when using the "using" statement using System; Modified: trunk/mcs/tests/gtest-var-06.cs =================================================================== --- trunk/mcs/tests/gtest-var-06.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-var-06.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // Tests variable type inference with the var keyword when using the for-statement using System; Modified: trunk/mcs/tests/gtest-var-07.cs =================================================================== --- trunk/mcs/tests/gtest-var-07.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-var-07.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + // Tests `var' keyword contextual parsing public class Test : var Modified: trunk/mcs/tests/gtest-var-08.cs =================================================================== --- trunk/mcs/tests/gtest-var-08.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/gtest-var-08.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; class X Modified: trunk/mcs/tests/ltest-01.cs =================================================================== --- trunk/mcs/tests/ltest-01.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-01.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // // Lambda expression test, basics. // Modified: trunk/mcs/tests/ltest-02.cs =================================================================== --- trunk/mcs/tests/ltest-02.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-02.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // // Lambda expression test overload resolution with parameterless arguments // Modified: trunk/mcs/tests/ltest-03.cs =================================================================== --- trunk/mcs/tests/ltest-03.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-03.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; public delegate TResult Func<TArg0, TResult> (TArg0 arg0); Modified: trunk/mcs/tests/ltest-04.cs =================================================================== --- trunk/mcs/tests/ltest-04.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-04.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + // // This test is used to test the type information flow between arguments // in a generic method invocation, where: Modified: trunk/mcs/tests/ltest-05.cs =================================================================== --- trunk/mcs/tests/ltest-05.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-05.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; public class C Modified: trunk/mcs/tests/ltest-07.cs =================================================================== --- trunk/mcs/tests/ltest-07.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-07.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + // Lambda parser tests delegate void D (); Modified: trunk/mcs/tests/ltest-08.cs =================================================================== --- trunk/mcs/tests/ltest-08.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-08.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Linq; using System.Collections.Generic; Modified: trunk/mcs/tests/ltest-09.cs =================================================================== --- trunk/mcs/tests/ltest-09.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-09.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,4 +1,4 @@ -// Compiler options: -langversion:linq + using System.Collections.Generic; delegate TD Func<TD>(); Modified: trunk/mcs/tests/ltest-10.cs =================================================================== --- trunk/mcs/tests/ltest-10.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-10.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; using System.Collections.Generic; Modified: trunk/mcs/tests/ltest-11.cs =================================================================== --- trunk/mcs/tests/ltest-11.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-11.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; public class Pair<T1, T2> Modified: trunk/mcs/tests/ltest-12.cs =================================================================== --- trunk/mcs/tests/ltest-12.cs 2008-02-18 14:59:36 UTC (rev 96062) +++ trunk/mcs/tests/ltest-12.cs 2008-02-18 15:07:33 UTC (rev 96063) @@ -1,5 +1,5 @@ -// Compiler options: -langversion:linq + using System; public delegate void Func<TA> (TA arg0); _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches