1 write to ArgumentRefKindsOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6157this.ArgumentRefKindsOpt = argumentRefKindsOpt;
36 references to ArgumentRefKindsOpt
Microsoft.CodeAnalysis.CSharp (36)
Binder\Binder.ValueChecks.cs (8)
3434call.ArgumentRefKindsOpt, 3517call.ArgumentRefKindsOpt, 3752call.ArgumentRefKindsOpt, 3835call.ArgumentRefKindsOpt, 4142call.ArgumentRefKindsOpt, 4212call.ArgumentRefKindsOpt, 4854call.ArgumentRefKindsOpt, 4942call.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; 10186deconstructMethod = InferMethodTypeArguments(deconstructMethod, placeholderArgs.ToImmutableAndFree(), invocation.ArgumentRefKindsOpt, invocation.ArgsToParamsOpt, invocation.Expanded);
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)) 11743return 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); 13939updatedNode = 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!); 13944updatedNode = 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); 16391new 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);