2 instantiations of BoundCapturedReceiverPlaceholder
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
2301receiver = new BoundCapturedReceiverPlaceholder(receiver.Syntax, receiver, _localScopeDepth, receiver.Type).MakeCompilerGenerated();
Generated\BoundNodes.xml.Generated.cs (1)
520var result = new BoundCapturedReceiverPlaceholder(this.Syntax, receiver, localScopeDepth, type, this.HasErrors);
17 references to BoundCapturedReceiverPlaceholder
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (6)
2255if ((object)((argument as BoundCapturedReceiverPlaceholder)?.Receiver ?? argument) != receiver && symbol is not SignatureOnlyMethodSymbol) 3376return ((BoundCapturedReceiverPlaceholder)expr).LocalScopeDepth; 3698if (((BoundCapturedReceiverPlaceholder)expr).LocalScopeDepth.IsConvertibleTo(escapeTo)) 4091var placeholder = (BoundCapturedReceiverPlaceholder)expr; 4788BoundExpression underlyingReceiver = ((BoundCapturedReceiverPlaceholder)expr).Receiver;
Binder\RefSafetyAnalysis.cs (1)
241case BoundCapturedReceiverPlaceholder:
Generated\BoundNodes.xml.Generated.cs (10)
516public BoundCapturedReceiverPlaceholder Update(BoundExpression receiver, SafeContext localScopeDepth, TypeSymbol? type) 520var result = new BoundCapturedReceiverPlaceholder(this.Syntax, receiver, localScopeDepth, type, this.HasErrors); 8844return VisitCapturedReceiverPlaceholder((BoundCapturedReceiverPlaceholder)node, arg); 9310public virtual R VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node, A arg) => this.DefaultVisit(node, arg); 9546public virtual BoundNode? VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node) => this.DefaultVisit(node); 9798public override BoundNode? VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node) 10825public override BoundNode? VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node) 12265public override BoundNode? VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node) 12268BoundCapturedReceiverPlaceholder updatedNode; 15002public override TreeDumperNode VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node, object? arg) => new TreeDumperNode("capturedReceiverPlaceholder", null, new TreeDumperNode[]