1 write to ChildBoundNodes
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
998
this.
ChildBoundNodes
= childBoundNodes;
25 references to ChildBoundNodes
Microsoft.CodeAnalysis.CSharp (25)
Binder\Binder_Conversions.cs (1)
773
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);
5277
Debug.Assert(result is not BoundBadExpression {
ChildBoundNodes
: var children } || !children.Any((child, node) => child.Syntax == node, node));
7194
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)
1584
foreach (var child in node.
ChildBoundNodes
)
FlowAnalysis\DefiniteAssignment.cs (3)
1617
if (!bad.
ChildBoundNodes
.IsDefault && bad.
ChildBoundNodes
.Length == 1)
1619
AssignImpl(bad.
ChildBoundNodes
[0], value, isRef, written, read);
FlowAnalysis\NullableWalker.cs (1)
12211
foreach (var child in node.
ChildBoundNodes
)
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
174
foreach (var child in node.
ChildBoundNodes
)
Generated\BoundNodes.xml.Generated.cs (5)
1014
if (resultKind != this.ResultKind || symbols != this.Symbols || childBoundNodes != this.
ChildBoundNodes
|| !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
9971
this.VisitList(node.
ChildBoundNodes
);
11069
ImmutableArray<BoundExpression> childBoundNodes = this.VisitList(node.
ChildBoundNodes
);
12781
ImmutableArray<BoundExpression> childBoundNodes = this.VisitList(node.
ChildBoundNodes
);
15429
new TreeDumperNode("childBoundNodes", null, from x in node.
ChildBoundNodes
select Visit(x, null)),
Operations\CSharpOperationFactory.cs (7)
1298
return @this.CreateFromArray<BoundExpression, IOperation>(boundBad.
ChildBoundNodes
);
1458
bool isImplicit = boundBadExpression.WasCompilerGenerated || boundBadExpression.
ChildBoundNodes
.Any(static (e, boundBadExpression) => e?.Syntax == boundBadExpression.Syntax, boundBadExpression);
1459
var children = CreateFromArray<BoundExpression, IOperation>(boundBadExpression.
ChildBoundNodes
);
2363
Debug.Assert(bad.
ChildBoundNodes
.Length ==
2368
value = bad.
ChildBoundNodes
[0];
2375
alignment = currentPosition.HasAlignment ? bad.
ChildBoundNodes
[1] : null;
2376
format = currentPosition.HasFormat ? bad.
ChildBoundNodes
[^2] : null;