2 instantiations of BoundForEachDeconstructStep
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForEachLoopBinder.cs (1)
404
deconstructStep = new
BoundForEachDeconstructStep
(variables, deconstruction, valuePlaceholder).MakeCompilerGenerated();
Generated\BoundNodes.xml.Generated.cs (1)
4163
var result = new
BoundForEachDeconstructStep
(this.Syntax, deconstructionAssignment, targetPlaceholder, this.HasErrors);
22 references to BoundForEachDeconstructStep
Microsoft.CodeAnalysis.CSharp (22)
Binder\ForEachLoopBinder.cs (1)
276
BoundForEachDeconstructStep
deconstructStep = null;
Compilation\MemberSemanticModel.cs (1)
1062
var
boundDeconstruction = boundForEach.DeconstructionOpt;
Generated\BoundNodes.xml.Generated.cs (15)
4093
public BoundForEachStatement(SyntaxNode syntax, ForEachEnumeratorInfo? enumeratorInfoOpt, BoundValuePlaceholder? elementPlaceholder, BoundExpression? elementConversion, BoundTypeExpression iterationVariableType, ImmutableArray<LocalSymbol> iterationVariables, BoundExpression? iterationErrorExpressionOpt, BoundExpression expression,
BoundForEachDeconstructStep
? deconstructionOpt, BoundStatement body, LabelSymbol breakLabel, LabelSymbol continueLabel, bool hasErrors = false)
4122
public
BoundForEachDeconstructStep
? DeconstructionOpt { get; }
4128
public BoundForEachStatement Update(ForEachEnumeratorInfo? enumeratorInfoOpt, BoundValuePlaceholder? elementPlaceholder, BoundExpression? elementConversion, BoundTypeExpression iterationVariableType, ImmutableArray<LocalSymbol> iterationVariables, BoundExpression? iterationErrorExpressionOpt, BoundExpression expression,
BoundForEachDeconstructStep
? deconstructionOpt, BoundStatement body, LabelSymbol breakLabel, LabelSymbol continueLabel)
4159
public
BoundForEachDeconstructStep
Update(BoundDeconstructionAssignmentOperator deconstructionAssignment, BoundDeconstructValuePlaceholder targetPlaceholder)
4163
var
result = new BoundForEachDeconstructStep(this.Syntax, deconstructionAssignment, targetPlaceholder, this.HasErrors);
9186
return VisitForEachDeconstructStep((
BoundForEachDeconstructStep
)node, arg);
9555
public virtual R VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node, A arg) => this.DefaultVisit(node, arg);
9793
public virtual BoundNode? VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node) => this.DefaultVisit(node);
10337
public override BoundNode? VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node)
11632
BoundForEachDeconstructStep
? deconstructionOpt = (
BoundForEachDeconstructStep
?)this.Visit(node.DeconstructionOpt);
11636
public override BoundNode? VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node)
13759
BoundForEachDeconstructStep
? deconstructionOpt = (
BoundForEachDeconstructStep
?)this.Visit(node.DeconstructionOpt);
16209
public override TreeDumperNode VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node, object? arg) => new TreeDumperNode("forEachDeconstructStep", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (5)
147
BoundForEachDeconstructStep
? deconstruction,
595
BoundForEachDeconstructStep
? deconstructionOpt,
802
BoundForEachDeconstructStep
? deconstruction,
891
BoundForEachDeconstructStep
? deconstruction,
1040
BoundForEachDeconstructStep
? deconstruction,