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)
624var 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)
3664public override BoundNode VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node)
FlowAnalysis\NullableWalker.cs (4)
11031if (awaitOpt is { AwaitableInstancePlaceholder: BoundAwaitableValuePlaceholder moveNextPlaceholder } awaitMoveNextInfo) 11044var disposalPlaceholder = awaitDisposalInfo.AwaitableInstancePlaceholder; 11428var placeholder = awaitableInfo.AwaitableInstancePlaceholder; 12072public override BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node)
Generated\BoundNodes.xml.Generated.cs (17)
620public BoundAwaitableValuePlaceholder Update(TypeSymbol? type) 624var result = new BoundAwaitableValuePlaceholder(this.Syntax, type, this.HasErrors); 2140public BoundAwaitableInfo(SyntaxNode syntax, BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder, bool isDynamic, BoundExpression? getAwaiter, PropertySymbol? isCompleted, MethodSymbol? getResult, bool hasErrors = false) 2150public BoundAwaitableValuePlaceholder? AwaitableInstancePlaceholder { get; } 2159public BoundAwaitableInfo Update(BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder, bool isDynamic, BoundExpression? getAwaiter, PropertySymbol? isCompleted, MethodSymbol? getResult) 8849return VisitAwaitableValuePlaceholder((BoundAwaitableValuePlaceholder)node, arg); 9312public virtual R VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node, A arg) => this.DefaultVisit(node, arg); 9548public virtual BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node) => this.DefaultVisit(node); 9804public override BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node) => null; 10840public override BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node) 11117BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder = (BoundAwaitableValuePlaceholder?)this.Visit(node.AwaitableInstancePlaceholder); 12310public override BoundNode? VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node) 12317BoundAwaitableValuePlaceholder updatedNode = node.Update(infoAndType.Type); 12955BoundAwaitableValuePlaceholder? awaitableInstancePlaceholder = (BoundAwaitableValuePlaceholder?)this.Visit(node.AwaitableInstancePlaceholder); 15026public override TreeDumperNode VisitAwaitableValuePlaceholder(BoundAwaitableValuePlaceholder node, object? arg) => new TreeDumperNode("awaitableValuePlaceholder", null, new TreeDumperNode[]
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
339var awaitablePlaceholder = node.AwaitableInfo.AwaitableInstancePlaceholder; 395public 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)