4 instantiations of Expression
System.Core (4)
Microsoft\Scripting\Actions\CallSiteBinder.cs (1)
208
return new
Expression
<T>(
Microsoft\Scripting\Ast\LambdaExpression.cs (2)
245
return new
Expression
<TDelegate>(body, name, tailCall, parameters);
352
return new
Expression
<TDelegate>(body, name, tailCall, parameterList);
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
124
return new
Expression
<T>(newBody, lambda.Name, lambda.TailCall, lambda.Parameters);
229 references to Expression
System.Activities (44)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (4)
252
public static
Expression
<Func<ActivityContext, T>> Compile<T>(string expressionText, CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationExpression)
407
public
Expression
<Func<ActivityContext, T>> Compile<T>(CodeActivityPublicEnvironmentAccessor publicAccessor, bool isLocationReference = false)
415
public
Expression
<Func<ActivityContext, T>> Compile<T>(LocationReferenceEnvironment environment)
425
public
Expression
<Func<ActivityContext, T>> Compile<T>(LocationReferenceEnvironment environment, bool isLocationReference)
Microsoft\VisualBasic\Activities\VisualBasicReference.cs (3)
22
Expression
<Func<ActivityContext, TResult>> expressionTree;
154
private
Expression
<Func<ActivityContext, TResult>> CompileLocationExpression(CodeActivityPublicEnvironmentAccessor publicAccessor, out string validationError)
156
Expression
<Func<ActivityContext, TResult>> expressionTreeToReturn = null;
Microsoft\VisualBasic\Activities\VisualBasicValue.cs (1)
22
Expression
<Func<ActivityContext, TResult>> expressionTree;
System\Activities\Expressions\BinaryExpressionHelper.cs (1)
44
Expression
<Func<TLeft, TRight, TResult>> lambdaExpression = Expression.Lambda<Func<TLeft, TRight, TResult>>(expressionToCompile, leftParameter, rightParameter);
System\Activities\Expressions\ExpressionServices.cs (9)
29
public static Activity<TResult> Convert<TResult>(
Expression
<Func<ActivityContext, TResult>> expression)
42
public static bool TryConvert<TResult>(
Expression
<Func<ActivityContext, TResult>> expression, out Activity<TResult> result)
149
public static Activity<Location<TResult>> ConvertReference<TResult>(
Expression
<Func<ActivityContext, TResult>> expression)
163
public static bool TryConvertReference<TResult>(
Expression
<Func<ActivityContext, TResult>> expression, out Activity<Location<TResult>> result)
409
Expression
<Func<Variable>> funcExpression = Expression.Lambda<Func<Variable>>(methodCallExpression.Object);
551
Expression
<Func<Variable>> funcExpression = Expression.Lambda<Func<Variable>>(methodCallExpression.Object);
606
Expression
<Func<DelegateArgument>> funcExpression = Expression.Lambda<Func<DelegateArgument>>(methodCallExpression.Object);
661
Expression
<Func<DelegateArgument>> funcExpression = Expression.Lambda<Func<DelegateArgument>>(methodCallExpression.Object);
693
Expression
<Func<RuntimeArgument>> expr = Expression.Lambda<Func<RuntimeArgument>>(memberExpression, null);
System\Activities\Expressions\LambdaReference.cs (4)
21
Expression
<Func<ActivityContext, T>> locationExpression;
22
Expression
<Func<ActivityContext, T>> rewrittenTree;
25
public LambdaReference(
Expression
<Func<ActivityContext, T>> locationExpression)
52
this.rewrittenTree = (
Expression
<Func<ActivityContext, T>>)newTree;
System\Activities\Expressions\LambdaValue.cs (4)
22
Expression
<Func<ActivityContext, TResult>> lambdaValue;
23
Expression
<Func<ActivityContext, TResult>> rewrittenTree;
25
public LambdaValue(
Expression
<Func<ActivityContext, TResult>> lambdaValue)
52
this.rewrittenTree = (
Expression
<Func<ActivityContext, TResult>>)newTree;
System\Activities\Expressions\MemberExpressionHelper.cs (1)
48
Expression
<Func<TOperand, TResult>> lambdaExpression = Expression.Lambda<Func<TOperand, TResult>>(memberExpression, operandParameter);
System\Activities\Expressions\MethodCallExpressionHelper.cs (2)
202
Expression
<Func<object, object[], object>> lambdaExpression = Expression.Lambda<Func<object, object[], object>>(block, targetInstance, objectArray);
223
Expression
<Func<object[], TResult>> lambdaExpression = Expression.Lambda<Func<object[], TResult>>(block, objectArray);
System\Activities\Expressions\UnaryExpressionHelper.cs (1)
36
Expression
<Func<TOperand, TResult>> lambdaExpression = Expression.Lambda<Func<TOperand, TResult>>(expressionToCompile, operandParameter);
System\Activities\ExpressionUtilities.cs (3)
262
Expression
<Func<ActivityContext, T>> objectLambda = Expression.Lambda<Func<ActivityContext, T>>(objectExpression, parameters);
1393
Expression
<Func<Argument>> argumentLambda = Expression.Lambda<Func<Argument>>(argumentExpression);
1630
Expression
<Func<LocationReference>> locationReferenceLambda = Expression.Lambda<Func<LocationReference>>(locationReferenceExpression);
System\Activities\InArgument.cs (1)
91
public InArgument(
Expression
<Func<ActivityContext, T>> expression)
System\Activities\InOutArgument.cs (1)
65
public InOutArgument(
Expression
<Func<ActivityContext, T>> expression)
System\Activities\OutArgument.cs (1)
85
public OutArgument(
Expression
<Func<ActivityContext, T>> expression)
System\Activities\Statements\DoWhile.cs (1)
30
public DoWhile(
Expression
<Func<ActivityContext, bool>> condition)
System\Activities\Statements\FlowDecision.cs (1)
25
public FlowDecision(
Expression
<Func<ActivityContext, bool>> condition)
System\Activities\Statements\If.cs (1)
23
public If(
Expression
<Func<ActivityContext, bool>> condition)
System\Activities\Statements\Switch.cs (1)
26
public Switch(
Expression
<Func<ActivityContext, T>> expression)
System\Activities\Statements\While.cs (1)
30
public While(
Expression
<Func<ActivityContext, bool>> condition)
System\Activities\Variable.cs (2)
282
public Variable(
Expression
<Func<ActivityContext, T>> defaultExpression)
291
public Variable(string name,
Expression
<Func<ActivityContext, T>> defaultExpression)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
1493
Type returnType = typeof(
Expression
<>).MakeGenericType(typeof(Func<>).MakeGenericType(expressionDescriptor.ResultType));
System.Core (123)
Microsoft\Scripting\Actions\CallSite.cs (1)
712
var
lambda = Expression.Lambda<T>(
Microsoft\Scripting\Actions\CallSiteBinder.cs (2)
150
Expression
<T> e = Stitch(binding, signature);
168
private static
Expression
<T> Stitch<T>(Expression binding, LambdaSignature<T> signature) where T : class {
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
430
protected internal override Expression VisitLambda<T>(
Expression
<T> node) {
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
347
protected internal override Expression VisitLambda<T>(
Expression
<T> node) {
Microsoft\Scripting\Ast\ExpressionVisitor.cs (2)
361
/// Visits the children of the <see cref="
Expression
<T>" />.
367
protected internal virtual Expression VisitLambda<T>(
Expression
<T> node) {
Microsoft\Scripting\Ast\InvocationExpression.cs (1)
195
Type exprType = TypeUtils.FindGenericType(typeof(
Expression
<>), expression.Type);
Microsoft\Scripting\Ast\LambdaExpression.cs (21)
183
/// Defines a <see cref="
Expression
{TDelegate}"/> node.
226
public
Expression
<TDelegate> Update(Expression body, IEnumerable<ParameterExpression> parameters) {
268
create = typeof(
Expression
<>).MakeGenericType(delegateType).GetMethod("Create", BindingFlags.Static | BindingFlags.NonPublic);
283
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
288
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="P:NodeType"/> property equal to <see cref="P:Lambda"/> and the <see cref="P:Body"/> and <see cref="P:Parameters"/> properties set to the specified values.</returns>
289
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, params ParameterExpression[] parameters) {
294
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
300
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="P:NodeType"/> property equal to <see cref="P:Lambda"/> and the <see cref="P:Body"/> and <see cref="P:Parameters"/> properties set to the specified values.</returns>
301
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, bool tailCall, params ParameterExpression[] parameters) {
306
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
311
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="P:NodeType"/> property equal to <see cref="P:Lambda"/> and the <see cref="P:Body"/> and <see cref="P:Parameters"/> properties set to the specified values.</returns>
312
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, IEnumerable<ParameterExpression> parameters) {
317
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
323
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="P:NodeType"/> property equal to <see cref="P:Lambda"/> and the <see cref="P:Body"/> and <see cref="P:Parameters"/> properties set to the specified values.</returns>
324
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, bool tailCall, IEnumerable<ParameterExpression> parameters) {
329
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
335
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="P:NodeType"/> property equal to <see cref="P:Lambda"/> and the <see cref="P:Body"/> and <see cref="P:Parameters"/> properties set to the specified values.</returns>
336
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, String name, IEnumerable<ParameterExpression> parameters) {
341
/// Creates an <see cref="
Expression
{TDelegate}"/> where the delegate type is known at compile time.
348
/// <returns>An <see cref="
Expression
{TDelegate}"/> that has the <see cref="P:NodeType"/> property equal to <see cref="P:Lambda"/> and the <see cref="P:Body"/> and <see cref="P:Parameters"/> properties set to the specified values.</returns>
349
public static
Expression
<TDelegate> Lambda<TDelegate>(Expression body, String name, bool tailCall, IEnumerable<ParameterExpression> parameters) {
Microsoft\Scripting\Compiler\ExpressionQuoter.cs (1)
77
protected internal override Expression VisitLambda<T>(
Expression
<T> node) {
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
106
internal
Expression
<T> Rewrite<T>(
Expression
<T> lambda) {
Microsoft\Scripting\Compiler\VariableBinder.cs (1)
91
protected internal override Expression VisitLambda<T>(
Expression
<T> node) {
System\Linq\IQueryable.cs (87)
90
public static IQueryable<TSource> Where<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
103
public static IQueryable<TSource> Where<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, bool>> predicate) {
138
public static IQueryable<TResult> Select<TSource,TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, TResult>> selector) {
151
public static IQueryable<TResult> Select<TSource,TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, TResult>> selector) {
164
public static IQueryable<TResult> SelectMany<TSource,TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, IEnumerable<TResult>>> selector) {
177
public static IQueryable<TResult> SelectMany<TSource,TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, IEnumerable<TResult>>> selector) {
190
public static IQueryable<TResult> SelectMany<TSource, TCollection, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, IEnumerable<TCollection>>> collectionSelector,
Expression
<Func<TSource, TCollection, TResult>> resultSelector){
205
public static IQueryable<TResult> SelectMany<TSource,TCollection,TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, IEnumerable<TCollection>>> collectionSelector,
Expression
<Func<TSource, TCollection, TResult>> resultSelector) {
226
public static IQueryable<TResult> Join<TOuter,TInner,TKey,TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner,
Expression
<Func<TOuter,TKey>> outerKeySelector,
Expression
<Func<TInner,TKey>> innerKeySelector,
Expression
<Func<TOuter,TInner,TResult>> resultSelector) {
251
public static IQueryable<TResult> Join<TOuter, TInner, TKey, TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner,
Expression
<Func<TOuter, TKey>> outerKeySelector,
Expression
<Func<TInner, TKey>> innerKeySelector,
Expression
<Func<TOuter, TInner, TResult>> resultSelector, IEqualityComparer<TKey> comparer) {
277
public static IQueryable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner,
Expression
<Func<TOuter, TKey>> outerKeySelector,
Expression
<Func<TInner, TKey>> innerKeySelector,
Expression
<Func<TOuter, IEnumerable<TInner>, TResult>> resultSelector) {
301
public static IQueryable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IQueryable<TOuter> outer, IEnumerable<TInner> inner,
Expression
<Func<TOuter, TKey>> outerKeySelector,
Expression
<Func<TInner, TKey>> innerKeySelector,
Expression
<Func<TOuter, IEnumerable<TInner>, TResult>> resultSelector, IEqualityComparer<TKey> comparer) {
326
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector)
340
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) {
353
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector) {
366
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) {
379
public static IOrderedQueryable<TSource> ThenBy<TSource, TKey>(this IOrderedQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector) {
392
public static IOrderedQueryable<TSource> ThenBy<TSource, TKey>(this IOrderedQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) {
405
public static IOrderedQueryable<TSource> ThenByDescending<TSource, TKey>(this IOrderedQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector) {
418
public static IOrderedQueryable<TSource> ThenByDescending<TSource, TKey>(this IOrderedQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) {
442
public static IQueryable<TSource> TakeWhile<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
455
public static IQueryable<TSource> TakeWhile<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, bool>> predicate) {
479
public static IQueryable<TSource> SkipWhile<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
492
public static IQueryable<TSource> SkipWhile<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, int, bool>> predicate) {
505
public static IQueryable<IGrouping<TKey,TSource>> GroupBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector) {
518
public static IQueryable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector,
Expression
<Func<TSource, TElement>> elementSelector) {
533
public static IQueryable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey> comparer) {
546
public static IQueryable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector,
Expression
<Func<TSource,TElement>> elementSelector, IEqualityComparer<TKey> comparer) {
561
public static IQueryable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector,
Expression
<Func<TSource, TElement>> elementSelector,
Expression
<Func<TKey, IEnumerable<TElement>, TResult>> resultSelector)
579
public static IQueryable<TResult> GroupBy<TSource, TKey, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector,
Expression
<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector)
595
public static IQueryable<TResult> GroupBy<TSource, TKey, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector,
Expression
<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector, IEqualityComparer<TKey> comparer)
611
public static IQueryable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource, TKey>> keySelector,
Expression
<Func<TSource, TElement>> elementSelector,
Expression
<Func<TKey, IEnumerable<TElement>, TResult>> resultSelector, IEqualityComparer<TKey> comparer)
664
public static IQueryable<TResult> Zip<TFirst, TSecond, TResult>(this IQueryable<TFirst> source1, IEnumerable<TSecond> source2,
Expression
<Func<TFirst, TSecond, TResult>> resultSelector) {
780
public static TSource First<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
804
public static TSource FirstOrDefault<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
828
public static TSource Last<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
852
public static TSource LastOrDefault<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
876
public static TSource Single<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,bool>> predicate) {
900
public static TSource SingleOrDefault<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,bool>> predicate) {
1033
public static bool Any<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
1046
public static bool All<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
1070
public static int Count<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
1094
public static long LongCount<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, bool>> predicate) {
1118
public static TResult Min<TSource,TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource,TResult>> selector) {
1142
public static TResult Max<TSource,TResult>(this IQueryable<TSource> source,
Expression
<Func<TSource,TResult>> selector) {
1265
public static int Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,int>> selector) {
1278
public static int? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,int?>> selector) {
1291
public static long Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,long>> selector) {
1304
public static long? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,long?>> selector) {
1317
public static float Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,float>> selector) {
1330
public static float? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,float?>> selector) {
1343
public static double Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,double>> selector) {
1356
public static double? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,double?>> selector) {
1369
public static decimal Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,decimal>> selector) {
1382
public static decimal? Sum<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,decimal?>> selector) {
1507
public static double Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,int>> selector) {
1520
public static double? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,int?>> selector) {
1533
public static float Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, float>> selector)
1547
public static float? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource, float?>> selector)
1561
public static double Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,long>> selector) {
1574
public static double? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,long?>> selector) {
1587
public static double Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,double>> selector) {
1600
public static double? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,double?>> selector) {
1613
public static decimal Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,decimal>> selector) {
1626
public static decimal? Average<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,decimal?>> selector) {
1639
public static TSource Aggregate<TSource>(this IQueryable<TSource> source,
Expression
<Func<TSource,TSource,TSource>> func) {
1652
public static TAccumulate Aggregate<TSource,TAccumulate>(this IQueryable<TSource> source, TAccumulate seed,
Expression
<Func<TAccumulate,TSource,TAccumulate>> func) {
1665
public static TResult Aggregate<TSource,TAccumulate,TResult>(this IQueryable<TSource> source, TAccumulate seed,
Expression
<Func<TAccumulate,TSource,TAccumulate>> func,
Expression
<Func<TAccumulate,TResult>> selector) {
System\Linq\SequenceQuery.cs (3)
129
Expression
<Func<IEnumerable<T>>> f = Expression.Lambda<Func<IEnumerable<T>>>(body, (IEnumerable<ParameterExpression>)null);
178
Expression
<Func<T>> f = Expression.Lambda<Func<T>>(body, (IEnumerable<ParameterExpression>)null);
378
Type eType = TypeHelper.FindGenericType(typeof(
Expression
<>), tmp);
System.Data.Entity (32)
System\Data\Common\Internal\Materialization\Translator.cs (5)
256
var
lambda = Expression.Lambda<Func<Shaper, TResult>>(body, Shaper_Parameter);
309
private static void VerifyUserExpressions(IEnumerable<
Expression
<Func<object>>> userExpressions)
317
foreach (
Expression
<Func<object>> userExpression in userExpressions)
524
private
Expression
<Func<Shaper, T>> TypedCreateInlineDelegate<T>(Expression body)
526
Expression
<Func<Shaper, T>> result = Expression.Lambda<Func<Shaper, T>>(body, Shaper_Parameter);
System\Data\Objects\CompiledQuery.cs (16)
71
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>> query) where TArg0 : ObjectContext
98
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>> query) where TArg0 : ObjectContext
124
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>> query) where TArg0 : ObjectContext
149
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>> query) where TArg0 : ObjectContext
173
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>> query) where TArg0 : ObjectContext
196
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>> query) where TArg0 : ObjectContext
218
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>> query) where TArg0 : ObjectContext
239
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>> query) where TArg0 : ObjectContext
259
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>> query) where TArg0 : ObjectContext
278
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>> query) where TArg0 : ObjectContext
296
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult>> query) where TArg0 : ObjectContext
313
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult>> query) where TArg0 : ObjectContext
329
public static Func<TArg0, TArg1, TArg2, TArg3, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TResult>> query) where TArg0 : ObjectContext
344
public static Func<TArg0, TArg1, TArg2, TResult> Compile<TArg0, TArg1, TArg2, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TResult>> query) where TArg0 : ObjectContext
358
public static Func<TArg0, TArg1, TResult> Compile<TArg0, TArg1, TResult>(
Expression
<Func<TArg0, TArg1, TResult>> query) where TArg0 : ObjectContext
371
public static Func<TArg0, TResult> Compile<TArg0, TResult>(
Expression
<Func<TArg0, TResult>> query) where TArg0 : ObjectContext
System\Data\Objects\ELinq\SpatialMethodCallTranslator.cs (2)
43
private static MethodInfo GetStaticMethod<TResult>(
Expression
<Func<TResult>> lambda)
52
private static MethodInfo GetInstanceMethod<T, TResult>(
Expression
<Func<T, TResult>> lambda)
System\Data\Objects\ELinq\SpatialPropertyTranslator.cs (1)
42
private static PropertyInfo GetProperty<T, TResult>(
Expression
<Func<T, TResult>> lambda)
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (1)
84
Expression
<Func<object, object>> lambda = Expression.Lambda<Func<object, object>>(
System\Data\Objects\ObjectContext.cs (3)
783
public void LoadProperty<TEntity>(TEntity entity,
Expression
<Func<TEntity, object>> selector)
808
public void LoadProperty<TEntity>(TEntity entity,
Expression
<Func<TEntity, object>> selector, MergeOption mergeOption)
837
internal static string ParsePropertySelectorExpression<TEntity>(
Expression
<Func<TEntity, object>> selector, out bool removedConvert)
System\Data\Objects\ObjectStateManager.cs (1)
2227
Expression
<Func<TEntity, object>> navigationPropertySelector,
System\Data\SqlClient\SqlSpatialDataReader.cs (1)
93
var
ex = Expression.Lambda<Func<BinaryReader, object>>(
System\Data\SqlClient\SqlTypesAssembly.cs (2)
33
internal static
Expression
<Func<TArg, TResult>> Lambda<TArg, TResult>(string argumentName, Func<ParameterExpression, Expression> createLambdaBodyGivenParameter)
528
var
ex = Expression.Lambda<Func<TArg, int, object>>(Expression.Call(null, staticCtorMethod, sqlData, sridParam), dataParam, sridParam);
System.Data.Linq (18)
CompiledQuery.cs (16)
35
public static Func<TArg0, TResult> Compile<TArg0, TResult>(
Expression
<Func<TArg0, TResult>> query) where TArg0 : DataContext {
48
public static Func<TArg0, TArg1, TResult> Compile<TArg0, TArg1, TResult>(
Expression
<Func<TArg0, TArg1, TResult>> query) where TArg0 : DataContext {
61
public static Func<TArg0, TArg1, TArg2, TResult> Compile<TArg0, TArg1, TArg2, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TResult>> query) where TArg0 : DataContext {
74
public static Func<TArg0, TArg1, TArg2, TArg3, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TResult>> query) where TArg0 : DataContext {
87
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TResult>> query) where TArg0 : DataContext {
100
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TResult>> query) where TArg0 : DataContext {
113
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TResult>> query) where TArg0 : DataContext {
126
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TResult>> query) where TArg0 : DataContext {
139
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TResult>> query) where TArg0 : DataContext {
152
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TResult>> query) where TArg0 : DataContext {
165
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TResult>> query) where TArg0 : DataContext {
178
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TResult>> query) where TArg0 : DataContext {
191
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TResult>> query) where TArg0 : DataContext {
204
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TResult>> query) where TArg0 : DataContext {
217
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TResult>> query) where TArg0 : DataContext {
230
public static Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult> Compile<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>(
Expression
<Func<TArg0, TArg1, TArg2, TArg3, TArg4, TArg5, TArg6, TArg7, TArg8, TArg9, TArg10, TArg11, TArg12, TArg13, TArg14, TArg15, TResult>> query) where TArg0 : DataContext {
DataShape.cs (2)
22
public void LoadWith<T>(
Expression
<Func<T, object>> expression) {
46
public void AssociateWith<T>(
Expression
<Func<T, object>> expression) {
System.Data.Services (9)
System\Data\Services\DataServiceConfiguration.cs (2)
907
Type expectedReturnType = typeof(
Expression
<>).MakeGenericType(lambdaType);
916
if (!(typeof(
Expression
<>).MakeGenericType(nullableLambdaType).IsAssignableFrom(returnType)))
System\Data\Services\Providers\BasicExpandProvider.cs (1)
338
.Invoke(null, new object[] { (IQueryable<TSource>)query, (
Expression
<Func<TSource, TKey>>)orderExpression });
System\Data\Services\RequestUriProcessor.cs (6)
996
Expression
<Func<TSource, TResult>> typedSelector = (
Expression
<Func<TSource, TResult>>)selector;
1012
Expression
<Func<TSource, IEnumerable<TResult>>> typedSelector = (
Expression
<Func<TSource, IEnumerable<TResult>>>)selector;
1036
Expression
<Func<TSource, bool>> typedPredicate = (
Expression
<Func<TSource, bool>>)predicate;
System.Web (1)
UI\WebControls\ModelDataSourceView.cs (1)
34
private static readonly MethodInvokerDispatcher _methodInvokerDispatcher = ((
Expression
<MethodInvokerDispatcher>)((methodInfo, instance, args) => methodInfo.Invoke(instance, args))).Compile();
System.Web.Extensions (2)
UI\WebControls\Dynamic.cs (2)
186
public static
Expression
<Func<T, S>> ParseLambda<T, S>(string expression, params object[] values) {
187
return (
Expression
<Func<T, S>>)ParseLambda(typeof(T), typeof(S), expression, values);