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