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