1 write to IteratorBody
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6637
this.
IteratorBody
= iteratorBody;
17 references to IteratorBody
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (2)
4843
if (spreadElement.
IteratorBody
is BoundExpressionStatement { Expression: BoundCollectionElementInitializer spreadElementInitializer })
4850
|| spreadElement.
IteratorBody
is null
Binder\RefSafetyAnalysis.cs (2)
1423
if (spreadElement.
IteratorBody
is BoundExpressionStatement { Expression: BoundCollectionElementInitializer spreadElementInitializer })
1436
|| spreadElement.
IteratorBody
is null
FlowAnalysis\NullableWalker.cs (2)
4193
spread.
IteratorBody
is { })
4196
var iteratorBody = ((BoundExpressionStatement)spread.
IteratorBody
).Expression;
Generated\BoundNodes.xml.Generated.cs (3)
6653
if (expression != this.Expression || expressionPlaceholder != this.ExpressionPlaceholder || conversion != this.Conversion || enumeratorInfoOpt != this.EnumeratorInfoOpt || lengthOrCount != this.LengthOrCount || elementPlaceholder != this.ElementPlaceholder || iteratorBody != this.
IteratorBody
)
12241
BoundStatement? iteratorBody = node.
IteratorBody
;
17046
new TreeDumperNode("iteratorBody", null, new TreeDumperNode[] { Visit(node.
IteratorBody
, null) }),
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (7)
123
Debug.Assert(spreadElement.
IteratorBody
is { });
124
expr = ((BoundExpressionStatement)spreadElement.
IteratorBody
).Expression;
141
Debug.Assert(spreadElement.
IteratorBody
is { });
142
var iteratorBody = Binder.GetUnderlyingCollectionExpressionElement(node, ((BoundExpressionStatement)spreadElement.
IteratorBody
).Expression, throwOnErrors: true);
826
&& spreadElement.
IteratorBody
is BoundExpressionStatement expressionStatement)
1143
if (spreadElement.
IteratorBody
is not BoundExpressionStatement expressionStatement || expressionStatement.Expression is BoundConversion { ConversionKind: not ConversionKind.Identity })
1568
var iteratorBody = node.
IteratorBody
;
Operations\CSharpOperationFactory.cs (1)
1361
var iteratorItem = element.
IteratorBody
is { } iteratorBody ?