1 write to ChildBoundNodes
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1001
this.
ChildBoundNodes
= childBoundNodes;
25 references to ChildBoundNodes
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Conversions.cs (1)
823
Debug.Assert(expr is not BoundBadExpression {
ChildBoundNodes
: var children } || !children.Any((child, node) => child.Syntax == node.Syntax, node));
Binder\Binder_Expressions.cs (3)
234
return badExpression.Update(resultKind, badExpression.Symbols, badExpression.
ChildBoundNodes
, resultType);
5279
Debug.Assert(result is not BoundBadExpression {
ChildBoundNodes
: var children } || !children.Any((child, node) => child.Syntax == node, node));
7198
return bad.Update(bad.ResultKind, bad.Symbols, bad.
ChildBoundNodes
, interfaceType);
BoundTree\BoundBadExpression.cs (1)
14
Debug.Assert(!this.
ChildBoundNodes
.Any(c => Binder.IsTypeOrValueExpression(c) || Binder.IsMethodGroupWithTypeOrValueReceiver(c)));
BoundTree\Expression.cs (2)
49
protected override ImmutableArray<BoundNode?> Children => StaticCast<BoundNode?>.From(this.
ChildBoundNodes
);
51
ImmutableArray<BoundNode> IBoundInvalidNode.InvalidNodeChildren => StaticCast<BoundNode>.From(this.
ChildBoundNodes
);
FlowAnalysis\AbstractFlowPass.cs (1)
1633
foreach (var child in node.
ChildBoundNodes
)
FlowAnalysis\DefiniteAssignment.cs (3)
1618
if (!bad.
ChildBoundNodes
.IsDefault && bad.
ChildBoundNodes
.Length == 1)
1620
AssignImpl(bad.
ChildBoundNodes
[0], value, isRef, written, read);
FlowAnalysis\NullableWalker.cs (1)
12627
foreach (var child in node.
ChildBoundNodes
)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
174
foreach (var child in node.
ChildBoundNodes
)
Generated\BoundNodes.xml.Generated.cs (5)
1017
if (resultKind != this.ResultKind || symbols != this.Symbols || childBoundNodes != this.
ChildBoundNodes
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10107
this.VisitList(node.
ChildBoundNodes
);
11222
ImmutableArray<BoundExpression> childBoundNodes = this.VisitList(node.
ChildBoundNodes
);
12955
ImmutableArray<BoundExpression> childBoundNodes = this.VisitList(node.
ChildBoundNodes
);
15631
new TreeDumperNode("childBoundNodes", null, from x in node.
ChildBoundNodes
select Visit(x, null)),
Operations\CSharpOperationFactory.cs (7)
1323
return @this.CreateFromArray<BoundExpression, IOperation>(boundBad.
ChildBoundNodes
);
1483
bool isImplicit = boundBadExpression.WasCompilerGenerated || boundBadExpression.
ChildBoundNodes
.Any(static (e, boundBadExpression) => e?.Syntax == boundBadExpression.Syntax, boundBadExpression);
1484
var children = CreateFromArray<BoundExpression, IOperation>(boundBadExpression.
ChildBoundNodes
);
2388
Debug.Assert(bad.
ChildBoundNodes
.Length ==
2393
value = bad.
ChildBoundNodes
[0];
2400
alignment = currentPosition.HasAlignment ? bad.
ChildBoundNodes
[1] : null;
2401
format = currentPosition.HasFormat ? bad.
ChildBoundNodes
[^2] : null;