10 references to ArrayLength
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\EmitExpression.cs (1)
161case BoundKind.ArrayLength:
Generated\BoundNodes.xml.Generated.cs (2)
2111: base(BoundKind.ArrayLength, syntax, type, hasErrors || expression.HasErrors()) 8932case BoundKind.ArrayLength:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
187case BoundKind.ArrayLength:
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
483if (loweredLeft.Kind == BoundKind.ArrayLength && loweredRight.IsDefaultValue()) 498if (loweredRight.Kind == BoundKind.ArrayLength && loweredLeft.IsDefaultValue()) 513if (loweredLeft.Kind == BoundKind.ArrayLength && loweredRight.IsDefaultValue()) 517else if (loweredRight.Kind == BoundKind.ArrayLength && loweredLeft.IsDefaultValue())
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (1)
539if (makeOffsetInput.ConstantValueOpt is null && lengthAccess.Kind is not BoundKind.ArrayLength)
Operations\CSharpOperationFactory.cs (1)
1643if (boundIndexerAccess.LengthOrCountAccess.Kind == BoundKind.ArrayLength)