10 [DebuggerTypeProxy(typeof(MethodCallExpressionProxy))]
11 [global::__DynamicallyInvokable]
18 [global::__DynamicallyInvokable]
21 [global::__DynamicallyInvokable]
30 [global::__DynamicallyInvokable]
33 [global::__DynamicallyInvokable]
36 return _method.ReturnType;
42 [global::__DynamicallyInvokable]
45 [global::__DynamicallyInvokable]
54 [global::__DynamicallyInvokable]
57 [global::__DynamicallyInvokable]
66 [global::__DynamicallyInvokable]
69 [global::__DynamicallyInvokable]
72 return GetOrMakeArguments();
78 [global::__DynamicallyInvokable]
81 [global::__DynamicallyInvokable]
84 throw ContractUtils.Unreachable;
88 internal MethodCallExpression(
MethodInfo method)
93 internal virtual Expression GetInstance()
102 [global::__DynamicallyInvokable]
114 throw ContractUtils.Unreachable;
120 [global::__DynamicallyInvokable]
128 throw ContractUtils.Unreachable;
134 [global::__DynamicallyInvokable]
135 Expression IArgumentProvider.GetArgument(
int index)
137 throw ContractUtils.Unreachable;
MethodInfo Method
Gets the T:System.Reflection.MethodInfo for the method to be called.
Provides the base class for a generic read-only collection.
Discovers the attributes of a method and provides access to method metadata.
Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived...
Provides an internal interface for accessing the arguments of multiple tree nodes (DynamicExpression,...
Exposes the enumerator, which supports a simple iteration over a collection of a specified type....
int ArgumentCount
Returns the number of arguments to the expression tree node. You should not use this type....
internal override Expression Accept(ExpressionVisitor visitor)
Dispatches to the specific visit method for this node type. For example, T:System....
Provides the base class from which the classes that represent expression tree nodes are derived....
MethodCallExpression Update(Expression @object, IEnumerable< Expression > arguments)
Creates a new expression that is like this one, but using the supplied children. If all of the childr...
Represents type declarations: class types, interface types, array types, value types,...
ReadOnlyCollection< Expression > Arguments
Gets a collection of expressions that represent arguments of the called method.
ExpressionType
Describes the node types for the nodes of an expression tree.
sealed override ExpressionType NodeType
Returns the node type of this T:System.Linq.Expressions.Expression.
Represents a collection of objects that can be individually accessed by index.
Represents a call to either static or an instance method.
virtual internal Expression VisitMethodCall(MethodCallExpression node)
Visits the children of the T:System.Linq.Expressions.MethodCallExpression.
Represents a visitor or rewriter for expression trees.