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