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