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