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