8 [DebuggerTypeProxy(typeof(InvocationExpressionProxy))]
9 [global::__DynamicallyInvokable]
16 private readonly
Type _returnType;
20 [global::__DynamicallyInvokable]
23 [global::__DynamicallyInvokable]
32 [global::__DynamicallyInvokable]
35 [global::__DynamicallyInvokable]
44 [global::__DynamicallyInvokable]
47 [global::__DynamicallyInvokable]
56 [global::__DynamicallyInvokable]
59 [global::__DynamicallyInvokable]
62 return Expression.ReturnReadOnly(ref _arguments);
68 [global::__DynamicallyInvokable]
71 [global::__DynamicallyInvokable]
74 return _arguments.Count;
78 internal LambdaExpression LambdaOperand
84 return _lambda as LambdaExpression;
86 return (LambdaExpression)((UnaryExpression)_lambda).Operand;
93 _arguments = arguments;
94 _returnType = returnType;
101 [global::__DynamicallyInvokable]
108 return Expression.Invoke(expression, arguments);
114 [global::__DynamicallyInvokable]
117 return _arguments[index];
120 protected internal override Expression Accept(ExpressionVisitor visitor)
122 return visitor.VisitInvocation(
this);
127 return Expression.Invoke(lambda, arguments ?? _arguments);
Expression Expression
Gets the delegate or lambda expression to be applied.
Provides the base class for a generic read-only collection.
Provides an internal interface for accessing the arguments of multiple tree nodes (DynamicExpression,...
ReadOnlyCollection< Expression > Arguments
Gets the arguments that the delegate or lambda expression is applied to.
Represents an expression that applies a delegate or lambda expression to a list of argument expressio...
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....
Expression GetArgument(int index)
Returns the argument at index, throwing if index is out of bounds. You should not use this type....
Provides the base class from which the classes that represent expression tree nodes are derived....
sealed override ExpressionType NodeType
Returns the node type of this expression. Extension nodes should return F:System.Linq....
InvocationExpression Update(Expression expression, 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,...
sealed override Type Type
Gets the static type of the expression that this P:System.Linq.Expressions.InvocationExpression....
ExpressionType
Describes the node types for the nodes of an expression tree.
Represents a collection of objects that can be individually accessed by index.