8 types derived from MethodCallExpression
System.Linq.Expressions (8)
System\Linq\Expressions\MethodCallExpression.cs (8)
152internal class InstanceMethodCallExpression : MethodCallExpression, IArgumentProvider 167internal sealed class MethodCallExpressionN : MethodCallExpression, IArgumentProvider 229internal sealed class MethodCallExpression0 : MethodCallExpression, IArgumentProvider 260internal sealed class MethodCallExpression1 : MethodCallExpression, IArgumentProvider 312internal sealed class MethodCallExpression2 : MethodCallExpression, IArgumentProvider 377internal sealed class MethodCallExpression3 : MethodCallExpression, IArgumentProvider 448internal sealed class MethodCallExpression4 : MethodCallExpression, IArgumentProvider 525internal sealed class MethodCallExpression5 : MethodCallExpression, IArgumentProvider
239 references to MethodCallExpression
Microsoft.AspNetCore.Components.Endpoints (4)
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (4)
282static MethodCallExpression PushPrefix(Expression readerParam, string prefix) 291static MethodCallExpression AddMappingError(Expression readerParam, string message, string parameter) 294var formattableString = Expression.Call( 309static MethodCallExpression PopPrefix(Expression readerParam, string prefix)
Microsoft.AspNetCore.Components.Forms (4)
FieldIdentifier.cs (1)
140case MethodCallExpression methodCallExpression when ExpressionFormatter.IsSingleArgumentIndexer(accessorBody):
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (3)
54var methodCallExpression = (MethodCallExpression)node; 145if (expression is not MethodCallExpression methodExpression || methodExpression.Arguments.Count != 1)
Microsoft.AspNetCore.Components.Web (3)
src\Components\Shared\src\ExpressionFormatting\ExpressionFormatter.cs (3)
54var methodCallExpression = (MethodCallExpression)node; 145if (expression is not MethodCallExpression methodExpression || methodExpression.Arguments.Count != 1)
Microsoft.AspNetCore.Http.Abstractions (2)
Extensions\UseMiddlewareExtensions.cs (2)
278var getServiceCall = Expression.Call(GetServiceInfo, parameterTypeExpression); 288var body = Expression.Call(middlewareInstanceArg, methodInfo, methodArguments);
Microsoft.AspNetCore.Http.Extensions (14)
RequestDelegateFactory.cs (5)
2109var processFormExpr = Expression.Call(ProcessFormMethod, FormExpr, Expression.Constant(formDataMapperOptions.MaxKeyBufferSize), formDict, formBuffer); 2123var invokeMapMethodExpr = Expression.Call( 2131var returnBufferExpr = Expression.Call( 2342var mc = (MethodCallExpression)expr.Body;
src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (4)
282static MethodCallExpression PushPrefix(Expression readerParam, string prefix) 291static MethodCallExpression AddMappingError(Expression readerParam, string message, string parameter) 294var formattableString = Expression.Call( 309static MethodCallExpression PopPrefix(Expression readerParam, string prefix)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
172var methodCall = Expression.Call(instanceCast, methodInfo, parameters); 224var methodCall = Expression.Call(instanceCast, methodInfo, parameters);
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
90var startAsTaskCall =
src\Shared\ParameterBindingMethodCache.cs (2)
241MethodCallExpression typedCall; 262MethodCallExpression typedCall;
Microsoft.AspNetCore.Http.Extensions.Tests (16)
ParameterBindingMethodCacheTests.cs (16)
33var call = methodFound!(Expression.Variable(type, "parsedValue"), Expression.Constant(CultureInfo.InvariantCulture)) as MethodCallExpression; 51var call = methodFound!(Expression.Variable(typeof(Uri), "parsedValue"), Expression.Constant(UriKind.RelativeOrAbsolute)) as MethodCallExpression; 73var call = methodFound!(Expression.Variable(type, "parsedValue"), Expression.Constant(CultureInfo.InvariantCulture)) as MethodCallExpression; 105var call = methodFound!(Expression.Variable(type, "parsedValue"), Expression.Constant(CultureInfo.InvariantCulture)) as MethodCallExpression; 129var call = methodFound!(Expression.Variable(type, "parsedValue"), Expression.Constant(CultureInfo.InvariantCulture)) as MethodCallExpression; 183var call = methodFound!(Expression.Variable(type, "parsedValue"), Expression.Constant(CultureInfo.InvariantCulture)) as MethodCallExpression; 754var mc = (MethodCallExpression)expr.Body; 760var mc = (MethodCallExpression)expr.Body;
Microsoft.AspNetCore.Http.Results.Tests (1)
ResultsTests.cs (1)
1643MethodCallExpression mce => mce.Method.Name,
Microsoft.AspNetCore.JsonPatch (2)
JsonPatchDocumentOfT.cs (2)
688var methodCallExpression = (MethodCallExpression)expr;
Microsoft.AspNetCore.Mvc.Abstractions (2)
src\Shared\ParameterBindingMethodCache.cs (2)
241MethodCallExpression typedCall; 262MethodCallExpression typedCall;
Microsoft.AspNetCore.Mvc.Core (3)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
172var methodCall = Expression.Call(instanceCast, methodInfo, parameters); 224var methodCall = Expression.Call(instanceCast, methodInfo, parameters);
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
90var startAsTaskCall =
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
ExpressionHelper.cs (5)
57var methodExpression = (MethodCallExpression)part; 149var methodExpression = (MethodCallExpression)part; 237if (!(expression is MethodCallExpression methodExpression) || methodExpression.Arguments.Count != 1)
Microsoft.AspNetCore.OpenApi (5)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
172var methodCall = Expression.Call(instanceCast, methodInfo, parameters); 224var methodCall = Expression.Call(instanceCast, methodInfo, parameters);
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
90var startAsTaskCall =
src\Shared\ParameterBindingMethodCache.cs (2)
241MethodCallExpression typedCall; 262MethodCallExpression typedCall;
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
172var methodCall = Expression.Call(instanceCast, methodInfo, parameters); 224var methodCall = Expression.Call(instanceCast, methodInfo, parameters);
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
90var startAsTaskCall =
Microsoft.AspNetCore.SignalR.Core (4)
Internal\HubMethodDescriptor.cs (1)
237var methodCall = Expression.Call(null, genericMethodInfo, methodArguments);
src\Shared\ObjectMethodExecutor\ObjectMethodExecutor.cs (2)
172var methodCall = Expression.Call(instanceCast, methodInfo, parameters); 224var methodCall = Expression.Call(instanceCast, methodInfo, parameters);
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
90var startAsTaskCall =
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (1)
165new PredefinedTypeInfo(PredefinedType.PT_METHODCALLEXPRESSION, typeof(System.Linq.Expressions.MethodCallExpression), "System.Linq.Expressions.MethodCallExpression"),
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
HelperFactory.cs (1)
192var body = Expression.Call(HandlebarsExtensionsWriteSafeString, outputParameter, writerOutput);
Microsoft.Extensions.DependencyInjection (5)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (5)
222MethodCallExpression resolveRootScopeExpression = Expression.Call( 236MethodCallExpression tryGetValueExpression = Expression.Call( 248MethodCallExpression addValueExpression = Expression.Call( 273MethodCallExpression monitorEnter = Expression.Call(ServiceLookupHelpers.MonitorEnterMethodInfo, sync, lockWasTaken); 274MethodCallExpression monitorExit = Expression.Call(ServiceLookupHelpers.MonitorExitMethodInfo, sync);
netstandard (1)
netstandard.cs (1)
1018[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.MethodCallExpression))]
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\ConstraintServices.cs (3)
117private static MethodCallExpression CreateMetadataContainsKeyExpression(ParameterExpression parameter, string constantKey) 136private static MethodCallExpression CreateMetadataOfTypeExpression(ParameterExpression parameter, string constantKey, Type constantType) 164private static MethodCallExpression CreateMetadataValueEqualsExpression(ParameterExpression parameter, object constantValue, string metadataName)
System.ComponentModel.Composition.Registration (2)
System\ComponentModel\Composition\Registration\PartBuilderOfT.cs (2)
120var methodCallExpression = (MethodCallExpression)argument;
System.Composition.Convention (3)
System\Composition\Convention\PartConventionBuilderOfT.cs (3)
40var memberInfo = ((MethodCallExpression)expr).Method as MethodInfo; 182var methodCallExpression = (MethodCallExpression)argument;
System.Core (1)
System.Core.cs (1)
156[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.MethodCallExpression))]
System.Linq.Expressions (145)
System\Linq\Expressions\BinaryExpression.cs (1)
442private static MethodCallExpression CallGetValueOrDefault(ParameterExpression nullable)
System\Linq\Expressions\Compiler\LambdaCompiler.Address.cs (2)
51AddressOf((MethodCallExpression)node, type); 165private void AddressOf(MethodCallExpression node, Type type)
System\Linq\Expressions\Compiler\LambdaCompiler.Binary.cs (1)
99MethodCallExpression mc = Expression.Call(null, b.Method!, p1, p2);
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (3)
355MethodCallExpression node = (MethodCallExpression)expr; 1112private void EmitLift(ExpressionType nodeType, Type resultType, MethodCallExpression mc, ParameterExpression[] paramList, Expression[] argList)
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
755private static MethodCallExpression CallTryGetValue(Expression dictInit, ParameterExpression switchValue, ParameterExpression switchIndex)
System\Linq\Expressions\Compiler\LambdaCompiler.Unary.cs (1)
355MethodCallExpression mc = Expression.Call(node.Method!, v);
System\Linq\Expressions\Compiler\StackSpiller.cs (2)
434MethodCallExpression node = (MethodCallExpression)expr;
System\Linq\Expressions\DebugViewWriter.cs (1)
765protected internal override Expression VisitMethodCall(MethodCallExpression node)
System\Linq\Expressions\Expression.cs (1)
156/// example, <see cref="MethodCallExpression"/> will call into
System\Linq\Expressions\Expression.DebuggerProxy.cs (2)
313private readonly MethodCallExpression _node; 315public MethodCallExpressionProxy(MethodCallExpression node)
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
511protected internal override Expression VisitMethodCall(MethodCallExpression node)
System\Linq\Expressions\ExpressionVisitor.cs (2)
398/// Visits the children of the <see cref="MethodCallExpression"/>. 403protected internal virtual Expression VisitMethodCall(MethodCallExpression node)
System\Linq\Expressions\IArgumentProvider.cs (2)
8/// <see cref="ElementInit"/>, <see cref="MethodCallExpression"/>, <see cref="InvocationExpression"/>, 19/// <see cref="BlockExpression"/>, <see cref="InvocationExpression"/>, <see cref="MethodCallExpression"/>.
System\Linq\Expressions\Interpreter\LightCompiler.cs (4)
2135var node = (MethodCallExpression)expr; 2338var call = (MethodCallExpression)node;
System\Linq\Expressions\MethodCallExpression.cs (118)
62public MethodCallExpression Update(Expression? @object, IEnumerable<Expression>? arguments) 120internal virtual MethodCallExpression Rewrite(Expression instance, IReadOnlyList<Expression>? args) 189internal override MethodCallExpression Rewrite(Expression? instance, IReadOnlyList<Expression>? args) 220internal override MethodCallExpression Rewrite(Expression instance, IReadOnlyList<Expression>? args) 251internal override MethodCallExpression Rewrite(Expression? instance, IReadOnlyList<Expression>? args) 298internal override MethodCallExpression Rewrite(Expression? instance, IReadOnlyList<Expression>? args) 364internal override MethodCallExpression Rewrite(Expression? instance, IReadOnlyList<Expression>? args) 435internal override MethodCallExpression Rewrite(Expression? instance, IReadOnlyList<Expression>? args) 512internal override MethodCallExpression Rewrite(Expression? instance, IReadOnlyList<Expression>? args) 595internal override MethodCallExpression Rewrite(Expression? instance, IReadOnlyList<Expression>? args) 631internal override MethodCallExpression Rewrite(Expression instance, IReadOnlyList<Expression>? args) 680internal override MethodCallExpression Rewrite(Expression instance, IReadOnlyList<Expression>? args) 745internal override MethodCallExpression Rewrite(Expression instance, IReadOnlyList<Expression>? args) 816internal override MethodCallExpression Rewrite(Expression instance, IReadOnlyList<Expression>? args) 835/// <summary>Creates a <see cref="MethodCallExpression"/> that represents a call to a static method that takes no arguments.</summary> 836/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 837/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="MethodCallExpression.Method"/> property equal to.</param> 840internal static MethodCallExpression Call(MethodInfo method) 853/// <summary>Creates a <see cref="MethodCallExpression"/> that represents a call to a static method that takes one argument.</summary> 854/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 855/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="MethodCallExpression.Method"/> property equal to.</param> 859public static MethodCallExpression Call(MethodInfo method, Expression arg0) 873/// <summary>Creates a <see cref="MethodCallExpression"/> that represents a call to a static method that takes two arguments.</summary> 874/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 875/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="MethodCallExpression.Method"/> property equal to.</param> 880public static MethodCallExpression Call(MethodInfo method, Expression arg0, Expression arg1) 896/// <summary>Creates a <see cref="MethodCallExpression"/> that represents a call to a static method that takes three arguments.</summary> 897/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 898/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="MethodCallExpression.Method"/> property equal to.</param> 904public static MethodCallExpression Call(MethodInfo method, Expression arg0, Expression arg1, Expression arg2) 922/// <summary>Creates a <see cref="MethodCallExpression"/> that represents a call to a static method that takes four arguments.</summary> 923/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 924/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="MethodCallExpression.Method"/> property equal to.</param> 931public static MethodCallExpression Call(MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3) 951/// <summary>Creates a <see cref="MethodCallExpression"/> that represents a call to a static method that takes five arguments.</summary> 952/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 953/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="MethodCallExpression.Method"/> property equal to.</param> 961/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 962public static MethodCallExpression Call(MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3, Expression arg4) 985/// Creates a <see cref="MethodCallExpression"/> that represents a call to a static (Shared in Visual Basic) method. 989/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 990public static MethodCallExpression Call(MethodInfo method, params Expression[]? arguments) 996/// Creates a <see cref="MethodCallExpression"/> that represents a call to a static (Shared in Visual Basic) method. 1000/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 1001public static MethodCallExpression Call(MethodInfo method, IEnumerable<Expression>? arguments) 1007/// Creates a <see cref="MethodCallExpression"/> that represents a call to a method that takes no arguments. 1011/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 1012public static MethodCallExpression Call(Expression? instance, MethodInfo method) 1029/// Creates a <see cref="MethodCallExpression"/> that represents a method call. 1034/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 1035public static MethodCallExpression Call(Expression? instance, MethodInfo method, params Expression[]? arguments) 1041/// Creates a <see cref="MethodCallExpression"/> that represents a call to a method that takes one argument. 1046/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 1047internal static MethodCallExpression Call(Expression? instance, MethodInfo method, Expression arg0) 1069/// Creates a <see cref="MethodCallExpression"/> that represents a call to a method that takes two arguments. 1075/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 1076public static MethodCallExpression Call(Expression? instance, MethodInfo method, Expression arg0, Expression arg1) 1098/// Creates a <see cref="MethodCallExpression"/> that represents a call to a method that takes three arguments. 1105/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Method"/> properties set to the specified values.</returns> 1106public static MethodCallExpression Call(Expression? instance, MethodInfo method, Expression arg0, Expression arg1, Expression arg2) 1128/// <summary>Creates a <see cref="MethodCallExpression"/> that represents a call to an instance method by calling the appropriate factory method.</summary> 1129/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/>, the <see cref="MethodCallExpression.Object"/> property equal to <paramref name="instance"/>, <see cref="MethodCallExpression.Method"/> set to the <see cref="MethodInfo"/> that represents the specified instance method, and <see cref="MethodCallExpression.Arguments"/> set to the specified arguments.</returns> 1142public static MethodCallExpression Call(Expression instance, string methodName, Type[]? typeArguments, params Expression[]? arguments) 1152/// <summary>Creates a <see cref="MethodCallExpression"/> that represents a call to a static (Shared in Visual Basic) method by calling the appropriate factory method.</summary> 1153/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/>, the <see cref="MethodCallExpression.Method"/> property set to the <see cref="MethodInfo"/> that represents the specified static (Shared in Visual Basic) method, and the <see cref="MethodCallExpression.Arguments"/> property set to the specified arguments.</returns> 1166public static MethodCallExpression Call( 1180/// <summary>Creates a <see cref="MethodCallExpression"/> that represents a method call.</summary> 1181/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/>, <see cref="MethodCallExpression.Method"/>, and <see cref="MethodCallExpression.Arguments"/> properties set to the specified values.</returns> 1182/// <param name="instance">An <see cref="Expression"/> to set the <see cref="MethodCallExpression.Object"/> property equal to (pass null for a static (Shared in Visual Basic) method).</param> 1183/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="MethodCallExpression.Method"/> property equal to.</param> 1184/// <param name="arguments">An <see cref="IEnumerable{Expression}"/> that contains <see cref="Expression"/> objects to use to populate the <see cref="MethodCallExpression.Arguments"/> collection.</param> 1189public static MethodCallExpression Call(Expression? instance, MethodInfo method, IEnumerable<Expression>? arguments) 1392/// <summary>Creates a <see cref="MethodCallExpression"/> that represents applying an array index operator to a multi-dimensional array.</summary> 1395/// <param name="indexes">An array that contains <see cref="Expression"/> objects to use to populate the <see cref="MethodCallExpression.Arguments"/> collection.</param> 1396public static MethodCallExpression ArrayIndex(Expression array, params Expression[] indexes) 1401/// <summary>Creates a <see cref="MethodCallExpression"/> that represents applying an array index operator to an array of rank more than one.</summary> 1402/// <returns>A <see cref="MethodCallExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.Call"/> and the <see cref="MethodCallExpression.Object"/> and <see cref="MethodCallExpression.Arguments"/> properties set to the specified values.</returns> 1403/// <param name="array">An <see cref="Expression"/> to set the <see cref="MethodCallExpression.Object"/> property equal to.</param> 1404/// <param name="indexes">An <see cref="IEnumerable{T}"/> that contains <see cref="Expression"/> objects to use to populate the <see cref="MethodCallExpression.Arguments"/> collection.</param> 1409public static MethodCallExpression ArrayIndex(Expression array, IEnumerable<Expression> indexes)
System\Linq\IQueryable.cs (3)
54/// Several of the standard query operator methods defined in Queryable, such as OfType{TResult} and Cast{TResult}, call this method. They pass it a <see cref="MethodCallExpression"/> that represents a LINQ query. 65/// Most of the Queryable standard query operator methods that return enumerable results call this method.They pass it a <see cref="MethodCallExpression"/> that represents a LINQ query. 87/// The Queryable standard query operator methods that return singleton results call <see cref="Execute{TElement}"/>. They pass it a <see cref="MethodCallExpression"/> that represents a LINQ query.
System.Linq.Queryable (9)
System\Linq\EnumerableRewriter.cs (1)
28protected override Expression VisitMethodCall(MethodCallExpression m)
System\Linq\Queryable.cs (8)
257/// The <see cref="Order{T}(IQueryable{T})"/> method generates a <see cref="MethodCallExpression"/> that represents 259/// It then passes the <see cref="MethodCallExpression"/> to the <see cref="IQueryProvider.CreateQuery{TElement}(Expression)"/> method 294/// The <see cref="Order{T}(IQueryable{T})"/> method generates a <see cref="MethodCallExpression"/> that represents 296/// It then passes the <see cref="MethodCallExpression"/> to the <see cref="IQueryProvider.CreateQuery{TElement}(Expression)"/> method 356/// The <see cref="Order{T}(IQueryable{T})"/> method generates a <see cref="MethodCallExpression"/> that represents 358/// It then passes the <see cref="MethodCallExpression"/> to the <see cref="IQueryProvider.CreateQuery{TElement}(Expression)"/> method 393/// The <see cref="Order{T}(IQueryable{T})"/> method generates a <see cref="MethodCallExpression"/> that represents 395/// It then passes the <see cref="MethodCallExpression"/> to the <see cref="IQueryProvider.CreateQuery{TElement}(Expression)"/> method