2 instantiations of BoundCapturedReceiverPlaceholder
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder.ValueChecks.cs (1)
2324receiver = new BoundCapturedReceiverPlaceholder(receiver.Syntax, receiver, _localScopeDepth, receiver.Type).MakeCompilerGenerated();
Generated\BoundNodes.xml.Generated.cs (1)
519var result = new BoundCapturedReceiverPlaceholder(this.Syntax, receiver, localScopeDepth, type, this.HasErrors);
17 references to BoundCapturedReceiverPlaceholder
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (6)
2278if ((object)((argument as BoundCapturedReceiverPlaceholder)?.Receiver ?? argument) != receiver && symbol is not SignatureOnlyMethodSymbol) 3399return ((BoundCapturedReceiverPlaceholder)expr).LocalScopeDepth; 3721if (((BoundCapturedReceiverPlaceholder)expr).LocalScopeDepth <= escapeTo) 4114var placeholder = (BoundCapturedReceiverPlaceholder)expr; 4812BoundExpression underlyingReceiver = ((BoundCapturedReceiverPlaceholder)expr).Receiver;
Binder\RefSafetyAnalysis.cs (1)
241case BoundCapturedReceiverPlaceholder:
Generated\BoundNodes.xml.Generated.cs (10)
515public BoundCapturedReceiverPlaceholder Update(BoundExpression receiver, uint localScopeDepth, TypeSymbol? type) 519var result = new BoundCapturedReceiverPlaceholder(this.Syntax, receiver, localScopeDepth, type, this.HasErrors); 8843return VisitCapturedReceiverPlaceholder((BoundCapturedReceiverPlaceholder)node, arg); 9309public virtual R VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node, A arg) => this.DefaultVisit(node, arg); 9545public virtual BoundNode? VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node) => this.DefaultVisit(node); 9797public override BoundNode? VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node) 10824public override BoundNode? VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node) 12264public override BoundNode? VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node) 12267BoundCapturedReceiverPlaceholder updatedNode; 15001public override TreeDumperNode VisitCapturedReceiverPlaceholder(BoundCapturedReceiverPlaceholder node, object? arg) => new TreeDumperNode("capturedReceiverPlaceholder", null, new TreeDumperNode[]