1 write to ArgumentRefKindsOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6156this.ArgumentRefKindsOpt = argumentRefKindsOpt;
36 references to ArgumentRefKindsOpt
Microsoft.CodeAnalysis.CSharp (36)
Binder\Binder.ValueChecks.cs (8)
3457call.ArgumentRefKindsOpt, 3540call.ArgumentRefKindsOpt, 3775call.ArgumentRefKindsOpt, 3858call.ArgumentRefKindsOpt, 4166call.ArgumentRefKindsOpt, 4236call.ArgumentRefKindsOpt, 4878call.ArgumentRefKindsOpt, 4966call.ArgumentRefKindsOpt,
Binder\RefSafetyAnalysis.cs (2)
666node.ArgumentRefKindsOpt, 973invocation.ArgumentRefKindsOpt,
BoundTree\Constructors.cs (2)
160return this.Update(ReceiverOpt, InitialBindingReceiverIsSubjectToCloning, Method, arguments, ArgumentNamesOpt, ArgumentRefKindsOpt, IsDelegateCall, Expanded, InvokedAsExtensionMethod, ArgsToParamsOpt, DefaultArguments, ResultKind, OriginalMethodsOpt, Type); 165return this.Update(receiverOpt, initialBindingReceiverIsSubjectToCloning, method, arguments, ArgumentNamesOpt, ArgumentRefKindsOpt, IsDelegateCall, Expanded, InvokedAsExtensionMethod, ArgsToParamsOpt, DefaultArguments, ResultKind, OriginalMethodsOpt, Type);
CodeGen\EmitExpression.cs (2)
1663EmitArguments(arguments, method.Parameters, call.ArgumentRefKindsOpt); 1994EmitArguments(arguments, method.Parameters, call.ArgumentRefKindsOpt);
CodeGen\Optimizer.cs (2)
1188var rewrittenArguments = VisitArguments(node.Arguments, node.Method.Parameters, node.ArgumentRefKindsOpt); 2281return node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, node.Method, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.IsDelegateCall, node.Expanded, node.InvokedAsExtensionMethod, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.OriginalMethodsOpt, type);
FlowAnalysis\AbstractFlowPass.cs (2)
1383VisitArgumentsBeforeCall(node.Arguments, node.ArgumentRefKindsOpt); 1390VisitArgumentsAfterCall(node.Arguments, node.ArgumentRefKindsOpt, node.Method);
FlowAnalysis\NullableWalker.cs (3)
6220var refKind = GetRefKind(node.ArgumentRefKindsOpt, 0); 6278ImmutableArray<RefKind> refKindsOpt = node.ArgumentRefKindsOpt; 10189deconstructMethod = InferMethodTypeArguments(deconstructMethod, placeholderArgs.ToImmutableAndFree(), invocation.ArgumentRefKindsOpt, invocation.ArgsToParamsOpt, invocation.Expanded);
Generated\BoundNodes.xml.Generated.cs (5)
6186if (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)) 11742return node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, node.Method, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.IsDelegateCall, node.Expanded, node.InvokedAsExtensionMethod, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.OriginalMethodsOpt, type); 13938updatedNode = node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, method, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.IsDelegateCall, node.Expanded, node.InvokedAsExtensionMethod, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.OriginalMethodsOpt, infoAndType.Type!); 13943updatedNode = node.Update(receiverOpt, node.InitialBindingReceiverIsSubjectToCloning, method, arguments, node.ArgumentNamesOpt, node.ArgumentRefKindsOpt, node.IsDelegateCall, node.Expanded, node.InvokedAsExtensionMethod, node.ArgsToParamsOpt, node.DefaultArguments, node.ResultKind, node.OriginalMethodsOpt, node.Type); 16390new TreeDumperNode("argumentRefKindsOpt", node.ArgumentRefKindsOpt, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1074var argRefKinds = node.ArgumentRefKindsOpt;
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
470VisitCall(node.Method, null, node.Arguments, node.ArgumentRefKindsOpt, node.ArgumentNamesOpt, node.DefaultArguments, node); 480VisitCall(node.Method, null, node.Arguments, node.ArgumentRefKindsOpt, node.ArgumentNamesOpt, node.DefaultArguments, node);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
544=> InstrumentCall(base.InstrumentCall(original, rewritten), original.Arguments, original.ArgumentRefKindsOpt);
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
157!node.ArgumentRefKindsOpt.IsDefault ||
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
386ImmutableArray<RefKind> argRefKindsOpt = node.ArgumentRefKindsOpt;
Lowering\MethodToClassRewriter.cs (1)
255node.ArgumentRefKindsOpt,
Lowering\SpillSequenceSpiller.cs (3)
442return call.Update(ImmutableArray.Create(Spill(builder, call.Arguments[0], call.ArgumentRefKindsOpt[0]))); 523return call.Update(ImmutableArray.Create(Spill(builder, call.Arguments[0], call.ArgumentRefKindsOpt[0]), 1019var arguments = this.VisitExpressionList(ref builder, node.Arguments, node.ArgumentRefKindsOpt);