5 instantiations of BoundArrayLength
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (1)
9378lengthOrCountAccess: new BoundArrayLength(node, receiverPlaceholder, int32) { WasCompilerGenerated = true },
Generated\BoundNodes.xml.Generated.cs (1)
2130var result = new BoundArrayLength(this.Syntax, expression, type, this.HasErrors);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
956BoundExpression arrayLength = new BoundArrayLength(
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.cs (1)
47return new BoundArrayLength(syntax, rewrittenReceiverOpt, type);
Lowering\SyntheticBoundNodeFactory.cs (1)
1161return new BoundArrayLength(Syntax, array, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32));
23 references to BoundArrayLength
Microsoft.CodeAnalysis.CSharp (23)
BoundTree\BoundImplicitIndexerAccess.cs (1)
20Debug.Assert(LengthOrCountAccess is BoundPropertyAccess or BoundArrayLength or BoundLocal or BoundBadExpression);
CodeGen\EmitExpression.cs (2)
162EmitArrayLength((BoundArrayLength)expression, used); 2338private void EmitArrayLength(BoundArrayLength expression, bool used)
FlowAnalysis\AbstractFlowPass.cs (1)
3534public override BoundNode VisitArrayLength(BoundArrayLength node)
Generated\BoundNodes.xml.Generated.cs (10)
2126public BoundArrayLength Update(BoundExpression expression, TypeSymbol type) 2130var result = new BoundArrayLength(this.Syntax, expression, type, this.HasErrors); 8933return VisitArrayLength((BoundArrayLength)node, arg); 9354public virtual R VisitArrayLength(BoundArrayLength node, A arg) => this.DefaultVisit(node, arg); 9590public virtual BoundNode? VisitArrayLength(BoundArrayLength node) => this.DefaultVisit(node); 9979public override BoundNode? VisitArrayLength(BoundArrayLength node) 11109public override BoundNode? VisitArrayLength(BoundArrayLength node) 12934public override BoundNode? VisitArrayLength(BoundArrayLength node) 12937BoundArrayLength updatedNode; 15430public override TreeDumperNode VisitArrayLength(BoundArrayLength node, object? arg) => new TreeDumperNode("arrayLength", null, new TreeDumperNode[]
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
188return VisitArrayLength((BoundArrayLength)node); 360private BoundExpression VisitArrayLength(BoundArrayLength node)
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (5)
492loweredLeft = UnconvertArrayLength((BoundArrayLength)loweredLeft); 507loweredRight = UnconvertArrayLength((BoundArrayLength)loweredRight); 515loweredLeft = UnconvertArrayLength((BoundArrayLength)loweredLeft); 519loweredRight = UnconvertArrayLength((BoundArrayLength)loweredRight); 590private BoundExpression UnconvertArrayLength(BoundArrayLength arrLength)
Lowering\SpillSequenceSpiller.cs (1)
841public override BoundNode VisitArrayLength(BoundArrayLength node)
Lowering\SyntheticBoundNodeFactory.cs (1)
1158public BoundArrayLength ArrayLength(BoundExpression array)