2009-12-03 Marek Safar <marek.safar@gmail.com>
[mono.git] / mcs / class / System.Core / System.Linq / IQueryable_T.cs
index f944eab28e0fd0922fa9c58c2e8b273f5d75a51f..2a2cda926249d92597dfa0fff8c14d318ef70294 100644 (file)
@@ -5,10 +5,10 @@
 // distribute, sublicense, and/or sell copies of the Software, and to
 // permit persons to whom the Software is furnished to do so, subject to
 // the following conditions:
-// 
+//
 // The above copyright notice and this permission notice shall be
 // included in all copies or substantial portions of the Software.
-// 
+//
 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 //        Marek Safar (mare.safar@gmail.com)
 //
 
-using System;
 using System.Collections.Generic;
-using System.Linq.Expressions;
 
-namespace System.Linq
-{
-        public interface IQueryable<T> : IQueryable, IEnumerable<T>
-        {
-                IQueryable<TElement> CreateQuery<TElement> (Expression expression);
-                TResult Execute<TResult> (Expression expression);
-        }
+namespace System.Linq {
+
+#if NET_4_0
+       public interface IQueryable<out T> : IQueryable, IEnumerable<T>
+#else
+       public interface IQueryable<T> : IQueryable, IEnumerable<T>
+#endif
+       {
+       }
 }