2 instantiations of BoundForEachDeconstructStep
Microsoft.CodeAnalysis.CSharp (2)
Binder\ForEachLoopBinder.cs (1)
372
deconstructStep = new
BoundForEachDeconstructStep
(variables, deconstruction, valuePlaceholder).MakeCompilerGenerated();
Generated\BoundNodes.xml.Generated.cs (1)
3997
var result = new
BoundForEachDeconstructStep
(this.Syntax, deconstructionAssignment, targetPlaceholder, this.HasErrors);
18 references to BoundForEachDeconstructStep
Microsoft.CodeAnalysis.CSharp (18)
Binder\ForEachLoopBinder.cs (1)
253
BoundForEachDeconstructStep
deconstructStep = null;
Compilation\MemberSemanticModel.cs (1)
1014
var
boundDeconstruction = boundForEach.DeconstructionOpt;
Generated\BoundNodes.xml.Generated.cs (15)
3925
public BoundForEachStatement(SyntaxNode syntax, ForEachEnumeratorInfo? enumeratorInfoOpt, BoundValuePlaceholder? elementPlaceholder, BoundExpression? elementConversion, BoundTypeExpression iterationVariableType, ImmutableArray<LocalSymbol> iterationVariables, BoundExpression? iterationErrorExpressionOpt, BoundExpression expression,
BoundForEachDeconstructStep
? deconstructionOpt, BoundAwaitableInfo? awaitOpt, BoundStatement body, GeneratedLabelSymbol breakLabel, GeneratedLabelSymbol continueLabel, bool hasErrors = false)
3955
public
BoundForEachDeconstructStep
? DeconstructionOpt { get; }
3962
public BoundForEachStatement Update(ForEachEnumeratorInfo? enumeratorInfoOpt, BoundValuePlaceholder? elementPlaceholder, BoundExpression? elementConversion, BoundTypeExpression iterationVariableType, ImmutableArray<LocalSymbol> iterationVariables, BoundExpression? iterationErrorExpressionOpt, BoundExpression expression,
BoundForEachDeconstructStep
? deconstructionOpt, BoundAwaitableInfo? awaitOpt, BoundStatement body, GeneratedLabelSymbol breakLabel, GeneratedLabelSymbol continueLabel)
3993
public
BoundForEachDeconstructStep
Update(BoundDeconstructionAssignmentOperator deconstructionAssignment, BoundDeconstructValuePlaceholder targetPlaceholder)
3997
var
result = new BoundForEachDeconstructStep(this.Syntax, deconstructionAssignment, targetPlaceholder, this.HasErrors);
8719
return VisitForEachDeconstructStep((
BoundForEachDeconstructStep
)node, arg);
9072
public virtual R VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node, A arg) => this.DefaultVisit(node, arg);
9300
public virtual BoundNode? VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node) => this.DefaultVisit(node);
9829
public override BoundNode? VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node)
10999
BoundForEachDeconstructStep
? deconstructionOpt = (
BoundForEachDeconstructStep
?)this.Visit(node.DeconstructionOpt);
11004
public override BoundNode? VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node)
12970
BoundForEachDeconstructStep
? deconstructionOpt = (
BoundForEachDeconstructStep
?)this.Visit(node.DeconstructionOpt);
15327
public override TreeDumperNode VisitForEachDeconstructStep(
BoundForEachDeconstructStep
node, object? arg) => new TreeDumperNode("forEachDeconstructStep", null, new TreeDumperNode[]
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
639
BoundForEachDeconstructStep
? deconstruction = forEachBound.DeconstructionOpt;