2 instantiations of BoundCollectionBuilderElementsPlaceholder
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Conversions.cs (1)
1362
var collectionBuilderElementsPlaceholder = new
BoundCollectionBuilderElementsPlaceholder
(syntax, readonlySpanParameter.Type) { WasCompilerGenerated = true };
Generated\BoundNodes.xml.Generated.cs (1)
920
var result = new
BoundCollectionBuilderElementsPlaceholder
(this.Syntax, type, this.HasErrors);
25 references to BoundCollectionBuilderElementsPlaceholder
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Conversions.cs (3)
858
CollectionExpressionTypeKind collectionTypeKind, ImmutableArray<BoundNode> elements, BoundObjectOrCollectionValuePlaceholder? placeholder = null, BoundExpression? collectionCreation = null, MethodSymbol? collectionBuilderMethod = null,
BoundCollectionBuilderElementsPlaceholder
? collectionBuilderElementsPlaceholder = null)
1279
static (BoundExpression? collectionCreation, MethodSymbol? collectionBuilderMethod,
BoundCollectionBuilderElementsPlaceholder
? elementsPlaceholder) bindCollectionBuilderInfo(
1362
var
collectionBuilderElementsPlaceholder = new BoundCollectionBuilderElementsPlaceholder(syntax, readonlySpanParameter.Type) { WasCompilerGenerated = true };
BoundTree\BoundCollectionExpression.cs (2)
15
var
collectionBuilderElementsPlaceholder = this.CollectionBuilderElementsPlaceholder;
25
Debug.Assert(boundCall.Arguments is [..,
BoundCollectionBuilderElementsPlaceholder
placeholder] &&
FlowAnalysis\AbstractFlowPass.cs (1)
3711
public override BoundNode VisitCollectionBuilderElementsPlaceholder(
BoundCollectionBuilderElementsPlaceholder
node)
FlowAnalysis\NullableWalker.cs (2)
3948
var
collectionBuilderElementsPlaceholder = node.CollectionBuilderElementsPlaceholder;
11768
public override BoundNode? VisitCollectionBuilderElementsPlaceholder(
BoundCollectionBuilderElementsPlaceholder
node)
Generated\BoundNodes.xml.Generated.cs (15)
916
public
BoundCollectionBuilderElementsPlaceholder
Update(TypeSymbol? type)
920
var
result = new BoundCollectionBuilderElementsPlaceholder(this.Syntax, type, this.HasErrors);
6530
public BoundCollectionExpression(SyntaxNode syntax, CollectionExpressionTypeKind collectionTypeKind, BoundObjectOrCollectionValuePlaceholder? placeholder, BoundExpression? collectionCreation, MethodSymbol? collectionBuilderMethod,
BoundCollectionBuilderElementsPlaceholder
? collectionBuilderElementsPlaceholder, bool wasTargetTyped, bool hasWithElement, BoundUnconvertedCollectionExpression unconvertedCollectionExpression, ImmutableArray<BoundNode> elements, TypeSymbol type, bool hasErrors = false)
6557
public
BoundCollectionBuilderElementsPlaceholder
? CollectionBuilderElementsPlaceholder { get; }
6565
public BoundCollectionExpression Update(CollectionExpressionTypeKind collectionTypeKind, BoundObjectOrCollectionValuePlaceholder? placeholder, BoundExpression? collectionCreation, MethodSymbol? collectionBuilderMethod,
BoundCollectionBuilderElementsPlaceholder
? collectionBuilderElementsPlaceholder, bool wasTargetTyped, bool hasWithElement, BoundUnconvertedCollectionExpression unconvertedCollectionExpression, ImmutableArray<BoundNode> elements, TypeSymbol type)
9008
return VisitCollectionBuilderElementsPlaceholder((
BoundCollectionBuilderElementsPlaceholder
)node, arg);
9466
public virtual R VisitCollectionBuilderElementsPlaceholder(
BoundCollectionBuilderElementsPlaceholder
node, A arg) => this.DefaultVisit(node, arg);
9704
public virtual BoundNode? VisitCollectionBuilderElementsPlaceholder(
BoundCollectionBuilderElementsPlaceholder
node) => this.DefaultVisit(node);
9962
public override BoundNode? VisitCollectionBuilderElementsPlaceholder(
BoundCollectionBuilderElementsPlaceholder
node) => null;
11050
public override BoundNode? VisitCollectionBuilderElementsPlaceholder(
BoundCollectionBuilderElementsPlaceholder
node)
12069
BoundCollectionBuilderElementsPlaceholder
? collectionBuilderElementsPlaceholder = node.CollectionBuilderElementsPlaceholder;
12737
public override BoundNode? VisitCollectionBuilderElementsPlaceholder(
BoundCollectionBuilderElementsPlaceholder
node)
12744
BoundCollectionBuilderElementsPlaceholder
updatedNode = node.Update(infoAndType.Type);
14367
BoundCollectionBuilderElementsPlaceholder
? collectionBuilderElementsPlaceholder = node.CollectionBuilderElementsPlaceholder;
15402
public override TreeDumperNode VisitCollectionBuilderElementsPlaceholder(
BoundCollectionBuilderElementsPlaceholder
node, object? arg) => new TreeDumperNode("collectionBuilderElementsPlaceholder", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter.cs (1)
474
public override BoundNode? VisitCollectionBuilderElementsPlaceholder(
BoundCollectionBuilderElementsPlaceholder
node)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
604
var
elementsPlaceholder = node.CollectionBuilderElementsPlaceholder;