2 instantiations of BoundCollectionElementInitializer
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
6551
return new
BoundCollectionElementInitializer
(
Generated\BoundNodes.xml.Generated.cs (1)
6910
var result = new
BoundCollectionElementInitializer
(this.Syntax, addMethod, arguments, implicitReceiverOpt, expanded, argsToParamsOpt, defaultArguments, invokedAsExtensionMethod, resultKind, type, this.HasErrors);
36 references to BoundCollectionElementInitializer
Microsoft.CodeAnalysis.CSharp (36)
Binder\Binder.ValueChecks.cs (3)
332
public static MethodInvocationInfo FromCollectionElementInitializer(
BoundCollectionElementInitializer
colElement)
4835
result = result.Intersect(expr is
BoundCollectionElementInitializer
colElement
5783
if (expr is
BoundCollectionElementInitializer
colElement)
Binder\Binder_Conversions.cs (2)
1634
case
BoundCollectionElementInitializer
collectionInitializer:
1664
static BoundExpression getCollectionInitializerElement(
BoundCollectionElementInitializer
collectionInitializer)
FlowAnalysis\AbstractFlowPass.cs (1)
3640
public override BoundNode VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node)
FlowAnalysis\NullableWalker.cs (8)
3906
case
BoundCollectionElementInitializer
initializer:
4304
completion += VisitCollectionElementInitializer((
BoundCollectionElementInitializer
)initializer, containingType, delayCompletionForType);
4568
private new void VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node)
4574
private Action<int, TypeSymbol>? VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node, TypeSymbol containingType, bool delayCompletionForType)
4608
BoundCollectionElementInitializer
node,
4635
BoundCollectionElementInitializer
node,
4649
static MethodSymbol addMethodAsMemberOfContainingType(
BoundCollectionElementInitializer
node, TypeSymbol containingType, ref ImmutableArray<VisitResult> argumentResults)
7197
if (node is
BoundCollectionElementInitializer
Generated\BoundNodes.xml.Generated.cs (10)
6906
public
BoundCollectionElementInitializer
Update(MethodSymbol addMethod, ImmutableArray<BoundExpression> arguments, BoundExpression? implicitReceiverOpt, bool expanded, ImmutableArray<int> argsToParamsOpt, BitVector defaultArguments, bool invokedAsExtensionMethod, LookupResultKind resultKind, TypeSymbol type)
6910
var
result = new BoundCollectionElementInitializer(this.Syntax, addMethod, arguments, implicitReceiverOpt, expanded, argsToParamsOpt, defaultArguments, invokedAsExtensionMethod, resultKind, type, this.HasErrors);
9237
return VisitCollectionElementInitializer((
BoundCollectionElementInitializer
)node, arg);
9529
public virtual R VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node, A arg) => this.DefaultVisit(node, arg);
9765
public virtual BoundNode? VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node) => this.DefaultVisit(node);
10589
public override BoundNode? VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node)
12023
public override BoundNode? VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node)
14400
public override BoundNode? VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node)
14405
BoundCollectionElementInitializer
updatedNode;
16768
public override TreeDumperNode VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node, object? arg) => new TreeDumperNode("collectionElementInitializer", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
1007
foreach (
BoundCollectionElementInitializer
i in ci.Initializers)
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
546
public override BoundNode VisitCollectionElementInitializer(
BoundCollectionElementInitializer
node)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
110
if (expr is
BoundCollectionElementInitializer
collectionInitializer)
443
BoundCollectionElementInitializer
collectionInitializer => MakeCollectionInitializer(collectionInitializer),
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (4)
96
var
elementInitializer = (
BoundCollectionElementInitializer
)initializer;
139
rewrittenInitializer = MakeCollectionInitializer((
BoundCollectionElementInitializer
)initializer);
179
private BoundExpression? MakeCollectionInitializer(
BoundCollectionElementInitializer
initializer)
Operations\CSharpOperationFactory.cs (2)
78
return CreateBoundCollectionElementInitializerOperation((
BoundCollectionElementInitializer
)boundNode);
923
private IOperation CreateBoundCollectionElementInitializerOperation(
BoundCollectionElementInitializer
boundCollectionElementInitializer)
Operations\CSharpOperationFactory_Methods.cs (2)
243
var
boundCollectionElementInitializer = (
BoundCollectionElementInitializer
)containingExpression;