181 references to Queryable
System.Core (122)
System\Linq\IQueryable.cs (121)
98GetMethodInfo(Queryable.Where, source, predicate), 111GetMethodInfo(Queryable.Where, source, predicate), 122GetMethodInfo(Queryable.OfType<TResult>, source), 133GetMethodInfo(Queryable.Cast<TResult>, source), 146GetMethodInfo(Queryable.Select, source, selector), 159GetMethodInfo(Queryable.Select, source, selector), 172GetMethodInfo(Queryable.SelectMany, source, selector), 185GetMethodInfo(Queryable.SelectMany, source, selector), 200GetMethodInfo(Queryable.SelectMany, source, collectionSelector, resultSelector), 215GetMethodInfo(Queryable.SelectMany, source, collectionSelector, resultSelector), 240GetMethodInfo(Queryable.Join, outer, inner, outerKeySelector, innerKeySelector, resultSelector), 265GetMethodInfo(Queryable.Join, outer, inner, outerKeySelector, innerKeySelector, resultSelector, comparer), 291GetMethodInfo(Queryable.GroupJoin, outer, inner, outerKeySelector, innerKeySelector, resultSelector), 315GetMethodInfo(Queryable.GroupJoin, outer, inner, outerKeySelector, innerKeySelector, resultSelector, comparer), 335GetMethodInfo(Queryable.OrderBy, source, keySelector), 348GetMethodInfo(Queryable.OrderBy, source, keySelector, comparer), 361GetMethodInfo(Queryable.OrderByDescending, source, keySelector), 374GetMethodInfo(Queryable.OrderByDescending, source, keySelector, comparer), 387GetMethodInfo(Queryable.ThenBy, source, keySelector), 400GetMethodInfo(Queryable.ThenBy, source, keySelector, comparer), 413GetMethodInfo(Queryable.ThenByDescending, source, keySelector), 426GetMethodInfo(Queryable.ThenByDescending, source, keySelector, comparer), 437GetMethodInfo(Queryable.Take, source, count), 450GetMethodInfo(Queryable.TakeWhile, source, predicate), 463GetMethodInfo(Queryable.TakeWhile, source, predicate), 474GetMethodInfo(Queryable.Skip, source, count), 487GetMethodInfo(Queryable.SkipWhile, source, predicate), 500GetMethodInfo(Queryable.SkipWhile, source, predicate), 513GetMethodInfo(Queryable.GroupBy, source, keySelector), 528GetMethodInfo(Queryable.GroupBy, source, keySelector, elementSelector), 541GetMethodInfo(Queryable.GroupBy, source, keySelector, comparer), 556GetMethodInfo(Queryable.GroupBy, source, keySelector, elementSelector, comparer), 574GetMethodInfo(Queryable.GroupBy, source, keySelector, elementSelector, resultSelector), 590GetMethodInfo(Queryable.GroupBy, source, keySelector, resultSelector), 606GetMethodInfo(Queryable.GroupBy, source, keySelector, resultSelector, comparer), 624GetMethodInfo(Queryable.GroupBy, source, keySelector, elementSelector, resultSelector, comparer), 635GetMethodInfo(Queryable.Distinct, source), 646GetMethodInfo(Queryable.Distinct, source, comparer), 659GetMethodInfo(Queryable.Concat, source1, source2), 674GetMethodInfo(Queryable.Zip, source1, source2, resultSelector), 687GetMethodInfo(Queryable.Union, source1, source2), 700GetMethodInfo(Queryable.Union, source1, source2, comparer), 717GetMethodInfo(Queryable.Intersect, source1, source2), 730GetMethodInfo(Queryable.Intersect, source1, source2, comparer), 747GetMethodInfo(Queryable.Except, source1, source2), 760GetMethodInfo(Queryable.Except, source1, source2, comparer), 775GetMethodInfo(Queryable.First, source), 788GetMethodInfo(Queryable.First, source, predicate), 799GetMethodInfo(Queryable.FirstOrDefault, source), 812GetMethodInfo(Queryable.FirstOrDefault, source, predicate), 823GetMethodInfo(Queryable.Last, source), 836GetMethodInfo(Queryable.Last, source, predicate), 847GetMethodInfo(Queryable.LastOrDefault, source), 860GetMethodInfo(Queryable.LastOrDefault, source, predicate), 871GetMethodInfo(Queryable.Single, source), 884GetMethodInfo(Queryable.Single, source, predicate), 895GetMethodInfo(Queryable.SingleOrDefault, source), 908GetMethodInfo(Queryable.SingleOrDefault, source, predicate), 921GetMethodInfo(Queryable.ElementAt, source, index), 932GetMethodInfo(Queryable.ElementAtOrDefault, source, index), 943GetMethodInfo(Queryable.DefaultIfEmpty, source), 954GetMethodInfo(Queryable.DefaultIfEmpty, source, defaultValue), 965GetMethodInfo(Queryable.Contains, source, item), 976GetMethodInfo(Queryable.Contains, source, item, comparer), 987GetMethodInfo(Queryable.Reverse, source), 1000GetMethodInfo(Queryable.SequenceEqual, source1, source2), 1013GetMethodInfo(Queryable.SequenceEqual, source1, source2, comparer), 1028GetMethodInfo(Queryable.Any, source), 1041GetMethodInfo(Queryable.Any, source, predicate), 1054GetMethodInfo(Queryable.All, source, predicate), 1065GetMethodInfo(Queryable.Count, source), 1078GetMethodInfo(Queryable.Count, source, predicate), 1089GetMethodInfo(Queryable.LongCount, source), 1102GetMethodInfo(Queryable.LongCount, source, predicate), 1113GetMethodInfo(Queryable.Min, source), 1126GetMethodInfo(Queryable.Min, source, selector), 1137GetMethodInfo(Queryable.Max, source), 1150GetMethodInfo(Queryable.Max, source, selector), 1161GetMethodInfo(Queryable.Sum, source), 1172GetMethodInfo(Queryable.Sum, source), 1183GetMethodInfo(Queryable.Sum, source), 1194GetMethodInfo(Queryable.Sum, source), 1205GetMethodInfo(Queryable.Sum, source), 1216GetMethodInfo(Queryable.Sum, source), 1227GetMethodInfo(Queryable.Sum, source), 1238GetMethodInfo(Queryable.Sum, source), 1249GetMethodInfo(Queryable.Sum, source), 1260GetMethodInfo(Queryable.Sum, source), 1273GetMethodInfo(Queryable.Sum, source, selector), 1286GetMethodInfo(Queryable.Sum, source, selector), 1299GetMethodInfo(Queryable.Sum, source, selector), 1312GetMethodInfo(Queryable.Sum, source, selector), 1325GetMethodInfo(Queryable.Sum, source, selector), 1338GetMethodInfo(Queryable.Sum, source, selector), 1351GetMethodInfo(Queryable.Sum, source, selector), 1364GetMethodInfo(Queryable.Sum, source, selector), 1377GetMethodInfo(Queryable.Sum, source, selector), 1390GetMethodInfo(Queryable.Sum, source, selector), 1401GetMethodInfo(Queryable.Average, source), 1412GetMethodInfo(Queryable.Average, source), 1423GetMethodInfo(Queryable.Average, source), 1434GetMethodInfo(Queryable.Average, source), 1446GetMethodInfo(Queryable.Average, source), 1458GetMethodInfo(Queryable.Average, source), 1469GetMethodInfo(Queryable.Average, source), 1480GetMethodInfo(Queryable.Average, source), 1491GetMethodInfo(Queryable.Average, source), 1502GetMethodInfo(Queryable.Average, source), 1515GetMethodInfo(Queryable.Average, source, selector), 1528GetMethodInfo(Queryable.Average, source, selector), 1542GetMethodInfo(Queryable.Average, source, selector), 1556GetMethodInfo(Queryable.Average, source, selector), 1569GetMethodInfo(Queryable.Average, source, selector), 1582GetMethodInfo(Queryable.Average, source, selector), 1595GetMethodInfo(Queryable.Average, source, selector), 1608GetMethodInfo(Queryable.Average, source, selector), 1621GetMethodInfo(Queryable.Average, source, selector), 1634GetMethodInfo(Queryable.Average, source, selector), 1647GetMethodInfo(Queryable.Aggregate, source, func), 1660GetMethodInfo(Queryable.Aggregate, source, seed, func), 1675GetMethodInfo(Queryable.Aggregate, source, seed, func, selector),
System\Linq\SequenceQuery.cs (1)
205else if (m.Method.DeclaringType == typeof(Queryable)) {
System.Data.Entity (6)
System\Data\Objects\ELinq\ReflectionUtil.cs (1)
498return typeof(Queryable).GetMethods(BindingFlags.Static | BindingFlags.Public).Concat(
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (5)
253return (ObjectQuery<T>)Queryable.Distinct<T>(this); 278return (ObjectQuery<T>)Queryable.Except(this, query); 337return (ObjectQuery<T>)Queryable.Intersect(this, query); 356return (ObjectQuery<TResultType>)Queryable.OfType<TResultType>(this); 575return (ObjectQuery<T>)Queryable.Union(this, query);
System.Data.Linq (13)
ChangeDirector.cs (3)
403Expression where = Expression.Call(typeof(Queryable), "Where", new Type[] { table.ElementType }, table.Expression, pred); 405Expression select = Expression.Call(typeof(Queryable), "Select", new Type[] { table.ElementType, typeof(int?) }, where, selector); 406Expression singleOrDefault = Expression.Call(typeof(Queryable), "SingleOrDefault", new Type[] { typeof(int?) }, select);
DataServices.cs (3)
228return Expression.Call(typeof(Queryable), "Where", new Type[] { table.ElementType }, table.Expression, Expression.Lambda(whereExpression, serverItem)); 266return Expression.Call(typeof(Queryable), "Select", new Type[] { elementType, selector.Body.Type }, query, selector); 475if (mc.Method.DeclaringType != typeof(Queryable)) {
DbConvert.cs (1)
183return Queryable.AsQueryable((IEnumerable)value);
SqlClient\Common\TypeSystem.cs (2)
137_queryMethods = typeof(Queryable).GetMethods(BindingFlags.Static | BindingFlags.Public).ToLookup(m => m.Name); 141throw Error.NoMethodInTypeMatchingArguments(typeof(Queryable));
SqlClient\Query\QueryConverter.cs (1)
2016declType == typeof(System.Linq.Queryable)) {
SqlClient\SqlProvider.cs (2)
1061mce.Method.DeclaringType == typeof(Queryable) || 1348if (mce.Method.DeclaringType == typeof(Queryable) ||
SubqueryRules.cs (1)
34declType == typeof(System.Linq.Queryable)) {
System.Data.Services (14)
System\Data\Services\Parsing\RequestQueryParser.cs (2)
55typeof(Queryable), 85Expression.Call(typeof(Queryable), "Where", new Type[] { source.ElementType }, source.Expression, Expression.Quote(lambda)));
System\Data\Services\Providers\BasicExpandProvider.cs (6)
42private static readonly MethodInfo OrderByMethodInfo = typeof(Queryable) 47private static readonly MethodInfo ThenByMethodInfo = typeof(Queryable) 52private static readonly MethodInfo OrderByDescendingMethodInfo = typeof(Queryable) 57private static readonly MethodInfo ThenByDescendingMethodInfo = typeof(Queryable) 62private static readonly MethodInfo SkipMethodInfo = typeof(Queryable) 67private static readonly MethodInfo TakeMethodInfo = typeof(Queryable)
System\Data\Services\RequestQueryProcessor.cs (3)
286return Queryable.Skip<T>(typedSource, count); 298return Queryable.Take<T>(typedSource, count); 307return Queryable.LongCount<TElement>(query);
System\Data\Services\RequestUriProcessor.cs (3)
997return Queryable.Select<TSource, TResult>(typedSource, typedSelector); 1013return Queryable.SelectMany<TSource, TResult>(typedSource, typedSelector); 1037return Queryable.Where<TSource>(typedQueryable, typedPredicate);
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ReflectionUtil.cs (1)
510return typeof(Queryable).GetMethods(BindingFlags.Static | BindingFlags.Public).Concat(
System.ServiceModel (2)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
357return Queryable.AsQueryable((IEnumerable)val); 593return Queryable.AsQueryable((IEnumerable)val);
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (1)
94return Queryable.AsQueryable((IEnumerable)val);
System.Web (3)
UI\WebControls\QueryExtensions.cs (1)
50Expression methodCallExpression = Expression.Call(typeof(Queryable), methodName,
Util\QueryableUtility.cs (2)
8private static readonly MethodInfo[] _methods = typeof(Queryable).GetMethods(BindingFlags.Public | BindingFlags.Static); 13if (call.Method.IsStatic && call.Method.DeclaringType == typeof(Queryable)) {
System.Web.DynamicData (3)
DynamicData\MetaTable.cs (1)
730Expression ofTypeExpression = Expression.Call(typeof(Queryable), "OfType", new[] { EntityType }, query.Expression);
DynamicData\QueryableFilterUserControl.cs (1)
156MethodCallExpression whereCall = Expression.Call(typeof(Queryable), "Where", new Type[] { source.ElementType }, source.Expression, Expression.Quote(lambda));
DynamicData\Util\Misc.cs (1)
250var expression = Expression.Call(typeof(Queryable), ordering, new Type[] { query.ElementType, lambda.Body.Type }, query.Expression, lambda);
System.Web.Entity (1)
System\Data\WebControls\OrderByBuilder.cs (1)
202expression = Expression.Call(typeof(Queryable), methodName, new Type[] { source.ElementType, memberExpression.Type },
System.Web.Extensions (15)
UI\WebControls\Dynamic.cs (8)
35typeof(Queryable), "Where", 46typeof(Queryable), "Select", 67typeof(Queryable), o.Ascending ? methodAsc : methodDesc, 80typeof(Queryable), "Take", 89typeof(Queryable), "Skip", 102typeof(Queryable), "GroupBy", 111typeof(Queryable), "Any", 119typeof(Queryable), "Count",
UI\WebControls\Expressions\ExpressionHelper.cs (2)
61typeof(Queryable), queryMethod, 72typeof(Queryable), queryableMethod,
UI\WebControls\Expressions\OfTypeExpression.cs (1)
75return typeof(Queryable).GetMethod("OfType").MakeGenericMethod(new Type[] { type });
UI\WebControls\QueryableDataSourceHelper.cs (4)
38return Queryable.AsQueryable(new string[] { oString }); 48return Queryable.AsQueryable(oEnumerable); 55return Queryable.AsQueryable(genericList); 62return Queryable.AsQueryable(list);