Base:
property
ArgumentRefKindsOpt
Microsoft.CodeAnalysis.CSharp.BoundObjectCreationExpressionBase.ArgumentRefKindsOpt
1 write to ArgumentRefKindsOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6355
this.
ArgumentRefKindsOpt
= argumentRefKindsOpt;
28 references to ArgumentRefKindsOpt
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder.ValueChecks.cs (2)
4267
objectCreation.
ArgumentRefKindsOpt
,
5009
objectCreation.
ArgumentRefKindsOpt
,
Binder\Binder_Expressions.cs (1)
6966
creation.
ArgumentRefKindsOpt
, creation.Expanded, creation.ArgsToParamsOpt, creation.DefaultArguments, creation.ConstantValueOpt,
CodeGen\EmitExpression.cs (2)
2449
EmitArguments(expression.Arguments, constructor.Parameters, expression.
ArgumentRefKindsOpt
);
2707
EmitArguments(objCreation.Arguments, constructor.Parameters, objCreation.
ArgumentRefKindsOpt
);
CodeGen\Optimizer.cs (3)
1319
var rewrittenArguments = VisitArguments(node.Arguments, constructor.Parameters, node.
ArgumentRefKindsOpt
);
1322
return node.Update(constructor, rewrittenArguments, node.ArgumentNamesOpt, node.
ArgumentRefKindsOpt
,
2146
return node.Update(node.Constructor, arguments, node.ArgumentNamesOpt, node.
ArgumentRefKindsOpt
, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ConstantValueOpt, initializerExpressionOpt: null, type);
FlowAnalysis\AbstractFlowPass.cs (1)
2063
VisitArguments(node.Arguments, node.
ArgumentRefKindsOpt
, node.Constructor);
Generated\BoundNodes.xml.Generated.cs (5)
6381
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))
11770
return node.Update(node.Constructor, node.ConstructorsGroup, arguments, node.ArgumentNamesOpt, node.
ArgumentRefKindsOpt
, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ConstantValueOpt, initializerExpressionOpt, node.WasTargetTyped, type);
14014
updatedNode = node.Update(constructor, constructorsGroup, arguments, node.ArgumentNamesOpt, node.
ArgumentRefKindsOpt
, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ConstantValueOpt, initializerExpressionOpt, node.WasTargetTyped, infoAndType.Type!);
14019
updatedNode = node.Update(constructor, constructorsGroup, arguments, node.ArgumentNamesOpt, node.
ArgumentRefKindsOpt
, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ConstantValueOpt, initializerExpressionOpt, node.WasTargetTyped, node.Type);
16449
new TreeDumperNode("argumentRefKindsOpt", node.
ArgumentRefKindsOpt
, null),
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.DecisionDagRewriter.cs (1)
282
if (!node.
ArgumentRefKindsOpt
.IsDefault)
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
634
loweredInput.Constructor, arguments: newArguments.ToImmutableAndFree(), loweredInput.ArgumentNamesOpt, loweredInput.
ArgumentRefKindsOpt
,
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
43
ImmutableArray<RefKind> argumentRefKindsOpt = node.
ArgumentRefKindsOpt
;
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (3)
44
for (int i = construction.
ArgumentRefKindsOpt
.Length - 1; i >= 0; i--)
46
if (construction.
ArgumentRefKindsOpt
[i] == RefKind.Out)
51
Debug.Assert(construction.
ArgumentRefKindsOpt
[i] == RefKind.None);
Lowering\LocalRewriter\LocalRewriter_TupleCreationExpression.cs (1)
103
currentCreation.
ArgumentRefKindsOpt
,
Lowering\MethodToClassRewriter.cs (1)
572
rewritten.
ArgumentRefKindsOpt
,
Lowering\SpillSequenceSpiller.cs (4)
487
var argRefKinds = objectCreationExpression.
ArgumentRefKindsOpt
;
490
objectCreationExpression.
ArgumentRefKindsOpt
,
1416
var arguments = this.VisitExpressionList(ref builder, node.Arguments, node.
ArgumentRefKindsOpt
);
1417
return UpdateExpression(builder, node.Update(node.Constructor, arguments, node.ArgumentNamesOpt, node.
ArgumentRefKindsOpt
, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.ConstantValueOpt, node.InitializerExpressionOpt, node.Type));