2 instantiations of BoundForEachDeconstructStep
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForEachLoopBinder.cs (1)
404deconstructStep = new BoundForEachDeconstructStep(variables, deconstruction, valuePlaceholder).MakeCompilerGenerated();
Generated\BoundNodes.xml.Generated.cs (1)
4106var result = new BoundForEachDeconstructStep(this.Syntax, deconstructionAssignment, targetPlaceholder, this.HasErrors);
22 references to BoundForEachDeconstructStep
Microsoft.CodeAnalysis.CSharp (22)
Binder\ForEachLoopBinder.cs (1)
276BoundForEachDeconstructStep deconstructStep = null;
Compilation\MemberSemanticModel.cs (1)
1062var boundDeconstruction = boundForEach.DeconstructionOpt;
Generated\BoundNodes.xml.Generated.cs (15)
4036public 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) 4065public BoundForEachDeconstructStep? DeconstructionOpt { get; } 4071public 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) 4102public BoundForEachDeconstructStep Update(BoundDeconstructionAssignmentOperator deconstructionAssignment, BoundDeconstructValuePlaceholder targetPlaceholder) 4106var result = new BoundForEachDeconstructStep(this.Syntax, deconstructionAssignment, targetPlaceholder, this.HasErrors); 9081return VisitForEachDeconstructStep((BoundForEachDeconstructStep)node, arg); 9447public virtual R VisitForEachDeconstructStep(BoundForEachDeconstructStep node, A arg) => this.DefaultVisit(node, arg); 9683public virtual BoundNode? VisitForEachDeconstructStep(BoundForEachDeconstructStep node) => this.DefaultVisit(node); 10225public override BoundNode? VisitForEachDeconstructStep(BoundForEachDeconstructStep node) 11507BoundForEachDeconstructStep? deconstructionOpt = (BoundForEachDeconstructStep?)this.Visit(node.DeconstructionOpt); 11511public override BoundNode? VisitForEachDeconstructStep(BoundForEachDeconstructStep node) 13612BoundForEachDeconstructStep? deconstructionOpt = (BoundForEachDeconstructStep?)this.Visit(node.DeconstructionOpt); 16063public override TreeDumperNode VisitForEachDeconstructStep(BoundForEachDeconstructStep node, object? arg) => new TreeDumperNode("forEachDeconstructStep", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (5)
147BoundForEachDeconstructStep? deconstruction, 595BoundForEachDeconstructStep? deconstructionOpt, 802BoundForEachDeconstructStep? deconstruction, 891BoundForEachDeconstructStep? deconstruction, 1040BoundForEachDeconstructStep? deconstruction,