30 references to NewExpression
System.Activities (4)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (1)
465
FindTypeReferences(listInit.
NewExpression
, typeReferences);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
794
newExpression = (NewExpression)Rewrite(listInit.
NewExpression
, lambdaParameters, out abort);
1260
return FindParameter(listInit.
NewExpression
) ?? FindParameter(listInit.Initializers);
System\Activities\ExpressionUtilities.cs (1)
991
hasChanged |= TryRewriteLambdaExpression(listInit.
NewExpression
, out other, publicAccessor);
System.Core (14)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
816
Visit(node.
NewExpression
);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
249
public NewExpression NewExpression { get { return _node.
NewExpression
; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
361
Visit(node.
NewExpression
);
Microsoft\Scripting\Ast\ExpressionVisitor.cs (1)
557
VisitAndConvert(node.
NewExpression
, "VisitListInit"),
Microsoft\Scripting\Ast\ListInitExpression.cs (2)
114
/// <param name="newExpression">The <see cref="
NewExpression
" /> property of the result.</param>
118
if (newExpression ==
NewExpression
&& initializers == Initializers) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (4)
872
EmitExpression(init.
NewExpression
);
874
if (init.
NewExpression
.Type.IsValueType) {
875
loc = _ilg.DeclareLocal(init.
NewExpression
.Type);
879
EmitListInit(init.Initializers, loc == null, init.
NewExpression
.Type);
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
580
Result newResult = RewriteExpression(node.
NewExpression
, stack);
615
RequireNotRefInstance(node.
NewExpression
);
System\Linq\Expressions\ExpressionVisitor.cs (2)
291
NewExpression n = this.VisitNew(init.
NewExpression
);
293
if (n != init.
NewExpression
|| initializers != init.Initializers) {
System.Data.Entity (4)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
342
NewExpression n = this.VisitNew(init.
NewExpression
);
344
if (n != init.
NewExpression
|| initializers != init.Initializers)
System\Data\Objects\ELinq\Translator.cs (2)
796
if ((linq.
NewExpression
.Constructor != null) && (linq.
NewExpression
.Constructor.GetParameters().Length != 0))
System.Data.Linq (4)
SqlClient\Query\Funcletizer.cs (2)
415
NewExpression n = this.VisitNew(init.
NewExpression
);
417
if (n != init.
NewExpression
|| initializers != init.Initializers) {
SqlClient\Query\QueryConverter.cs (2)
2691
if (null != list.
NewExpression
.Constructor && 0 != list.
NewExpression
.Arguments.Count) {
System.Data.Services (2)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
561
NewExpression n = this.VisitNew(init.
NewExpression
);
563
if (n != init.
NewExpression
|| initializers != init.Initializers)
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
561
NewExpression n = this.VisitNew(init.
NewExpression
);
563
if (n != init.
NewExpression
|| initializers != init.Initializers)