10 references to ArrayLength
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\EmitExpression.cs (1)
156case BoundKind.ArrayLength:
Generated\BoundNodes.xml.Generated.cs (2)
2070: base(BoundKind.ArrayLength, syntax, type, hasErrors || expression.HasErrors()) 8612case BoundKind.ArrayLength:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
189case BoundKind.ArrayLength:
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (4)
481if (loweredLeft.Kind == BoundKind.ArrayLength && loweredRight.IsDefaultValue()) 496if (loweredRight.Kind == BoundKind.ArrayLength && loweredLeft.IsDefaultValue()) 511if (loweredLeft.Kind == BoundKind.ArrayLength && loweredRight.IsDefaultValue()) 515else if (loweredRight.Kind == BoundKind.ArrayLength && loweredLeft.IsDefaultValue())
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (1)
305if (makeOffsetInput.ConstantValueOpt is null && lengthAccess.Kind is not BoundKind.ArrayLength)
Operations\CSharpOperationFactory.cs (1)
1576if (boundIndexerAccess.LengthOrCountAccess.Kind == BoundKind.ArrayLength)