3 instantiations of BoundAwaitableValuePlaceholder
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Await.cs (1)
31var placeholder = new BoundAwaitableValuePlaceholder(expression.Syntax, expression.Type);
Binder\UsingStatementBinder.cs (1)
158var placeholder = new BoundAwaitableValuePlaceholder(syntax, awaitableTypeOpt).MakeCompilerGenerated();
Generated\BoundNodes.xml.Generated.cs (1)
625var result = new BoundAwaitableValuePlaceholder(this.Syntax, type, this.HasErrors);
32 references to BoundAwaitableValuePlaceholder
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder_Await.cs (2)
31var placeholder = new BoundAwaitableValuePlaceholder(expression.Syntax, expression.Type); 51internal BoundAwaitableInfo BindAwaitInfo(BoundAwaitableValuePlaceholder placeholder, SyntaxNode node, BindingDiagnosticBag diagnostics, ref bool hasErrors, BoundExpression? expressionOpt = null)
Binder\ForEachLoopBinder.cs (2)
255var placeholder = new BoundAwaitableValuePlaceholder(expr, builder.MoveNextInfo?.Method.ReturnType ?? CreateErrorType()); 603var placeholder = new BoundAwaitableValuePlaceholder(expr, awaitableType);
Binder\UsingStatementBinder.cs (1)
158var placeholder = new BoundAwaitableValuePlaceholder(syntax, awaitableTypeOpt).MakeCompilerGenerated();
FlowAnalysis\AbstractFlowPass.cs (1)
3668public override BoundNode VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node)
FlowAnalysis\NullableWalker.cs (4)
11089if (awaitOpt is { AwaitableInstancePlaceholder: BoundAwaitableValuePlaceholder moveNextPlaceholder } awaitMoveNextInfo) 11102var disposalPlaceholder = awaitDisposalInfo.AwaitableInstancePlaceholder; 11486var placeholder = awaitableInfo.AwaitableInstancePlaceholder; 12130public override BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node)
Generated\BoundNodes.xml.Generated.cs (17)
621public BoundAwaitableValuePlaceholder Update(TypeSymbol? type) 625var result = new BoundAwaitableValuePlaceholder(this.Syntax, type, this.HasErrors); 2141public BoundAwaitableInfo(SyntaxNode syntax, BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder, bool isDynamic, BoundExpression? getAwaiter, PropertySymbol? isCompleted, MethodSymbol? getResult, bool hasErrors = false) 2151public BoundAwaitableValuePlaceholder? AwaitableInstancePlaceholder { get; } 2160public BoundAwaitableInfo Update(BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder, bool isDynamic, BoundExpression? getAwaiter, PropertySymbol? isCompleted, MethodSymbol? getResult) 8886return VisitAwaitableValuePlaceholder((BoundAwaitableValuePlaceholder)node, arg); 9349public virtual R VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node, A arg) => this.DefaultVisit(node, arg); 9585public virtual BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node) => this.DefaultVisit(node); 9841public override BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node) => null; 10877public override BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node) 11154BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder = (BoundAwaitableValuePlaceholder?)this.Visit(node.AwaitableInstancePlaceholder); 12347public override BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node) 12354BoundAwaitableValuePlaceholder updatedNode = node.Update(infoAndType.Type); 12992BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder = (BoundAwaitableValuePlaceholder?)this.Visit(node.AwaitableInstancePlaceholder); 15063public override TreeDumperNode VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node, object? arg) => new TreeDumperNode("awaitableValuePlaceholder", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
348var awaitablePlaceholder = node.AwaitableInfo.AwaitableInstancePlaceholder; 409public override BoundNode VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node)
Lowering\MethodToClassRewriter.cs (3)
457var awaitablePlaceholder = node.AwaitableInstancePlaceholder; 463var rewrittenPlaceholder = awaitablePlaceholder.Update(VisitType(awaitablePlaceholder.Type)); 475public override BoundNode VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node)