16 references to New
System.ComponentModel.Composition.Registration (1)
System\ComponentModel\Composition\Registration\PartBuilderOfT.cs (1)
105
if (expr.NodeType != ExpressionType.
New
)
System.Composition.Convention (1)
System\Composition\Convention\PartConventionBuilderOfT.cs (1)
168
if (expr.NodeType != ExpressionType.
New
)
System.Linq.Expressions (14)
System\Dynamic\Utils\ExpressionUtils.cs (3)
102
Debug.Assert(nodeKind == ExpressionType.Invoke || nodeKind == ExpressionType.Call || nodeKind == ExpressionType.Dynamic || nodeKind == ExpressionType.
New
);
141
case ExpressionType.
New
:
171
case ExpressionType.
New
:
System\Linq\Expressions\Compiler\LambdaCompiler.Generated.cs (1)
119
case ExpressionType.
New
:
System\Linq\Expressions\Compiler\StackSpiller.Generated.cs (1)
105
case ExpressionType.
New
:
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
3078
case ExpressionType.
New
: CompileNewExpression(expr); break;
System\Linq\Expressions\NewExpression.cs (8)
39
public sealed override ExpressionType NodeType => ExpressionType.
New
;
113
/// <returns>A <see cref="NewExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.
New
"/> and the <see cref="NewExpression.Constructor"/> property set to the specified value.</returns>
124
/// <returns>A <see cref="NewExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.
New
"/> and the <see cref="NewExpression.Constructor"/> and <see cref="NewExpression.Arguments"/> properties set to the specified value.</returns>
135
/// <returns>A <see cref="NewExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.
New
"/> and the <see cref="NewExpression.Constructor"/> and <see cref="NewExpression.Arguments"/> properties set to the specified value.</returns>
149
ValidateArgumentTypes(constructor, ExpressionType.
New
, ref argList, nameof(constructor));
160
/// <returns>A <see cref="NewExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.
New
"/> and the <see cref="NewExpression.Constructor"/>, <see cref="NewExpression.Arguments"/> and <see cref="NewExpression.Members"/> properties set to the specified value.</returns>
185
/// <returns>A <see cref="NewExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.
New
"/> and the <see cref="NewExpression.Constructor"/>, <see cref="NewExpression.Arguments"/> and <see cref="NewExpression.Members"/> properties set to the specified value.</returns>
196
/// <returns>A <see cref="NewExpression"/> that has the <see cref="NodeType"/> property equal to <see cref="ExpressionType.
New
"/> and the <see cref="NewExpression.Constructor"/> property set to the <see cref="ConstructorInfo"/> that represents the parameterless constructor of the specified type.</returns>