1 instantiation of BoundCollectionInitializerExpression
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6856
var result = new
BoundCollectionInitializerExpression
(this.Syntax, placeholder, initializers, type, this.HasErrors);
29 references to BoundCollectionInitializerExpression
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder.ValueChecks.cs (4)
4457
var
colExpr = (
BoundCollectionInitializerExpression
)expr;
5263
var
colExpr = (
BoundCollectionInitializerExpression
)expr;
Binder\Binder_Expressions.cs (1)
6183
private
BoundCollectionInitializerExpression
BindCollectionInitializerExpression(
BoundTree\Expression.cs (2)
20
var
collectionInitializerExpression = objectOrCollectionInitializer as
BoundCollectionInitializerExpression
;
Compilation\MemberSemanticModel.cs (2)
1271
var
boundCollectionInitializer = GetLowerBoundNode(collectionInitializer) as
BoundCollectionInitializerExpression
;
FlowAnalysis\AbstractFlowPass.cs (1)
3563
public override BoundNode VisitCollectionInitializerExpression(
BoundCollectionInitializerExpression
node)
FlowAnalysis\NullableWalker.cs (2)
4063
case
BoundCollectionInitializerExpression
collectionInitializer:
11719
public override BoundNode? VisitCollectionInitializerExpression(
BoundCollectionInitializerExpression
node)
Generated\BoundNodes.xml.Generated.cs (10)
6852
public
BoundCollectionInitializerExpression
Update(BoundObjectOrCollectionValuePlaceholder placeholder, ImmutableArray<BoundExpression> initializers, TypeSymbol type)
6856
var
result = new BoundCollectionInitializerExpression(this.Syntax, placeholder, initializers, type, this.HasErrors);
9190
return VisitCollectionInitializerExpression((
BoundCollectionInitializerExpression
)node, arg);
9483
public virtual R VisitCollectionInitializerExpression(
BoundCollectionInitializerExpression
node, A arg) => this.DefaultVisit(node, arg);
9719
public virtual BoundNode? VisitCollectionInitializerExpression(
BoundCollectionInitializerExpression
node) => this.DefaultVisit(node);
10537
public override BoundNode? VisitCollectionInitializerExpression(
BoundCollectionInitializerExpression
node)
11850
public override BoundNode? VisitCollectionInitializerExpression(
BoundCollectionInitializerExpression
node)
14201
public override BoundNode? VisitCollectionInitializerExpression(
BoundCollectionInitializerExpression
node)
14205
BoundCollectionInitializerExpression
updatedNode;
16585
public override TreeDumperNode VisitCollectionInitializerExpression(
BoundCollectionInitializerExpression
node, object? arg) => new TreeDumperNode("collectionInitializerExpression", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
998
var
ci = (
BoundCollectionInitializerExpression
)node;
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (3)
24
case
BoundCollectionInitializerExpression
collectionInitializer:
52
case
BoundCollectionInitializerExpression
collectionInitializer:
77
AddCollectionInitializers(result, null, ((
BoundCollectionInitializerExpression
)initializerExpression).Initializers);
Operations\CSharpOperationFactory.cs (2)
74
return CreateBoundCollectionInitializerExpressionOperation((
BoundCollectionInitializerExpression
)boundNode);
840
private IObjectOrCollectionInitializerOperation CreateBoundCollectionInitializerExpressionOperation(
BoundCollectionInitializerExpression
boundCollectionInitializerExpression)