Base:
property
Arguments
Microsoft.CodeAnalysis.CSharp.BoundObjectCreationExpressionBase.Arguments
1 write to Arguments
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6352
this.
Arguments
= arguments;
55 references to Arguments
Microsoft.CodeAnalysis.CSharp (55)
Binder\Binder.ValueChecks.cs (2)
4290
objectCreation.
Arguments
,
5032
objectCreation.
Arguments
,
Binder\Binder_Expressions.cs (2)
6965
return creation.Update(creation.Constructor, creation.ConstructorsGroup, creation.
Arguments
, creation.ArgumentNamesOpt,
9246
else if (convertedIndex is BoundObjectCreationExpression { Constructor: MethodSymbol constructor,
Arguments
: { Length: 2 } arguments, ArgsToParamsOpt: { IsDefaultOrEmpty: true }, InitializerExpressionOpt: null } &&
BoundTree\Expression.cs (1)
29
ImmutableArray<BoundNode> IBoundInvalidNode.InvalidNodeChildren => CSharpOperationFactory.CreateInvalidChildrenFromArgumentsExpression(receiverOpt: null,
Arguments
, InitializerExpressionOpt);
CodeGen\EmitExpression.cs (16)
2278
int fixedArgCount = objCreation.
Arguments
.Length - 1;
2279
int varArgCount = ((BoundArgListOperator)objCreation.
Arguments
[fixedArgCount]).Arguments.Length;
2286
stack -= objCreation.
Arguments
.Length;
2434
foreach (var arg in expression.
Arguments
)
2449
EmitArguments(expression.
Arguments
, constructor.Parameters, expression.ArgumentRefKindsOpt);
2456
constructor.IsVararg ? (BoundArgListOperator)expression.
Arguments
[expression.
Arguments
.Length - 1] : null);
2464
int argumentsLength = expression.
Arguments
.Length;
2470
TryEmitOptimizedReadonlySpanCreation((NamedTypeSymbol)expression.Type, expression.
Arguments
[0], used, inPlaceTarget, out avoidInPlace,
2471
start: argumentsLength == 3 ? expression.
Arguments
[1] : null,
2472
length: argumentsLength == 3 ? expression.
Arguments
[2] : null);
2620
if (objCreation.
Arguments
.Length > 0 && objCreation.
Arguments
[0].Kind == BoundKind.ConvertedStackAllocExpression)
2707
EmitArguments(objCreation.
Arguments
, constructor.Parameters, objCreation.ArgumentRefKindsOpt);
2713
constructor.IsVararg ? (BoundArgListOperator)objCreation.
Arguments
[objCreation.
Arguments
.Length - 1] : null);
CodeGen\Optimizer.cs (2)
1319
var rewrittenArguments = VisitArguments(node.
Arguments
, constructor.Parameters, node.ArgumentRefKindsOpt);
2143
ImmutableArray<BoundExpression> arguments = this.VisitList(node.
Arguments
);
FlowAnalysis\AbstractFlowPass.cs (1)
2063
VisitArguments(node.
Arguments
, node.ArgumentRefKindsOpt, node.Constructor);
Generated\BoundNodes.xml.Generated.cs (5)
6380
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(constructor, this.Constructor) || constructorsGroup != this.ConstructorsGroup || arguments != this.
Arguments
|| argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || expanded != this.Expanded || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || constantValueOpt != this.ConstantValueOpt || initializerExpressionOpt != this.InitializerExpressionOpt || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10483
this.VisitList(node.
Arguments
);
11766
ImmutableArray<BoundExpression> arguments = this.VisitList(node.
Arguments
);
14007
ImmutableArray<BoundExpression> arguments = this.VisitList(node.
Arguments
);
16446
new TreeDumperNode("arguments", null, from x in node.
Arguments
select Visit(x, null)),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (4)
1056
(node.
Arguments
.Length == 0 && !node.Type.IsStructType()) ||
1063
var args = _bound.Convert(_IEnumerableType.Construct(ExpressionType), Expressions(node.
Arguments
));
1064
if (node.Type.IsAnonymousType && node.
Arguments
.Length != 0)
1068
for (int i = 0; i < node.
Arguments
.Length; i++)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
522
VisitCall(node.Constructor, null, node.
Arguments
, node.ArgumentRefKindsOpt, node.ArgumentNamesOpt, node.DefaultArguments, node);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
547
=> InstrumentCall(base.InstrumentObjectCreationExpression(original, rewritten), original.
Arguments
, original.ArgumentRefKindsOpt);
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (3)
616
int count = loweredInput.
Arguments
.Length;
620
var newArguments = ArrayBuilder<BoundExpression>.GetInstance(loweredInput.
Arguments
.Length);
625
var expr = loweredInput.
Arguments
[i];
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (2)
909
return objCreation.
Arguments
.Length == 1 && ReadIsSideeffecting(objCreation.
Arguments
[0]);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
1002
case BoundObjectCreationExpression {
Arguments
: { Length: 1 } args }:
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (1)
729
else if (unloweredExpr is BoundObjectCreationExpression { Constructor: MethodSymbol constructor,
Arguments
: { Length: 2 } arguments, ArgsToParamsOpt: { IsDefaultOrEmpty: true }, InitializerExpressionOpt: null } &&
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
48
node.
Arguments
,
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
244
Value: BoundObjectCreationExpression { Constructor: var objectCreationConstructor,
Arguments
: [BoundLocal constructorLocal] }
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
243
Debug.Assert(((BoundObjectCreationExpression)data.Construction).
Arguments
.All(
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (3)
205
case BoundObjectCreationExpression {
Arguments
: { Length: 0 }, Type: { } eType } _ when eType.IsNullableType():
207
case BoundObjectCreationExpression {
Arguments
: { Length: 1 }, Type: { } eType } creation when eType.IsNullableType():
210
creation.
Arguments
[0], effects, temps, enclosingConversionWasExplicit: true);
Lowering\LocalRewriter\LocalRewriter_TupleCreationExpression.cs (1)
101
currentCreation.
Arguments
,
Lowering\MethodToClassRewriter.cs (1)
570
rewritten.
Arguments
,
Lowering\SpillSequenceSpiller.cs (3)
486
Debug.Assert(objectCreationExpression.
Arguments
.Length == 1);
489
[Spill(builder, objectCreationExpression.
Arguments
[0], argRefKinds.IsDefault ? RefKind.None : argRefKinds[0])],
1416
var arguments = this.VisitExpressionList(ref builder, node.
Arguments
, node.ArgumentRefKindsOpt);
Operations\CSharpOperationFactory.cs (1)
722
boundObjectCreationExpression.
Arguments
,
Operations\CSharpOperationFactory_Methods.cs (1)
221
objectCreation.
Arguments
,