10 references to ArrayLength
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\EmitExpression.cs (1)
161case BoundKind.ArrayLength:
Generated\BoundNodes.xml.Generated.cs (2)
2112: base(BoundKind.ArrayLength, syntax, type, hasErrors || expression.HasErrors()) 8967case BoundKind.ArrayLength:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
187case BoundKind.ArrayLength:
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
489if (loweredLeft.Kind == BoundKind.ArrayLength && loweredRight.IsDefaultValue()) 504if (loweredRight.Kind == BoundKind.ArrayLength && loweredLeft.IsDefaultValue()) 519if (loweredLeft.Kind == BoundKind.ArrayLength && loweredRight.IsDefaultValue()) 523else 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)