1 write to Arguments
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6155this.Arguments = arguments;
87 references to Arguments
Microsoft.CodeAnalysis.CSharp (87)
Binder\Binder.ValueChecks.cs (9)
3433call.Arguments, 3516call.Arguments, 3751call.Arguments, 3834call.Arguments, 4141call.Arguments, 4211call.Arguments, 4859call.Arguments, 4947call.Arguments, 5666arguments.Add(call.Arguments[0]);
Binder\Binder_Expressions.cs (1)
6474boundCall.Arguments,
Binder\Binder_InterpolatedString.cs (1)
670Debug.Assert(appendCallsArray.All(appendCalls => appendCalls.All(a => a is { HasErrors: true } or BoundCall { Arguments: { Length: > 0 } } or BoundDynamicInvocation)));
Binder\Binder_Query.cs (6)
314int n = result.Arguments.Length; 316arguments.AddRange(result.Arguments); 469var arguments = invocation.Arguments; 538var arguments = invocation.Arguments; 628var arguments = invocation.Arguments; 680var c1 = invocation.Arguments[index] as BoundConversion;
Binder\RefSafetyAnalysis.cs (5)
679VisitArgumentsAndGetArgumentPlaceholders(node.ReceiverOpt, node.Arguments); 690node.Arguments, 982var arg = (BoundDeconstructValuePlaceholder)invocation.Arguments[i + offset]; 997invocation.Arguments, 1011VisitDeconstructionArguments(nestedVariables, syntax, underlyingConversion, right: invocation.Arguments[i + offset]);
BoundTree\BoundNode_Source.cs (1)
224foreach (var argument in call.Arguments)
BoundTree\BoundTreeWalker.cs (2)
41var arguments = call.Arguments; 230this.VisitList(node.Arguments);
BoundTree\Expression.cs (1)
56ImmutableArray<BoundNode> IBoundInvalidNode.InvalidNodeChildren => CSharpOperationFactory.CreateInvalidChildrenFromArgumentsExpression(ReceiverOpt, Arguments);
CodeGen\EmitExpression.cs (5)
635_result = !IsSafeToDereferenceReceiverRefAfterEvaluatingArguments(node.Arguments); 1659var arguments = call.Arguments; 1901(!ReceiverIsKnownToReferToTempIfReferenceType(receiver) && !IsSafeToDereferenceReceiverRefAfterEvaluatingArguments(call.Arguments))) ? 1993var arguments = call.Arguments; 2027!IsSafeToDereferenceReceiverRefAfterEvaluatingArguments(call.Arguments))
CodeGen\Optimizer.cs (3)
1188var rewrittenArguments = VisitArguments(node.Arguments, node.Method.Parameters, node.ArgumentRefKindsOpt); 1212!CodeGenerator.IsSafeToDereferenceReceiverRefAfterEvaluatingArguments(call.Arguments)) 2279ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments);
Compilation\CSharpSemanticModel.cs (3)
4763extensionThisType = call.Arguments[0].Type; 4791Debug.Assert(call.Arguments.Length > 0); 4792BoundExpression receiver = call.Arguments[0];
Compilation\MemberSemanticModel.cs (2)
1779node = GetContainingArgument(call.Arguments, position); 1804node = call.Arguments.LastOrDefault();
FlowAnalysis\AbstractFlowPass.cs (2)
1383VisitArgumentsBeforeCall(node.Arguments, node.ArgumentRefKindsOpt); 1390VisitArgumentsAfterCall(node.Arguments, node.ArgumentRefKindsOpt, node.Method);
FlowAnalysis\NullableWalker.cs (5)
6310if (node.InvokedAsExtensionMethod && node.Arguments is [BoundCall extensionReceiver, ..] && 6348(method, results, returnNotNull) = VisitArguments(node, node.Arguments, refKindsOpt, method!.Parameters, node.ArgsToParamsOpt, node.DefaultArguments, 6370var arguments = node.Arguments; 10264var argConversion = RemoveConversion(invocation.Arguments[0], includeExplicitConversions: false).conversion; 10277var nestedRight = CreatePlaceholderIfNecessary(invocation.Arguments[i + offset], parameter.TypeWithAnnotations);
Generated\BoundNodes.xml.Generated.cs (5)
6187if (receiverOpt != this.ReceiverOpt || initialBindingReceiverIsSubjectToCloning != this.InitialBindingReceiverIsSubjectToCloning || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(method, this.Method) || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || isDelegateCall != this.IsDelegateCall || expanded != this.Expanded || invokedAsExtensionMethod != this.InvokedAsExtensionMethod || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || resultKind != this.ResultKind || originalMethodsOpt != this.OriginalMethodsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10498this.VisitList(node.Arguments); 11777ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 13970ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 16425new TreeDumperNode("arguments", null, from x in node.Arguments select Visit(x, null)),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1073var args = VisitList(node.Arguments);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
641return _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__Invoke, Visit(node.ReceiverOpt), Expressions(node.Arguments)); 651Expressions(node.Arguments));
Lowering\DiagnosticsPass_ExpressionTrees.cs (4)
470VisitCall(node.Method, null, node.Arguments, node.ArgumentRefKindsOpt, node.ArgumentNamesOpt, node.DefaultArguments, node); 472this.VisitList(node.Arguments); 480VisitCall(node.Method, null, node.Arguments, node.ArgumentRefKindsOpt, node.ArgumentNamesOpt, node.DefaultArguments, node); 484this.VisitList(node.Arguments);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
544=> InstrumentCall(base.InstrumentCall(original, rewritten), original.Arguments, original.ArgumentRefKindsOpt);
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
370if (node.InvokedAsExtensionMethod && node.Arguments is [BoundCall extensionReceiver, ..]) 386ImmutableArray<BoundExpression> arguments = node.Arguments;
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (3)
419Debug.Assert(getSubArrayCall.Arguments.Length == 2); 420var rangeArgument = getSubArrayCall.Arguments[1]; 428rewrittenAccess = getSubArrayCall.Update(ImmutableArray.Create(getSubArrayCall.Arguments[0], rangeTemp));
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (4)
179arguments = boundCall.Arguments; 185var args = boundCall.Arguments[0] as BoundArrayCreation; 224var wrappedArgs = sequenceCall.Arguments; 235case BoundCall { Method: var argMethod, Arguments: [var singleArgument] } when (object)argMethod == _compilation.GetSpecialTypeMember(SpecialMember.System_String__op_Implicit_ToReadOnlySpanOfChar):
Lowering\MethodToClassRewriter.cs (1)
233var rewrittenArguments = (ImmutableArray<BoundExpression>)this.VisitList(node.Arguments);
Lowering\SpillSequenceSpiller.cs (16)
441Debug.Assert(call.Arguments.Length == 1); 442return call.Update(ImmutableArray.Create(Spill(builder, call.Arguments[0], call.ArgumentRefKindsOpt[0]))); 451Debug.Assert(call.Arguments.Length == 1); 455ImmutableArray.Create(Spill(builder, call.Arguments[0]))); 465Debug.Assert(call.Arguments.Length == 2); 469ImmutableArray.Create(Spill(builder, call.Arguments[0]), Spill(builder, call.Arguments[1]))); 473Debug.Assert(call.Arguments.Length == 1); 474return call.Update([Spill(builder, call.Arguments[0])]); 522Debug.Assert(call.Arguments.Length == 2); 523return call.Update(ImmutableArray.Create(Spill(builder, call.Arguments[0], call.ArgumentRefKindsOpt[0]), 524call.Arguments[1].ConstantValueOpt is { } ? call.Arguments[1] : Spill(builder, call.Arguments[1]))); 1019var arguments = this.VisitExpressionList(ref builder, node.Arguments, node.ArgumentRefKindsOpt); 1041!CodeGenerator.IsSafeToDereferenceReceiverRefAfterEvaluatingArguments(node.Arguments))
Operations\CSharpOperationFactory.cs (1)
2314(value, alignment, format) = getCallInfo(call.Arguments, call.ArgumentNamesOpt, currentPosition);
Operations\CSharpOperationFactory_Methods.cs (1)
236boundCall.Arguments,