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