17 references to ReceiverCaptureMode
Microsoft.CodeAnalysis.CSharp (17)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
298
captureReceiverMode:
ReceiverCaptureMode
.Default,
Lowering\LocalRewriter\LocalRewriter_Call.cs (6)
401
captureReceiverMode:
ReceiverCaptureMode
.Default,
655
ReceiverCaptureMode
captureReceiverMode,
667
Debug.Assert(captureReceiverMode ==
ReceiverCaptureMode
.Default || (requiresInstanceReceiver && rewrittenReceiver != null && storesOpt is object));
672
if (captureReceiverMode !=
ReceiverCaptureMode
.Default ||
681
if (captureReceiverMode !=
ReceiverCaptureMode
.Default)
788
(captureReceiverMode ==
ReceiverCaptureMode
.UseTwiceComplex ||
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
300
ReceiverCaptureMode
.CompoundAssignment :
301
ReceiverCaptureMode
.UseTwiceComplex) :
302
ReceiverCaptureMode
.Default,
Lowering\LocalRewriter\LocalRewriter_FunctionPointerInvocation.cs (1)
28
captureReceiverMode:
ReceiverCaptureMode
.Default,
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (2)
162
captureReceiverMode:
ReceiverCaptureMode
.Default,
578
captureReceiverMode:
ReceiverCaptureMode
.Default,
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
47
captureReceiverMode:
ReceiverCaptureMode
.Default,
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (2)
178
captureReceiverMode:
ReceiverCaptureMode
.Default,
221
var rewrittenArguments = VisitArgumentsAndCaptureReceiverIfNeeded(ref rewrittenReceiver, captureReceiverMode:
ReceiverCaptureMode
.Default, node.Arguments, node.MemberSymbol, node.ArgsToParamsOpt, node.ArgumentRefKindsOpt,
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
516
captureReceiverMode:
ReceiverCaptureMode
.Default,