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