9 [DebuggerTypeProxy(typeof(NewExpressionProxy))]
10 [global::__DynamicallyInvokable]
21 [global::__DynamicallyInvokable]
24 [global::__DynamicallyInvokable]
33 [global::__DynamicallyInvokable]
36 [global::__DynamicallyInvokable]
45 [global::__DynamicallyInvokable]
48 [global::__DynamicallyInvokable]
57 [global::__DynamicallyInvokable]
60 [global::__DynamicallyInvokable]
63 return Expression.ReturnReadOnly(ref _arguments);
69 [global::__DynamicallyInvokable]
72 [global::__DynamicallyInvokable]
75 return _arguments.
Count;
81 [global::__DynamicallyInvokable]
84 [global::__DynamicallyInvokable]
93 _constructor = constructor;
94 _arguments = arguments;
101 [global::__DynamicallyInvokable]
102 Expression IArgumentProvider.GetArgument(
int index)
104 return _arguments[index];
110 [global::__DynamicallyInvokable]
119 [global::__DynamicallyInvokable]
ConstructorInfo Constructor
Gets the called constructor.
Represents a constructor call.
Discovers the attributes of a class constructor and provides access to constructor metadata.
Provides an internal interface for accessing the arguments of multiple tree nodes (DynamicExpression,...
override Type DeclaringType
Gets the type that declares the current nested type or generic type parameter.
NewExpression Update(IEnumerable< Expression > arguments)
Creates a new expression that is like this one, but using the supplied children. If all of the childr...
Exposes the enumerator, which supports a simple iteration over a collection of a specified type....
sealed override ExpressionType NodeType
Returns the node type of this T:System.Linq.Expressions.Expression.
int ArgumentCount
Returns the number of arguments to the expression tree node. You should not use this type....
Provides the base class from which the classes that represent expression tree nodes are derived....
Represents type declarations: class types, interface types, array types, value types,...
ExpressionType
Describes the node types for the nodes of an expression tree.
Represents a collection of objects that can be individually accessed by index.
int Count
Gets the number of elements contained in the T:System.Collections.Generic.ICollection`1.
internal override Expression Accept(ExpressionVisitor visitor)
Dispatches to the specific visit method for this node type. For example, T:System....
ReadOnlyCollection< Expression > Arguments
Gets the arguments to the constructor.
virtual internal Expression VisitNew(NewExpression node)
Visits the children of the T:System.Linq.Expressions.NewExpression.
ReadOnlyCollection< MemberInfo > Members
Gets the members that can retrieve the values of the fields that were initialized with constructor ar...
Represents a visitor or rewriter for expression trees.