38 references to Constructor
System.Activities (6)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
583if (newExpression.Constructor != null) 585EnsureTypeReferenced(newExpression.Constructor.DeclaringType, true, typeReferences);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (1)
1024if (newExpression.Constructor == null)
System\Activities\Expressions\ExpressionServices.cs (2)
1408if (newExpression.Constructor != null) 1410parameterInfoArray = newExpression.Constructor.GetParameters();
System\Activities\ExpressionUtilities.cs (1)
1103if (objectCreationExpression.Constructor == null)
System.Core (10)
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
339public ConstructorInfo Constructor { get { return _node.Constructor; } }
Microsoft\Scripting\Ast\NewExpression.cs (2)
117return Expression.New(Constructor, arguments, Members); 119return Expression.New(Constructor, arguments);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (3)
517if (node.Constructor != null) { 518List<WriteBack> wb = EmitArguments(node.Constructor, node); 519_ilg.Emit(OpCodes.Newobj, node.Constructor);
Microsoft\Scripting\Compiler\StackSpiller.cs (2)
511RequireNoRefArgs(node.Constructor); 514return cr.Finish(cr.Rewrite ? new NewExpression(node.Constructor, cr[0, -1], node.Members) : expr);
System\Linq\Expressions\ExpressionVisitor.cs (2)
274return Expression.New(nex.Constructor, args, nex.Members); 276return Expression.New(nex.Constructor, args);
System.Data.Entity (11)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (2)
341var constructorParameters = nex.Constructor.GetParameters(); 368nex = Expression.New(nex.Constructor, newArguments);
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
322return Expression.New(nex.Constructor, args, nex.Members); 324return Expression.New(nex.Constructor, args);
System\Data\Objects\ELinq\InitializerFacet.cs (2)
306Expression newProjection = Expression.New(_newExpression.Constructor, GetPropertyReaders(propertyTranslatorResults)); 321builder.Append(_newExpression.Constructor.ToString());
System\Data\Objects\ELinq\Translator.cs (5)
713if (null == linq.Constructor || 796if ((linq.NewExpression.Constructor != null) && (linq.NewExpression.Constructor.GetParameters().Length != 0)) 816if (null == linq.NewExpression.Constructor || 8170 != linq.NewExpression.Constructor.GetParameters().Length)
System.Data.Linq (5)
SqlClient\Query\Funcletizer.cs (2)
396return Expression.New(nex.Constructor, args, nex.Members); 399return Expression.New(nex.Constructor, args);
SqlClient\Query\QueryConverter.cs (3)
845SqlNew tb = sql.New(mt, qn.Constructor, args, PropertyOrFieldOf(qn.Members), null, this.dominatingExpression); 887SqlNew tb = sql.New(mt, qn.Constructor, args, PropertyOrFieldOf(qn.Members), members, this.dominatingExpression); 2691if (null != list.NewExpression.Constructor && 0 != list.NewExpression.Arguments.Count) {
System.Data.Services (2)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
526return Expression.New(nex.Constructor, args, nex.Members); 530return Expression.New(nex.Constructor, args);
System.Data.Services.Client (4)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
526return Expression.New(nex.Constructor, args, nex.Members); 530return Expression.New(nex.Constructor, args);
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
1729ParameterInfo[] constructorParams = ne.Constructor.GetParameters();
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
850if (result.Arguments.Count == 1 && result.Constructor == nex.Type.GetConstructor(new[] { enumerable }) &&