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